- Joined
- Apr 5, 2009
- Messages
- 18
w00t! Break through for GUI n00b like me, possibly old news for pros like you >_>
Anyway, enjoy!
- Tested and works ofc
- You must make a black icon for the "miss (100%)" ability, otherwise setting it to "no icon" will result in a green icon popping up every now and then.
Anyway, enjoy!
-
Triggered Evasion
-
Events
- Unit - A unit Is attacked
-
Conditions
- ~Your conditions~
-
Actions
- Unit - Remove Miss (100%) from AttackedUnit
- Set AttackedUnit = (Attacked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 100) Less than or equal to (chance to evade)
-
Then - Actions
- Unit - Add Miss (100%) to AttackedUnit
-
Else - Actions
- ~Else Actions~
-
If - Conditions
-
Events
- Tested and works ofc
- You must make a black icon for the "miss (100%)" ability, otherwise setting it to "no icon" will result in a green icon popping up every now and then.