I really don't know why this is happening but lets say we have this trigger:
It all works fine if the unit is not at max full health. If the unit have max full health it doesn't work the first time. After that it works just fine.
I also tried like this:
It still wont work. I'm really curious how to make it work every time even though the unit is on max hit points.
Trigger:
- Untitled Trigger 001 Copy
- Events
- Unit - Footman 0000 <gen> Takes damage
- Conditions
- Actions
- Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (Damage taken))
- Events
It all works fine if the unit is not at max full health. If the unit have max full health it doesn't work the first time. After that it works just fine.
I also tried like this:
Trigger:
- Untitled Trigger 001
- Events
- Unit - Footman 0000 <gen> Takes damage
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Life of (Triggering unit)) Equal to (Max life of (Triggering unit))
- Then - Actions
- Unit - Set life of (Triggering unit) to (Max life of (Triggering unit))
- Else - Actions
- Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (Damage taken))
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
It still wont work. I'm really curious how to make it work every time even though the unit is on max hit points.