Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. if ("ArcaneCorruption" in traits):
  2. dmg = 0
  3. attachments = getAttachments(card)
  4. #enchant = attachments[1]
  5. #enchantName = enchant.Name
  6. #enchantController = enchant.controller
  7. notify("List is {}".format(attachments))
  8. #notify("Object is {}".format(enchant))
  9. #notify("Name is {}".format(enchantName))
  10. #notify("Controller is {}".format(enchantController))
  11. for c in attachments:
  12. if c.controller == card.controller and c.Type == "Enchantment":
  13. dmg += 1
  14. card.markers[Damage] += dmg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement