SIMPLE
COMPLEX(Sorta)
Trigger:
- Transparancy
- Events
- Unit - A unit Learns a skill
- Conditions
- (Learned Hero Skill) Equal to Transparency (Vampire Lord)
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Learned skill level) Equal to 3
- Then - Actions
- Animation - Change (Learning Hero)'s vertex coloring to (0.00%, 0.00%, 0.00%) with 95.00% transparency
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Learned skill level) Equal to 2
- Then - Actions
- Animation - Change (Learning Hero)'s vertex coloring to (0.00%, 0.00%, 0.00%) with 88.00% transparency
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Learned skill level) Equal to 1
- Then - Actions
- Animation - Change (Learning Hero)'s vertex coloring to (0.00%, 0.00%, 0.00%) with 83.00% transparency
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Trigger:
- Desolate
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Desolate (Hijiku)
- Actions
- Set UnitVarCaster3 = (Triggering unit)
- Set UnitVarPicked = (Target unit of ability being cast)
- Unit - Add FlyHeight (Hijiku) to UnitVarCaster3
- Unit - Remove FlyHeight (Hijiku) from UnitVarCaster3
- Unit - Add Attach (Hijiku) to UnitVarCaster3
- Unit - Make UnitVarCaster3 Invulnerable
- Unit - Pause UnitVarCaster3
- Animation - Play UnitVarCaster3's stand, ready animation
- For each (Integer A) from 1 to (5 x (Level of Desolate (Hijiku) for UnitVarCaster3)), do (Actions)
- Loop - Actions
- Wait 0.27 game-time seconds
- Animation - Play UnitVarCaster3's slam animation
- Unit - Set life of UnitVarCaster3 to ((Life of UnitVarCaster3) + (15.00 x (Real((Level of Desolate (Hijiku) for UnitVarCaster3)))))
- Animation - Change UnitVarCaster3 flying height to 50.00 at 0.00
- Set TempLoc15 = (Position of UnitVarPicked)
- Set TempLoc7 = (Random point in (Region centered at TempLoc15 with size (80.00, 80.00)))
- Unit - Move UnitVarCaster3 instantly to TempLoc7, facing TempLoc15
- Special Effect - Create a special effect attached to the chest of UnitVarCaster3 using Abilities\Weapons\MurgulMagicMissile\MurgulMagicMissile.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Make UnitVarCaster3 face UnitVarPicked over 0.00 seconds
- Special Effect - Create a special effect attached to the chest of UnitVarPicked using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
- Special Effect - Destroy (Last created special effect)
- Animation - Play UnitVarCaster3's attack animation
- Unit - Cause UnitVarCaster3 to damage UnitVarPicked, dealing 50.00 damage of attack type Spells and damage type Normal
- Custom script: call RemoveLocation(udg_TempLoc7)
- Custom script: call RemoveLocation(udg_TempLoc15)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Life of UnitVarPicked) Less than 25.00
- Then - Actions
- Animation - Change UnitVarCaster3 flying height to 0.00 at 50.00
- Special Effect - Create a special effect attached to the origin of UnitVarPicked using Abilities\Spells\Undead\Possession\PossessionMissile.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Cause UnitVarCaster3 to damage UnitVarPicked, dealing 500.00 damage of attack type Spells and damage type Normal
- Unit - Unpause UnitVarCaster3
- Unit - Make UnitVarCaster3 Vulnerable
- Unit - Remove Attach (Hijiku) from UnitVarCaster3
- Animation - Reset UnitVarCaster3's animation
- Custom script: call RemoveLocation(udg_TempLoc7)
- Custom script: call RemoveLocation(udg_TempLoc15)
- Custom script: set udg_UnitVarPicked = null
- Custom script: set udg_UnitVarCaster3 = null
- Skip remaining actions
- Else - Actions
- If - Conditions
- Loop - Actions
- Animation - Change UnitVarCaster3 flying height to 0.00 at 50.00
- Unit - Unpause UnitVarCaster3
- Unit - Make UnitVarCaster3 Vulnerable
- Unit - Remove Attach (Hijiku) from UnitVarCaster3
- Animation - Reset UnitVarCaster3's animation
- Custom script: call RemoveLocation(udg_TempLoc7)
- Custom script: call RemoveLocation(udg_TempLoc15)
- Custom script: set udg_UnitVarPicked = null
- Custom script: set udg_UnitVarCaster3 = null
- Events