- Joined
- Aug 14, 2006
- Messages
- 7,614
Hey.
My brains are frozen once again. How do I make this so it won't kill anyone, but just leaves with 1 hit point?
My brains are frozen once again. How do I make this so it won't kill anyone, but just leaves with 1 hit point?
-
HP and MANA REGE
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Cinematic Equal to False
-
-
Actions
-
Set TempUnitArray[1] = AAAPhodom
-
Set TempUnitArray[2] = AAAFradz
-
Set TempUnitArray[3] = AAAGaleoth
-
For each (Integer A) from 1 to 3, do (Actions)
-
Loop - Actions
-
-------- === HIT POINT REGENERATION === --------
-
Unit - Set life of TempUnitArray[(Integer A)] to ((Life of TempUnitArray[(Integer A)]) + ZValue_HPREGE[(Integer A)])
-
-------- === MANA REGENERATION === --------
-
Unit - Set mana of TempUnitArray[(Integer A)] to ((Mana of TempUnitArray[(Integer A)]) + ZValue_MANAREGE[(Integer A)])
-
-
-
-