Ok, so I tried what Daxtreme suggested for the trigger, and it works marginably... the first few times. Maybe I should clarify exactly what I am trying to do so that this problem can be better addressed: I have a spell, Planar Disruptance, that can be activated, but drains mana per second until deactivated (based off of immolation). When the unit activates Planar Disruptance, I use a dummy spellbook to add 2 dummy auras to the hero (1 for frendlies and 1 for hostiles; the spell does different things to frendlies and hostiles), using this trigger:
To get rid of the dummy spellbook abilities when the spell is deactivated, I use this trigger:
The first time I tell the hero to activate Planar Disruptance, the dummy abilities are added and the auras work perfectly; when I turn off Planar Disruptance the first time, the dummy abilites go away. On the second or third test, however, only
one of the dummy auras gets added, but the graphic for the one
not added still shows up (I'm using brilliance and devotion aura graphics for dummy abilities A and B for testing purposes) and the units that it supposed to give the aura buff to don't gain it. This malfunction happens at random, but the hero cannot usually go more than 3 activations/deactivations without it happening. Aside from that, there is roughly a 2 second delay when Planar Disruptance is stopped; the dummy auras go away, but the units still have the buff for a few seconds! This is not something I want because I will be using triggers to detect spell casts of units with either of the 2 dummy aura buffs...
What am I doing wrong?
