Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Dagger Strike v1.1.w3x
Variables
Spell
Dagger Strike
Map only
Reveal
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
DS_AoE
real
Yes
DS_Caster
unit
No
DS_Damage
real
Yes
DS_Effect
effect
Yes
DS_Level
integer
No
DS_Target
group
No
TempPoint
location
No
Dagger Strike
Events
Unit - A unit Stops casting an ability
Conditions
(Ability being cast) Equal to Dagger Strike
Actions
-------- Variables --------
Set Variable Set DS_Caster = (Casting unit)
Set Variable Set TempPoint = (Position of DS_Caster)
Set Variable Set DS_Target = (Units within 300.00 of TempPoint matching ((((Matching unit) belongs to an enemy of (Owner of DS_Caster).) Equal to True) and (((Matching unit) is alive) Equal to True)).)
Set Variable Set DS_Level = (Level of Dagger Strike for DS_Caster)
-------- Damage --------
Set Variable Set DS_Damage[DS_Level] = (100.00 + (100.00 x (Real((Level of Dagger Strike for DS_Caster)))))
-------- Damage Dealt --------
Unit Group - Pick every unit in DS_Target and do (Actions)
Loop - Actions
Animation - Play DS_Caster 's Attack 1 animation
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
Unit - Cause DS_Caster to damage (Picked unit) , dealing DS_Damage[DS_Level] damage of attack type Spells and damage type Normal
Special Effect - Destroy (Last created special effect)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.