anyone knows why this bugs and it replaces 1 unit with more than 1??
here:




here:
-
Ressurect
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


Set HumanImpaled = (Units of type Human Impaled)
-


Unit Group - Pick every unit in HumanImpaled and do (Actions)
-



Loop - Actions
-




Trigger - Add to Ressurect2 <gen> the event (Unit - (Picked unit)'s mana becomes Greater than or equal to 1.00)
-
-
-


Custom script: call DestroyGroup (udg_HumanImpaled)
-
-
-
Ressurect2
-

Events
-

Conditions
-

Actions
-


Set Mana = (Percentage mana of (Triggering unit))
-


Unit - Remove (Triggering unit) from the game
-


Set Ethereal = (Units of type Explorer (Ethereal))
-


Unit Group - Pick every unit in Ethereal and do (Actions)
-



Loop - Actions
-




Unit - Replace (Picked unit) with a Explorer (Corporeal) using The old unit's relative life and mana
-




Unit - Set mana of (Picked unit) to Mana%
-
-
-


Custom script: call DestroyGroup (udg_Ethereal)
-
-



