🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
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
Bradwarden-Ursa.w3x
Variables
Bradwarden
Return
Double Edge
Ignore this
Stampede
Stampede Periodic
Níže zapište kód vlastního skriptu
Name
Type
is_array
initial_value
Return
Events
Unit - A unit Is attacked
Conditions
(Level of Return for (Attacked unit)) Greater than 0
Actions
Unit - Cause (Attacked unit) to damage (Attacking unit) , dealing ((14.00 + ((Real((Level of Return for (Attacked unit)))) x 2.00)) + ((0.18 + (0.08 x (Real((Level of Return for (Attacked unit)))))) x (Real((Strength of (Attacked unit) (Include bonuses)))))) damage of attack type Normal and damage type Normal
Double Edge
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Double Edge
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Casting unit)) Less than (100.00 + (75.00 x (Real((Level of Double Edge for (Casting unit))))))
Then - Actions
Unit - Set life of (Casting unit) to (((Life of (Casting unit)) + 1) - (Life of (Casting unit)))
Else - Actions
Unit - Cause (Casting unit) to damage (Casting unit) , dealing (100.00 + (75.00 x (Real((Level of Double Edge for (Casting unit)))))) damage of attack type Spells and damage type Normal
Unit Group - Pick every unit in (Units within 190.00 of (Position of (Target unit of ability being cast)).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) belongs to an enemy of (Owner of (Casting unit)).) Equal to True
Then - Actions
Unit - Cause (Casting unit) to damage (Picked unit) , dealing (100.00 + (75.00 x (Real((Level of Double Edge for (Casting unit)))))) damage of attack type Spells and damage type Normal
Else - Actions
Unit - Create 1 . Caster Dummy for (Owner of (Casting unit)) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
Special Effect - Create a special effect at (Position of (Target unit of ability being cast)) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Unit - Add ministun to (Last created unit)
Unit - Add a 0.10 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp .
Stampede
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to
Actions
Set Variable Set = (Casting unit)
Unit - Turn collision for Off .
Unit - Add to (Casting unit)
Unit - Create 1 for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Position of (Casting unit))
Unit - Add a 0.10 second Generic expiration timer to (Last created unit)
Unit - Set level of for (Last created unit) to (Level of A003 for )
Unit - Order (Last created unit) to Human Priest - Inner Fire . (Casting unit)
Trigger - Turn on Stampede_Periodic <gen>
Wait (3.00 + (1.00 x (Real((Level of A003 for (Casting unit)))))) seconds
Trigger - Turn off Stampede_Periodic <gen>
Unit - Turn collision for On .
Unit - Remove from
Stampede Periodic
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units within 105.00 of (Position of ).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has buff B002) Not equal to True
((Picked unit) belongs to an enemy of (Owner of ).) Equal to True
((Picked unit) is alive) Equal to True
Then - Actions
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
Special Effect - Destroy (Last created special effect)
Unit - Create 1 for (Owner of ) at (Position of ) facing (Position of (Picked unit))
Unit - Set level of for (Last created unit) to (Level of A003 for )
Unit - Order (Last created unit) to Human Priest - Inner Fire . (Picked unit)
Unit - Add a 0.10 second Generic expiration timer to (Last created unit)
Unit - Add to (Last created unit)
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt . (Picked unit)
Unit - Cause to damage (Picked unit) , dealing ((Real((Level of A003 for ))) x (Real((Strength of (Include bonuses))))) damage of attack type Spells and damage type Normal
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.