FINISHED Constant hp?
may i make som hp protection thingy im got this far but i got it all wrong for shure
btw when his hp is low like 5 hp and he got hit for 6+ dmg he dies
is there ani way to make a sistem to protect his hp ???
so he dosent die ?
may i make som hp protection thingy im got this far but i got it all wrong for shure
-
Divine Shield
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to |cfff0e68cProtection Touch|r
-
-

Actions
-


Set Devine_Unit = (Triggering unit)
-


Set Devine_Hp = (Integer((Life of Devine_Unit)))
-


Set Devine_Count = (Devine_Count + (((Integer((Real((Level of Protectio touch for Devine_Unit))))) x 17) + 50))
-


Game - Display to (All players) the text: (String(Devine_Count))
-


Trigger - Turn on DevineShield03 <gen>
-
-
-
DevineShield03
-

Events
-


Time - Every 0.03 seconds of game time
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Real(Devine_Count)) Greater than or equal to 1.00
-
-



Then - Actions
-




Unit - Set life of Devine_Unit to (Real(Devine_Hp))
-




Set Devine_Count = (Devine_Count - 1)
-
-



Else - Actions
-




Trigger - Turn off (This trigger)
-




Game - Display to (All players) the text: Turning off
-
-
-
-
btw when his hp is low like 5 hp and he got hit for 6+ dmg he dies
is there ani way to make a sistem to protect his hp ???
so he dosent die ?
Last edited:






