- Joined
- Feb 22, 2009
- Messages
- 260
Or are there any problems with my trigger?
-
Stormcaller
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Unit-type of (Target unit of ability being cast)) Equal to Vrykul Sturmmagierin
-
(Level of Stormcaller for (Target unit of ability being cast)) Greater than 0
-
-
Actions
-
Set Caster = (Triggering unit)
-
Set Owner = (Owner of (Target unit of ability being cast))
-
Set Target_Pos = (Position of (Target unit of ability being cast))
-
Set Abilitylevel = (Level of Stormcaller for (Target unit of ability being cast))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Caster is Magic Immune) Equal to False
-
(Caster is Mechanical) Equal to False
-
(Caster is A structure) Equal to False
-
(Caster is A flying unit) Equal to False
-
(Caster is alive) Equal to True
-
(Caster is visible to Owner) Equal to True
-
(Caster belongs to an enemy of Owner) Equal to True
-
-
Then - Actions
-
Unit - Create 1 Dummy for Owner at Target_Pos facing Default building facing degrees
-
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Forked Lightning (Stormcaller) to (Last created unit)
-
Unit - Set level of Forked Lightning (Stormcaller) for (Last created unit) to Abilitylevel
-
Unit - Order (Last created unit) to Neutral Naga Sea Witch - Forked Lightning Caster
-
-
Else - Actions
-
-
Custom script: call RemoveLocation(udg_Target_Pos)
-
-
-
Mass Entangling roots
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Cenarius
-
(Level of Demigod Power for (Triggering unit)) Greater than 0
-
(Ability being cast) Equal to Entangling Roots
-
-
Actions
-
Set Owner = (Owner of (Casting unit))
-
Set Abilitylevel = (Level of (Ability being cast) for (Triggering unit))
-
Set Target_Pos = (Position of (Target unit of ability being cast))
-
Set TargetedGroup = (Units within AbilityStat[(Level of Demigod Power for (Triggering unit))] of Target_Pos)
-
Unit - Create 1 Dummy for Owner at Target_Pos facing Default building facing degrees
-
Unit - Add a 31.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Entangling Roots to (Last created unit)
-
Unit - Set level of Entangling Roots for (Last created unit) to Abilitylevel
-
Unit Group - Pick every unit in TargetedGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is Magic Immune) Equal to False
-
((Picked unit) is Mechanical) Equal to False
-
((Picked unit) is A structure) Equal to False
-
((Picked unit) is A flying unit) Equal to False
-
((Picked unit) is alive) Equal to True
-
(Picked unit) Not equal to (Target unit of ability being cast)
-
((Picked unit) is visible to Owner) Equal to True
-
((Picked unit) belongs to an enemy of Owner) Equal to True
-
-
Then - Actions
-
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
-
-
Else - Actions
-
-
-
-
Custom script: call RemoveLocation(udg_Target_Pos)
-
Custom script: call DestroyGroup (udg_TargetedGroup)
-
-
-
Mass doom
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Mass Doom
-
-
Actions
-
Set MindrotTarget = (Target unit of ability being cast)
-
Set MindrotPosition = (Position of MindrotTarget)
-
Set MindrotGroup = (Units within 300.00 of MindrotPosition)
-
Unit Group - Pick every unit in MindrotGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is Mechanical) Equal to False
-
((Picked unit) is A Hero) Equal to False
-
((Picked unit) is A structure) Equal to False
-
((Picked unit) is alive) Equal to True
-
(Picked unit) Not equal to MindrotTarget
-
((Picked unit) is visible to (Triggering player)) Equal to True
-
((Picked unit) belongs to an enemy of (Triggering player)) Equal to True
-
-
Then - Actions
-
Unit - Create 1 Dummy for (Triggering player) at MindrotPosition facing Default building facing degrees
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Minor Doom to (Last created unit)
-
Custom script: call IssueTargetOrderById(bj_lastCreatedUnit, 852583, GetEnumUnit())
-
-
Else - Actions
-
-
-
-
Custom script: call RemoveLocation(udg_MindrotPosition)
-
Custom script: call DestroyGroup (udg_MindrotGroup)
-
-