- Joined
- Jul 12, 2017
- Messages
- 139
So I don't know where to start with this trigger. I do have resurrect one ally hero ability though which is this one.
Right now, I'm trying to do it like resurrection ability, plus giving all heroes bonus movement speed and mana regeneration like this, will appreciate any help!
-
Hero Revive 1
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Death Negater (Revive Ability)
-
Actions
- Set VariableSet TempUnit = (Target unit of ability being cast)
- Set VariableSet TempLoc = (Position of TempUnit)
- Set VariableSet TempInteger = (Player number of (Owner of TempUnit))
- Unit - Remove TempUnit from the game
- Special Effect - Create a special effect at TempLoc using Abilities\Spells\Other\Awaken\Awaken.mdl
- Special Effect - Destroy (Last created special effect)
- Hero - Instantly revive PlayerHero[TempInteger] at TempLoc, Hide revival graphics
- Camera - Pan camera for (Owner of (Target unit of ability being cast)) to (Position of (Target unit of ability being cast)) over 0.00 seconds
- Unit - Set life of PlayerHero[TempInteger] to 100.00%
- Unit - Set mana of PlayerHero[TempInteger] to 100.00%
- Custom script: call RemoveLocation (udg_TempLoc)
- Set VariableSet Point1 = (Position of (Target unit of ability being cast))
- Game - Display to (All players) the text: ((Name of (Owner of (Target unit of ability being cast))) + |c00FFFF00has been revived!|r )
- Unit - Create 1 No summon (Jaina Dummy) for (Owner of (Target unit of ability being cast)) at Point1 facing (Facing of (Casting unit)) degrees
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Add Revival Invincible Shield (Revive Hero) to (Last created unit)
- Unit - Order (Last created unit) to Night Elf Druid Of The Claw - Rejuvenation PlayerHero[TempInteger]
- Custom script: call RemoveLocation(udg_Point1)
-
Events
Right now, I'm trying to do it like resurrection ability, plus giving all heroes bonus movement speed and mana regeneration like this, will appreciate any help!
-
Valient Sacrifice
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Valient Sacrifice (Mograine)
-
Actions
- Set VariableSet Real1 = (Real((Intelligence of (Casting unit) (Include bonuses))))
- Set VariableSet Point1 = (Position of (Casting unit))
- Unit - Create 1 No summon (Jaina Dummy) for (Owner of (Casting unit)) at Point1 facing Default building facing degrees
- Unit - Add Endurance Aura (Valient Sacrifice) to (Last created unit)
- Unit - Add Mana Regeneration Aura (Valient Sacrifice) to (Last created unit)
- Custom script: call RemoveLocation(udg_Point1)
-
Events