- Joined
- Jul 28, 2013
- Messages
- 768
Hello guys,
I'm making a spell that goes like this:
Illidan has the regular 'immolation' spell. When 'immolation' is activated, illidan will gain a new passive spell called 'Fire' and it'll have the same level of 'immolation'. When 'immolation' is deactivated, illidan will no longer have the passive spell called 'Fire'.
I can't find an event that marks the activation and deactivation of the spell 'immolation' that's why i created a trigger that checks every 0.01 seconds of game time if Illidan has an immolation buff or not.
What do you think of this trigger?
Is there a better solution? If yes please post it.
Thank you all.

I'm making a spell that goes like this:
Illidan has the regular 'immolation' spell. When 'immolation' is activated, illidan will gain a new passive spell called 'Fire' and it'll have the same level of 'immolation'. When 'immolation' is deactivated, illidan will no longer have the passive spell called 'Fire'.
I can't find an event that marks the activation and deactivation of the spell 'immolation' that's why i created a trigger that checks every 0.01 seconds of game time if Illidan has an immolation buff or not.
-
Immo
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Illidan (Evil) 0379 <gen> has buff Immolation) Equal to True
-
-
Then - Actions
-
Unit - Add Fire to Illidan (Evil) 0379 <gen>
-
Unit - Set level of Fire for Illidan (Evil) 0379 <gen> to (Level of Immolation for Illidan (Evil) 0379 <gen>)
-
-
Else - Actions
-
Unit - Remove Fire from Illidan (Evil) 0379 <gen>
-
-
-
-
What do you think of this trigger?
Is there a better solution? If yes please post it.
Thank you all.