- Joined
- May 28, 2015
- Messages
- 382
I need help.. I want my dummy ability to have the same level as the main ability, however I do not know how to make that happen.
Here's the main trigger: This works just fine.
Here's the main trigger: This works just fine.
-
Conflagration Cast
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Conflagration
-
-
Actions
-
Set con_casterloc = (Position of (Triggering unit))
-
Unit - Create 1 DummyCaster 1 for (Owner of (Triggering unit)) at con_casterloc facing Default building facing degrees
-
Unit - Add conflagration dummy (Initial) to (Last created unit)
-
Unit - Set level of conflagration dummy (Initial) for (Last created unit) to (Level of Conflagration for (Triggering unit))
-
Unit - Order (Last created unit) to Neutral - Parasite (Target unit of ability being cast)
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_con_casterloc)
-
-
-
Conflagration Spread
-
Events
-
Unit - A unit Spawns a summoned unit
-
-
Conditions
-
(Unit-type of (Summoned unit)) Equal to Conflagration Dummy
-
-
Actions
-
Set con_summonloc = (Position of (Summoned unit))
-
Set con_owner = (Owner of (Summoned unit))
-
Unit - Remove (Summoned unit) from the game
-
Unit - Create 1 Conflagration Dummy for con_owner at con_summonloc facing Default building facing degrees
-
Unit - Add conflagration dummy (Secondary) to (Last created unit)
-
Unit - Add a 1.00 second Water Elemental expiration timer to (Last created unit)
-
Set con_unitgroup = (Units within 250.00 of con_summonloc matching (((Matching unit) belongs to an enemy of con_owner) Equal to True))
-
Unit Group - Pick every unit in con_unitgroup and do (Actions)
-
Loop - Actions
-
Unit - Set level of conflagration dummy (Secondary) for (Last created unit) to (Level of Conflagration for (Triggering unit))
-
Unit - Order (Last created unit) to Neutral - Parasite (Picked unit)
-
-
-
Custom script: call RemoveLocation(udg_con_summonloc)
-
Custom script: call DestroyGroup(udg_con_unitgroup)
-
-