- Joined
- Jan 23, 2015
- Messages
- 788
I got this weird bug with one of my triggers..
The animation works, but the 'Unit - Set Life' and debug messages don't.. how's that even possible?
-
RHeal
-
Events
- Time - RTimer[1] expires
- Time - RTimer[2] expires
- Time - RTimer[3] expires
- Time - RTimer[4] expires
- Time - RTimer[5] expires
- Time - RTimer[6] expires
- Time - RTimer[7] expires
- Time - RTimer[8] expires
- Conditions
-
Actions
- Set RHealIndex = (Load 2 of (Key (Expiring timer)) from Hash)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (RCaster[RHealIndex] has buff Restoration) Equal to True
-
Then - Actions
- Game - Display to (All players) the text: heal
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- IW[RHealIndex] Equal to True
-
Then - Actions
- Unit - Set life of RCaster[RHealIndex] to ((Life of RCaster[RHealIndex]) + ((Percentage life of RCaster[RHealIndex]) x RPercentW[(Level of Restoration for RCaster[RHealIndex])]))
- Game - Display to (All players) the text: (String(((Percentage life of RCaster[RHealIndex]) + RPercentW[(Level of Restoration for RCaster[RHealIndex])])))
- Animation - Play RCaster[RHealIndex]'s spell animation
-
Else - Actions
- Unit - Set life of RCaster[RHealIndex] to ((Life of RCaster[RHealIndex]) + ((Percentage life of RCaster[RHealIndex]) x RPercent[(Level of Restoration for RCaster[RHealIndex])]))
- Game - Display to (All players) the text: (String(((Percentage life of RCaster[RHealIndex]) + RPercent[(Level of Restoration for RCaster[RHealIndex])])))
- Animation - Play RCaster[RHealIndex]'s spell animation
-
If - Conditions
- Else - Actions
-
If - Conditions
-
Events