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
Samurai.w3x
Variables
Initialization
EXP
Lunge Cut
Cast
Movement
Animation and Damage
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
LungeCutCaster
unit
No
UnitNull
LungeCutTarget
unit
No
UnitNull
PhoenixSword
effect
No
EXP
Events
Map initialization
Conditions
Actions
Hero - Set Legendary Samurai 0000 <gen> experience to 9999999 , Hide level-up graphics
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Camera - Pan camera for Player 1 (Red) to (Position of Legendary Samurai 0000 <gen>) over 0 seconds
Unit - Order Peasant 0003 <gen> to Move To . (Random point in (Playable map area))
Cast
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to |cffffcc00L|runge Cut (Neutral Hostile)
Actions
Set Variable Set LungeCutCaster = (Casting unit)
Set Variable Set LungeCutTarget = (Target unit of ability being cast)
If ((Level of |cffffcc00L|runge Cut (Neutral Hostile) for LungeCutCaster) Equal to 1) then do (Set mana of LungeCutCaster to ((Mana of LungeCutCaster) - 100.00)) else do (Do nothing)
If ((Level of |cffffcc00L|runge Cut (Neutral Hostile) for LungeCutCaster) Equal to 2) then do (Set mana of LungeCutCaster to ((Mana of LungeCutCaster) - 150.00)) else do (Do nothing)
If ((Level of |cffffcc00L|runge Cut (Neutral Hostile) for LungeCutCaster) Equal to 3) then do (Set mana of LungeCutCaster to ((Mana of LungeCutCaster) - 200.00)) else do (Do nothing)
If ((Level of |cffffcc00L|runge Cut (Neutral Hostile) for LungeCutCaster) Equal to 4) then do (Set mana of LungeCutCaster to ((Mana of LungeCutCaster) - 250.00)) else do (Do nothing)
Unit - Pause LungeCutCaster
Unit - Make LungeCutCaster face (Position of LungeCutTarget) over 0.25 seconds
Unit - Turn collision for LungeCutCaster Off .
Wait 0.50 seconds
Special Effect - Create a special effect at (Position of LungeCutCaster) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Create a special effect attached to the weapon (Unexpected type: 'attachpoint') of LungeCutCaster using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Trigger - Turn on Movement <gen>
Movement
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit - Move LungeCutCaster instantly to ((Position of LungeCutCaster) offset by 15.00 towards (Facing of LungeCutCaster) degrees.)
Unit - Make LungeCutCaster face LungeCutTarget over 0 seconds
Special Effect - Create a special effect at (Position of LungeCutCaster) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Region centered at (Position of LungeCutTarget) with size (200.00, 200.00)) contains LungeCutCaster) Equal to True
Then - Actions
Trigger - Turn off (This trigger)
Unit - Turn collision for LungeCutCaster On .
Else - Actions
Do nothing
Animation and Damage
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to |cffffcc00L|runge Cut (Neutral Hostile)
Actions
Wait 0.25 seconds
Animation - Play (Casting unit) 's attack slam animation
Wait 0.60 seconds
If ((Level of |cffffcc00L|runge Cut (Neutral Hostile) for LungeCutCaster) Equal to 1) then do (Cause LungeCutCaster to damage LungeCutTarget, dealing (Real((Agility of LungeCutCaster (Include bonuses)))) damage of attack type Normal and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00L|runge Cut (Neutral Hostile) for LungeCutCaster) Equal to 2) then do (Cause LungeCutCaster to damage LungeCutTarget, dealing ((Real((Agility of LungeCutCaster (Include bonuses)))) x 2.00) damage of attack type Normal and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00L|runge Cut (Neutral Hostile) for LungeCutCaster) Equal to 3) then do (Cause LungeCutCaster to damage LungeCutTarget, dealing ((Real((Agility of LungeCutCaster (Include bonuses)))) x 3.00) damage of attack type Normal and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00L|runge Cut (Neutral Hostile) for LungeCutCaster) Equal to 4) then do (Cause LungeCutCaster to damage LungeCutTarget, dealing ((Real((Agility of LungeCutCaster (Include bonuses)))) x 4.00) damage of attack type Normal and damage type Normal) else do (Do nothing)
Special Effect - Create a special effect at (Position of LungeCutCaster) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
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.