AdityaHegde
New Member
- Reaction score
- 0
Breath
Events
Unit - Orc 0001 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Breath of Destruction
Actions
Set Castloc = (Position of (Triggering unit))
Set TarLoc = (Target point of ability being cast)
Set Angle = (Angle from Castloc to TarLoc)
Set Offset = 100.00
For each (Integer A) from 1 to (5 + (Level of Breath of Destruction for (Triggering unit))), do (Actions)
Loop - Actions
Unit - Create 1 BreathDummy for (Owner of (Casting unit)) at (Castloc offset by Offset towards Angle degrees) facing Default building facing degrees
Unit - Turn collision for (Last created unit) Off
Unit - Add Flame Strike (Dummy) to (Last created unit)
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Unit - Set level of Flame Strike (Dummy) for (Last created unit) to (Level of Breath of Destruction for (Triggering unit))
Set LocOffset = (Castloc offset by Offset towards Angle degrees)
Unit - Order (Last created unit) to Human Blood Mage - Flame Strike LocOffset
Set Offset = (Offset + 100.00)
Custom script: call RemoveLocation(udg_LocOffset)
Custom script: call RemoveLocation(udg_Castloc)
Custom script: call RemoveLocation(udg_TarLoc)
this ability did damage to me also!!! help pls.....
Events
Unit - Orc 0001 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Breath of Destruction
Actions
Set Castloc = (Position of (Triggering unit))
Set TarLoc = (Target point of ability being cast)
Set Angle = (Angle from Castloc to TarLoc)
Set Offset = 100.00
For each (Integer A) from 1 to (5 + (Level of Breath of Destruction for (Triggering unit))), do (Actions)
Loop - Actions
Unit - Create 1 BreathDummy for (Owner of (Casting unit)) at (Castloc offset by Offset towards Angle degrees) facing Default building facing degrees
Unit - Turn collision for (Last created unit) Off
Unit - Add Flame Strike (Dummy) to (Last created unit)
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Unit - Set level of Flame Strike (Dummy) for (Last created unit) to (Level of Breath of Destruction for (Triggering unit))
Set LocOffset = (Castloc offset by Offset towards Angle degrees)
Unit - Order (Last created unit) to Human Blood Mage - Flame Strike LocOffset
Set Offset = (Offset + 100.00)
Custom script: call RemoveLocation(udg_LocOffset)
Custom script: call RemoveLocation(udg_Castloc)
Custom script: call RemoveLocation(udg_TarLoc)
this ability did damage to me also!!! help pls.....