Is there a way to set/check abilities into "Classes" like you can with items (Powerup, Charged etc).
Certain spells will be classified as Curses, Blessings, Heals, and Nukes and will do different things based on the buffs on their targets.
I would like to classify the abilities in my map somehow and I don't like making a million arrays at initialization, so I can run triggers like this:
E
A unit begins the effect of an ability
C
Ability being cast is a Curse
Target unit has buff "Curses own me"
A
Cause triggering unit to damage targeted unit 8493758345 attack type hero damage type magic
Certain spells will be classified as Curses, Blessings, Heals, and Nukes and will do different things based on the buffs on their targets.
I would like to classify the abilities in my map somehow and I don't like making a million arrays at initialization, so I can run triggers like this:
E
A unit begins the effect of an ability
C
Ability being cast is a Curse
Target unit has buff "Curses own me"
A
Cause triggering unit to damage targeted unit 8493758345 attack type hero damage type magic