- Joined
- Dec 25, 2018
- Messages
- 110
My ability works this way:
-
Meat Cannon Copy
-
Events
-
Unit - A unit Begins channeling an ability
-
-
Conditions
-
(Ability being cast) Equal to Meat Cannon
-
-
Actions
-
Custom script: local location udg_LocalPoint
-
Custom script: local location udg_LocalPoint2
-
Custom script: local group udg_LocalGroup
-
Set Caster = (Triggering unit)
-
Set LocalPoint = (Target point of ability being cast)
-
Set LocalPoint2 = (Position of Caster)
-
Set LocalGroup = (Units within 300.00 of LocalPoint matching ((((Matching unit) belongs to an ally of (Owner of Caster)) Equal to False) and (((Matching unit) is alive) Equal to True)))
-
Unit - Create 1 Dummy Meat Wagon for (Owner of Caster) at LocalPoint2 facing Default building facing degrees
-
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Attack Ground LocalPoint
-
Unit - Cause Caster to damage Caster, dealing ((Real((Max HP of Caster))) / 6.00) damage of attack type Chaos and damage type Normal
-
Unit Group - Pick every unit in LocalGroup and do (Actions)
-
Loop - Actions
-
Unit - Cause Caster to damage (Picked unit), dealing ((40.00 x (Real((Level of Meat Cannon for Caster)))) + (4.00 x (Real((Strength of Caster (Include bonuses)))))) damage of attack type Spells and damage type Normal
-
-
-
Custom script: set udg_Caster = null
-
Custom script: call DestroyGroup(udg_LocalGroup)
-
Custom script: call RemoveLocation(udg_LocalPoint)
-
Custom script: call RemoveLocation(udg_LocalPoint2)
-
-
-
Meat Cannon Copy
-
Events
-
Unit - A unit Begins channeling an ability
-
-
Conditions
-
(Ability being cast) Equal to Meat Cannon
-
-
Actions
-
Custom script: local unit udg_Caster
-
Custom script: local location udg_LocalPoint
-
Custom script: local location udg_LocalPoint2
-
Custom script: local group udg_LocalGroup
-
Set Caster = (Triggering unit)
-
Set LocalPoint = (Target point of ability being cast)
-
Set LocalPoint2 = (Position of Caster)
-
Set LocalGroup = (Units within 300.00 of LocalPoint matching ((((Matching unit) belongs to an ally of (Owner of Caster)) Equal to False) and (((Matching unit) is alive) Equal to True)))
-
Unit - Create 1 Dummy Meat Wagon for (Owner of Caster) at LocalPoint2 facing Default building facing degrees
-
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Attack Ground LocalPoint
-
Unit - Cause Caster to damage Caster, dealing ((Real((Max HP of Caster))) / 6.00) damage of attack type Chaos and damage type Normal
-
Wait 1.30 seconds
-
Unit Group - Pick every unit in LocalGroup and do (Actions)
-
Loop - Actions
-
Unit - Cause Caster to damage (Picked unit), dealing ((40.00 x (Real((Level of Meat Cannon for Caster)))) + (4.00 x (Real((Strength of Caster (Include bonuses)))))) damage of attack type Spells and damage type Normal
-
-
-
Custom script: set udg_Caster = null
-
Custom script: call DestroyGroup(udg_LocalGroup)
-
Custom script: call RemoveLocation(udg_LocalPoint)
-
Custom script: call RemoveLocation(udg_LocalPoint2)
-
-