crazyfanatic
New Member
- Reaction score
- 20
I have made a skill, that when the hero drops under 30% of his max hitpoints, its max hitpoints will start increasing fast until it reaches this line. But there is one problem - i use the Item Ability "Item Life Bonus (Greater)", increased X times. When the skill is learned it gives the initial hitpoints - but doesn't increase the level of this skill. Can you check it and tel me the problem?
This is almost the same, but still non-working:
This is the triggering trigger:
+rep for tips, that will help me fix it
Trigger:
- NerdRage2
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Percentage life of NerdRageUnit) Less than (10.00 x (Real((Level of Nerd Rage! ax for NerdRageUnit))))
- Then - Actions
- Unit - Set level of Nerd Rage Bonus (Greater) for NerdRageUnit to ((Level of Nerd Rage Bonus (Greater) for NerdRageUnit) + 1)
- Else - Actions
- Unit - Set level of Nerd Rage Bonus (Greater) for NerdRageUnit to 1
- Trigger - Turn off (This trigger)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
This is almost the same, but still non-working:
Trigger:
- NerdRage2
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Percentage life of NerdRageUnit) Less than (10.00 x (Real((Level of Nerd Rage! ax for NerdRageUnit))))
- Then - Actions
- Unit - Increase level of Nerd Rage Bonus (Greater) for NerdRageUnit
- Else - Actions
- Unit - Set level of Nerd Rage Bonus (Greater) for NerdRageUnit to 1
- Trigger - Turn off (This trigger)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
This is the triggering trigger:
Trigger:
- Health Check
- Events
- Unit - A unit Is attacked
- Conditions
- (Triggering unit) Equal to NerdRageUnit
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Percentage life of (Triggering unit)) Less than (10.00 x (Real((Level of Nerd Rage! ax for (Triggering unit)))))
- Then - Actions
- Trigger - Turn on NerdRage2 <gen>
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
+rep for tips, that will help me fix it