- Joined
- Jan 13, 2008
- Messages
- 559
wow..i just realised whats wrong z.z
/e: I got another problem so maybe someone can help with this.
/e: I got another problem so maybe someone can help with this.
-
using Potions
-
Events
-
Unit - A unit Uses an item
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item being manipulated)) Equal to Potion of Healing (50)
-
-
Then - Actions
-
For each (Integer A) from 0 to 9, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Triggering unit)) Equal to (Player(((Integer A) + 1)))
-
-
Then - Actions
-
Unit - Set life of player_hero[(Integer A)] to ((Life of player_hero[(Integer A)]) + 50.00)
-
Special Effect - Create a special effect attached to the chest of player_hero[(Integer A)] using Abilities\Spells\Human\Heal\HealTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
-
Else - Actions
-
-
-
-
-
Else - Actions
-
-
-
Last edited: