- Joined
- Aug 11, 2009
- Messages
- 605
Just a quick question which setup of GUI triggers would be more efficient, or maybe it doesnt matter.
If I have, say 100 different Heroes and they each have spells that proc on normal attacks. Which of these two setups would be better to use?
First one would require one for each hero. Maybe this setup is best if the triggers are turned off if no one is playing the specific hero?

Thanks in advance!
If I have, say 100 different Heroes and they each have spells that proc on normal attacks. Which of these two setups would be better to use?
First one would require one for each hero. Maybe this setup is best if the triggers are turned off if no one is playing the specific hero?
-
Passives 1
-
Events
-
Game - DamageEvent becomes Equal to 1.00
-
-
Conditions
-
(Unit-type of DamageEventSource) Equal to Aspirant (Tsunade)
-
IsDamageAttack Equal to True
-
-
Actions
-
-
Passives 2
-
Events
-
Game - DamageEvent becomes Equal to 1.00
-
-
Conditions
-
(DamageEventSource is A Hero) Equal to True
-
IsDamageAttack Equal to True
-
-
Actions
-
For each (Integer A) from 1 to 100, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of DamageEventSource) Equal to Hero_Type[(Integer A)]
-
-
Then - Actions
-
Trigger - Run (This trigger) (checking conditions)
-
Skip remaining actions
-
-
Else - Actions
-
-
-
-
-
Thanks in advance!