Trigger one: The base spell is Web. It is intended to web anyone for 6 seconds and create a unit to mana burn/feedback that unit once per second. (if said unit should invul/despell I'd like the trigger to end as well)
Trigger two: The base spell is Pocket Factory. The summon does not summon units as Pocket Factory does, it is simply to summon a building in a targetable manner. It is intended to summon a building with no collision which is meant to be the location of summoned units (via trigger) cast silence once every other second for 14 seconds.
They don't seem to be working properly. Any help would be appreciated!
Code:
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Violet Gate
Actions
Set Violet_Gate_Target = (Targeted unit)
Set Violet_Gate_TargetLoc = (Position of Violet_Gate_Target)
Unit - Create 1 Violet Caress for (Owner of (Triggering unit)) at Violet_Gate_TargetLoc facing (Position of (Targeted unit))
Unit - Order (Last created unit) to Attack Violet_Gate_Target
Wait 0.90 seconds
Unit - Remove (Last created unit) from the game
Unit - Create 1 Violet Caress for (Owner of (Triggering unit)) at Violet_Gate_TargetLoc facing (Position of (Targeted unit))
Unit - Order (Last created unit) to Attack Violet_Gate_Target
Wait 0.90 seconds
Unit - Remove (Last created unit) from the game
(Rinse, repeat)
Trigger two: The base spell is Pocket Factory. The summon does not summon units as Pocket Factory does, it is simply to summon a building in a targetable manner. It is intended to summon a building with no collision which is meant to be the location of summoned units (via trigger) cast silence once every other second for 14 seconds.
Code:
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Crystal Gate (Summon)
Actions
Set Crystal_Gate_Caster = (Casting unit)
Unit - Create 1 Suppresive Reverberation for (Owner of Crystal_Gate_Caster) at (Target point of ability being cast) facing (Position of (Triggering unit))
Set Crystal_Reverberation_Caster = (Last created unit)
Set Crystal_Reverberation_Loc = (Position of Crystal_Reverberation_Caster)
Unit - Order (Last created unit) to Neutral Dark Ranger - Silence Crystal_Reverberation_Loc
Wait 0.35 seconds
Unit - Remove (Last created unit) from the game
Wait 1.65 seconds
Set Crystal_Gate_Caster_Loc = (Position of Crystal_Gate_Caster)
Unit - Create 1 Suppresive Reverberation for (Owner of Crystal_Gate_Caster) at (Target point of ability being cast) facing (Position of (Triggering unit))
Set Crystal_Reverberation_Caster = (Last created unit)
Set Crystal_Reverberation_Loc = (Position of Crystal_Reverberation_Caster)
Unit - Order (Last created unit) to Neutral Dark Ranger - Silence Crystal_Reverberation_Loc
Wait 0.35 seconds
Unit - Remove (Last created unit) from the game
(Rinse, repeat)
They don't seem to be working properly. Any help would be appreciated!