- Joined
- Aug 14, 2006
- Messages
- 7,614
Hey.
Can this trigger crash the game?
Can this trigger crash the game?
-
Heavens Bless I Heal Ability
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Heaven's Bless (Heal Spell)
-
-
Actions
-
Trigger - Turn off (This trigger)
-
Set TempLoc = (Position of (Casting unit))
-
Set TempLoc2 = (Position of (Target unit of ability being cast))
-
Set Heavens_Bless_Unit = (Target unit of ability being cast)
-
Unit - Create 1 Ability Dummy Unit for Player 1 (Red) at TempLoc facing TempLoc2
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Orc Shaman - Lightning Shield Heavens_Bless_Unit
-
Special Effect - Create a special effect attached to the origin of Heavens_Bless_Unit using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Special Effect - Create a special effect attached to the origin of Heavens_Bless_Unit using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_TempLoc)
-
Custom script: call RemoveLocation(udg_TempLoc2)
-
For each (Integer Fire_Shield_Integer) from 1 to 10, do (Actions)
-
Loop - Actions
-
Unit - Set life of Heavens_Bless_Unit to ((Life of Heavens_Bless_Unit) + (Real(YMultiboard__WARMLIGHT)))
-
Wait 1.00 seconds
-
-
-
Set Heavens_Bless_Unit = No unit
-
Trigger - Turn on (This trigger)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Heavens_Bless_Unit Equal to AAAPhodom
-
-
Then - Actions
-
Wait 3.00 seconds
-
Set TempLoc = (Position of AAAPhodom)
-
Hero - Instantly revive AAAPhodom at TempLoc, Show revival graphics
-
Set TempReal = (50.00 + ((Real((Level of Heaven's Bless (Heal Spell) for AAAPhodom))) x 2.50))
-
Unit - Set life of AAAPhodom to TempReal%
-
Set TempReal = ((Real((Level of Heaven's Bless (Heal Spell) for AAAPhodom))) x 5.00)
-
Unit - Set mana of AAAPhodom to TempReal%
-
Custom script: call RemoveLocation(udg_TempLoc)
-
Skip remaining actions
-
-
Else - Actions
-