- Joined
- Jun 17, 2012
- Messages
- 46
My map has a spell akin to breath of fire, but i want units that die within 20 seconds of being hit by the spell to turn into skeletons. Any help would be great.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
call UnitRemoveAbility but can't be added by call UnitAddAbility.
BOF

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to YourBreathOfParasiteAbility

Actions


Set Point = (Position of (Triggering unit))


Unit - Create 1 BreathOfParasiteDummy for (Triggering player) at Point facing Default building facing degrees


Set Unit = (Last created unit)


Unit - Add a 0.50 second Generic expiration timer to Unit


Custom script: call RemoveLocation(udg_Point)


Set Point = (Target point of ability being cast)


Unit - Order Unit to Neutral Pandaren Brewmaster - Breath Of Fire Point


Custom script: call RemoveLocation(udg_Point)
Parasite Cast

Events


Game - GDD_Event becomes Equal to 0.00

Conditions


(Unit-type of GDD_DamageSource) Equal to BreathOfParasiteDummy

Actions


Set Point = (Position of GDD_DamagedUnit)


Unit - Create 1 ParasiteCaster for (Owner of GDD_DamageSource) at Point facing Default building facing degrees


Set Unit = (Last created unit)


Unit - Order Unit to Neutral - Parasite GDD_DamagedUnit


Unit - Add a 0.50 second Generic expiration timer to Unit


Custom script: call RemoveLocation(udg_Point)
Dying unit don't have buffs, it's a Warcraft III glitch Condition.
Try it if you don't believe it.
Unit - Unit Has Specific Buff condition does not work with Unit - A unit Dies Event.