- Joined
- Nov 6, 2014
- Messages
- 70
ABILITY: Expel
The sorceress will hurl a bolt of energy causing a twirling sparks cloak the target, making it fade, causing it to return to another dimension.
The target is then removed but its wood and gold cost is returned to the stockpile resource of the owner.
SOURCE ABILITY: Firebolt
Don't know how to fix this.
The sorceress will hurl a bolt of energy causing a twirling sparks cloak the target, making it fade, causing it to return to another dimension.
The target is then removed but its wood and gold cost is returned to the stockpile resource of the owner.
SOURCE ABILITY: Firebolt
-
SorceressExpel
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- ((Target unit of ability being cast) is A Hero) Equal to False
- (Unit-type of (Casting unit)) Equal to Blood Elf Sorceress
- (Ability being cast) Equal to Expel
-
Actions
- Set BloodElfSorceress_EXPGold[1] = (Get (Unit-type of (Target unit of ability being cast))'s wood cost)
- Set BloodElfSorceress_EXPGold[1] = (Get (Unit-type of (Target unit of ability being cast))'s gold cost)
- Set BloodElfSorceress_EXPcaster[1] = (Casting unit)
- Set BloodElfSorceress_EXPTarg[1] = (Target unit of ability being cast)
- Set BloodElfSorceress_EXPPlayer[1] = (Owner of (Target unit of ability being cast))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of (Target unit of ability being cast)) Less than 6
-
Then - Actions
- Special Effect - Create a special effect at (Target point of ability being cast) using EXPSET4FXSPLSBFS\Taex\taex.mdx
- Set BloodElfSorceress_ExpEfx[1] = (Last created special effect)
- Wait 1.00 seconds
- Unit - Remove (Target unit of ability being cast) from the game
- Memory Leak - Destroy BloodElfSorceress_ExpEfx[1]
- Player - Add BloodElfSorceress_EXPGold[1] to BloodElfSorceress_EXPPlayer[1] Current gold
- Player - Add BloodElfSorceress_EXPWood[1] to BloodElfSorceress_EXPPlayer[1] Current lumber
- Else - Actions
-
If - Conditions
-
Events
Don't know how to fix this.