- Joined
- Sep 9, 2010
- Messages
- 368
Hello, I'm working on a map that contains a hero that will be able to phase between two different units (Like the bear form spell).
The idea is that the hero will be changing between two different units who conains different spells and names, but the problem is that the trigger for this spell is leaking:
Please help me, the reward is +rep of course.
The idea is that the hero will be changing between two different units who conains different spells and names, but the problem is that the trigger for this spell is leaking:
-
Actions
-
Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
-
Set ShadowAbilites[1] = (Level of Aura of the Wise for (Casting unit))
-
Set ShadowAbilites[2] = (Level of Light of healing for (Casting unit))
-
Set ShadowAbilites[3] = (Level of Bless for (Casting unit))
-
Set ShadowAbilites[4] = (Level of Power Word: Immortality for (Casting unit))
-
Set ShadowAbilites[5] = (Unspent skill points of (Casting unit))
-
Unit - Replace (Casting unit) with a Shadowtooth Death Priest using The old unit's relative life and mana
-
Hero - Set (Last replaced unit) Hero-level to (Hero level of (Casting unit)), Hide level-up graphics
-
Hero - Modify unspent skill points of (Last replaced unit): Set to 0 points
-
Hero - Modify unspent skill points of (Last replaced unit): Add ShadowAbilites[5] points
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ShadowAbilites[1] Not equal to 0
-
-
Then - Actions
-
Unit - Add Protecting Shadows to (Last replaced unit)
-
Unit - Set Protecting Shadows for (Triggering unit) to ShadowAbilites[1]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ShadowAbilites[2] Not equal to 0
-
-
Then - Actions
-
Unit - Add Mind-eating Shadow to (Last replaced unit)
-
Unit - Set level of Mind-eating Shadow for (Last replaced unit) to ShadowAbilites[2]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ShadowAbilites[3] Not equal to 0
-
-
Then - Actions
-
Unit - Add Wrath to (Last replaced unit)
-
Unit - Set level of Wrath for (Last replaced unit) to ShadowAbilites[3]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ShadowAbilites[4] Not equal to 0
-
-
Then - Actions
-
Unit - Add Power Word: Hate to (Last replaced unit)
-
-
Else - Actions
-
-
Selection - Select (Last replaced unit) for (Owner of (Casting unit))
-
Please help me, the reward is +rep of course.
