THE_X
New Member
- Reaction score
- 49
Legendary Warrior
Another spellpack by THE_X
MUI/MPI - MUI
Leakless - Think so
Lagless - Yes
Fits well with a taurn type hero espicaly with the animations for the spells
Lots of stunning/Aoe
1 normal ability (shockwave) but it goes along with the ultimate spell (Shockwaves)
Shockwave - A wave of force that ripples out from the Hero, causing damage to land units in a line.
Falling Rocks - 5 rocks fall from the sky around the caster dealing damage, stunning units around them.
Code:
falling rocks create
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Falling Rocks
Actions
For each (Integer A) from 0 to 4, do (Actions)
Loop - Actions
Set Point = (Position of (Triggering unit))
Set Point_2 = (Point offset by 250.00 towards ((Real((Integer A))) x 72.00) degrees)
Unit - Create 1 Falling Rocks Dummy for (Owner of (Triggering unit)) at Point_2 facing Default building facing degrees
Unit - Set the custom value of (Last created unit) to (Level of Falling Rocks for (Triggering unit))
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
Animation - Change (Last created unit) flying height to 0.00 at 1000.00
Custom script: call RemoveLocation (udg_Point)
Custom script: call RemoveLocation (udg_Point_2)
Code:
falling rocks die
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Falling Rocks Dummy
Actions
Set Point = (Position of (Dying unit))
Unit - Create 1 Dummy for (Owner of (Dying unit)) at Point facing Default building facing (270.0) degrees
Unit - Add Stun (falling rock) to (Last created unit)
Unit - Set level of Stun (falling rock) for (Last created unit) to (Custom value of (Dying unit))
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Special Effect - Create a special effect at Point using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit - Remove (Dying unit) from the game
Custom script: call RemoveLocation (udg_Point)
Area Bash - Gives a chanch to slam the area stunning all enemys around you for 1.5 seconds.
No screeny sory
Code:
area bash
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Legendary Warrior
(Level of Area Bash for (Attacking unit)) Greater than 0
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 100) Less than or equal to (5 + (5 x (Level of Area Bash for (Attacking unit))))
Then - Actions
Animation - Play (Attacking unit)'s slam animation
Set Point = (Position of (Triggering unit))
Unit - Create 1 Dummy for (Owner of (Attacking unit)) at Point facing Default building facing (270.0) degrees
Unit - Add area bash (dummy) to (Last created unit)
Unit - Set level of area bash (dummy) for (Last created unit) to (Level of Area Bash for (Attacking unit))
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Custom script: call RemoveLocation (udg_Point)
Else - Actions
Else - Actions
Shockwaves - You slam the ground sending 8 shockwaves a second dealing dammage of the level that Shockwave is learned.
Code:
shockwaves
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set Group = (Units in (Playable map area) matching ((Current order of (Matching unit)) Equal to (Order(channel))))
Unit Group - Pick every unit in Group and do (Actions)
Loop - Actions
For each (Integer A) from 0 to 7, do (Actions)
Loop - Actions
Set Point = (Position of (Picked unit))
Set Point_2 = (Point offset by 100.00 towards (Real((45 x (Integer A)))) degrees)
Unit - Create 1 Dummy for (Owner of (Picked unit)) at (Position of (Picked unit)) facing Default building facing degrees
Unit - Add Shockwave (dummy) to (Last created unit)
Unit - Set level of Shockwave (dummy) for (Last created unit) to (Level of Shockwaves for (Picked unit))
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave Point_2
Custom script: call RemoveLocation (udg_Point)
Custom script: call RemoveLocation (udg_Point_2)
Custom script: call DestroyGroup (udg_Group)