Help implementing a custom card (non lethal DamageDoneOnce)
Hello,
I'm new to the forum, I hope I'm posting in the right section. I'm looking for some help for implementing a custom card I've made (please see attachments) :
The enchantment reads : "Whenever a creature you control is dealt non lethal damage, create a 1/1 green Dryad creature token."
I have no trouble creating the token when a creature is dealt damage but I don't find any solution implementing the "non lethal" part... Mode$ DamageDoneOnce seems to be hardcoded, so impossible to tweak it. Is there a workaround to make it work only when the creature survives the damage ?
Here is my code so far :
blessing_of_valor.txt :
g_1_1_dryad.txt :
________________________________________________________________________________________________________________________________________________________
I'm new to the forum, I hope I'm posting in the right section. I'm looking for some help for implementing a custom card I've made (please see attachments) :
The enchantment reads : "Whenever a creature you control is dealt non lethal damage, create a 1/1 green Dryad creature token."
I have no trouble creating the token when a creature is dealt damage but I don't find any solution implementing the "non lethal" part... Mode$ DamageDoneOnce seems to be hardcoded, so impossible to tweak it. Is there a workaround to make it work only when the creature survives the damage ?
Here is my code so far :
blessing_of_valor.txt :
- | Open
g_1_1_dryad.txt :
- | Open
- | Open
________________________________________________________________________________________________________________________________________________________