creating sleeping-healing potion

Status
Not open for further replies.
Level 3
Joined
Oct 20, 2010
Messages
22
i want to create potion that make the user sleep and heal him. and when it done the hero come back to normal,please,help me.:goblin_cry:
thanks to who that help me!:goblin_yeah:
 
Level 11
Joined
Jun 30, 2008
Messages
580
Make a rejuvenation potion.
And trigger:

  • Untitled Trigger 001
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff Sleeping Potion) Equal to (==) True
            • Then - Actions
              • Unit - Pause (Picked unit)
              • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Other\CreepSleep\CreepSleepTarget.mdl
            • Else - Actions
              • Unit - Unpause (Picked unit)
              • Special Effect - Destroy (Last created special effect)
This trigger leaks, but just look up how to remove leaks and edit it.
 
Status
Not open for further replies.
Top