need help makign spell :)

Status
Not open for further replies.

KevinSong

K

KevinSong

Can any give me advice! i want to make a spell that can revive heros after they are dead from their corpse. and how do i make their corpse like permanant? until they revive or something?
 
  • Corpse trigger
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Unit-type of (Dying unit)) Equal to Footman
          • (Owner of (Dying unit)) Equal to Player 1 (Red)
    • Actions
      • Set Anti_leak_location = (Center of (Playable map area))
      • Unit - Create a permanent Fleshy (Unit-type of (Dying unit)) corpse for (Owner of (Dying unit)) at Anti_leak_location facing (Random angle) degrees
      • Custom script: call RemoveLocation( udg_Anti_leak_location )
 
yeah i tried soemthing like that xd. waht base spell would i use oO?
 
well srry i dont know how to use the trigger tag, so..

to do this, you need to make dying hero has a "corpse" :

1.)when your hero's health reaches 2%(for example) make him invulnerable and play his death animation. pause him too.(do this via triggers)

2.)make a spell based on war stomp(but I recommend Fan Of Knives), trigger that if that spell is cast nearby the hero "corpse" he will be restored to full health and mana, reset his animation, unpause him and make him vulnerable. He is "revived".

problem solved!
 
Status
Not open for further replies.
Back
Top