Moved "reset damage on creatures at cleanup phase" outside of the engine and made it an ability. This is mostly because I need this for the mod I'm working on, but I hope it can be used by others

This commit is contained in:
wagic.the.homebrew
2011-05-02 14:02:12 +00:00
parent 53f45a8b8e
commit b7cc42ed67
6 changed files with 54 additions and 4 deletions

View File

@@ -865,6 +865,15 @@ public:
};
class AAResetDamage: public ActivatedAbility
{
public:
AAResetDamage(int id, MTGCardInstance * source, MTGCardInstance * target, ManaCost * cost = NULL);
int resolve();
const char* getMenuText();
AAResetDamage * clone() const;
};
class AAFizzler: public ActivatedAbility
{