Exide
I am amazingly focused right now!
- Reaction score
- 448
This is my second spellpack.
It's nothing fancy, but I felt I had to share my ideas somehow. So here it is.
JASS: Yes.
MUI: Yes, hopefully!
Leaks: Hope not.
Phantom Strike
Code:
Screenshot:
Calculated Strike
Code:
Screenshot:
Banish
Code:
Screenshot:
Time Stopper
Screenshot:
N/A. This ability was too difficult to get a proper Screenie of.
None of the Screenies were really good, I suggest you download the attached map, and check them out yourself.
I hope anyone likes these spells.
Enjoy.
LAST EDIT: Updated almost everything. Made the JASS-coded spells MUI, I believe, and slightly optimized some further. Updated the map to v1.2. I Also added a custom icon (BTNothing.blp, to better hide the spellbook - Calculated Strike.)
It's nothing fancy, but I felt I had to share my ideas somehow. So here it is.
JASS: Yes.
MUI: Yes, hopefully!
Leaks: Hope not.
Phantom Strike
Code:
The Phantom Warrior moves in a sub-dimension, in order to appear next to the target, stunning them for a while, and dealing large damage in a small radius!
Code:
Code:
Phantom Strike
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Phantom Strike
Actions
Set PhanStrikeLoc1 = (Position of (Triggering unit))
Special Effect - Create a special effect at PhanStrikeLoc1 using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_PhanStrikeLoc1)
Set PhanStrikeLoc2 = (Position of (Target unit of ability being cast))
Animation - Change (Triggering unit)'s vertex coloring to (70.00%, 70.00%, 70.00%) with 50.00% transparency
Unit - Make (Triggering unit) Invulnerable
Unit - Move (Triggering unit) instantly to PhanStrikeLoc2
Set PhanStrikeLoc1 = (Position of (Triggering unit))
Special Effect - Create a special effect at PhanStrikeLoc1 using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
Environment - Create a 1.00 second Normal ripple deformation at PhanStrikeLoc2 with starting radius 300.00, ending radius 500.00, and depth 35.00, using 0.25 second ripples spaced 25.00 apart
If ((Level of (Ability being cast) for (Triggering unit)) Equal to 1) then do (Unit - Cause (Triggering unit) to damage circular area after 0.01 seconds of radius 300.00 at PhanStrikeLoc1, dealing 180.00 damage of attack type Normal and damage type Normal) else do (Do nothing)
If ((Level of (Ability being cast) for (Triggering unit)) Equal to 2) then do (Unit - Cause (Triggering unit) to damage circular area after 0.01 seconds of radius 400.00 at PhanStrikeLoc1, dealing 270.00 damage of attack type Normal and damage type Normal) else do (Do nothing)
If ((Level of (Ability being cast) for (Triggering unit)) Equal to 3) then do (Unit - Cause (Triggering unit) to damage circular area after 0.01 seconds of radius 500.00 at PhanStrikeLoc1, dealing 360.00 damage of attack type Normal and damage type Normal) else do (Do nothing)
Wait 0.02 seconds
Unit - Make (Triggering unit) Vulnerable
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_PhanStrikeLoc1)
Custom script: call RemoveLocation(udg_PhanStrikeLoc2)
Wait 2.00 seconds
Animation - Change (Triggering unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Screenshot:
Calculated Strike
Code:
The Phantom Warrior starts searching for weak spots in it's enemies armor, every 4th strike will become devestating!
Code:
Code:
Calculated Strike
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) has buff Calculated Strike (Buff) ) Equal to True
Actions
Set CalcStrikeCountMUI[(Custom value of (Attacking unit))] = (CalcStrikeCountMUI[(Custom value of (Attacking unit))] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
CalcStrikeCountMUI[(Custom value of (Attacking unit))] Equal to 4
Then - Actions
Unit - Add Calc Spellbook to (Attacking unit)
Player - Disable Calc Spellbook for (Owner of (Attacking unit))
Unit - Set level of Calculated Strike (Crit hit) for (Attacking unit) to (Level of Calculated Strike for (Attacking unit))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
CalcStrikeCountMUI[(Custom value of (Attacking unit))] Equal to 6
Then - Actions
Player - Enable Calc Spellbook for (Owner of (Attacking unit))
Unit - Remove Calculated Strike (Crit hit) from (Attacking unit)
Unit - Remove Calc Spellbook from (Attacking unit)
Set CalcStrikeCountMUI[(Custom value of (Attacking unit))] = 1
Else - Actions
Screenshot:
Banish
Code:
The Phantom Warrior banishes target enemy unit into another dimension for a few seconds, dealing terrible damage to it!
Code:
Code:
Banish
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Banish
Actions
Wait 0.20 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Target unit of ability being cast)) Greater than or equal to 1.00
Then - Actions
Set BanishTarget = (Target unit of ability being cast)
Set BanishLoc = (Position of (Target unit of ability being cast))
Unit - Pause BanishTarget
Unit - Hide BanishTarget
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
Special Effect - Create a special effect at BanishLoc using Abilities\Spells\NightElf\FaerieDragonInvis\FaerieDragon_Invis.mdl
Wait 0.20 seconds
Special Effect - Destroy (Last created special effect)
Wait (Real((Level of Banish for (Triggering unit)))) seconds
Unit - Unhide BanishTarget
Unit - Unpause BanishTarget
Custom script: call RemoveLocation(udg_BanishLoc)
Else - Actions
Screenshot:
Time Stopper
Code:
The Phantom Warrior uses her greatest power, and stops time for all units in a huge area, except herself. She will be able to move freely during this time, without anyone noticing until it is too late!
Code:
Time Stopper
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Time Stopper
Actions
Set TimeStopper = (Triggering unit)
Set TimeStopperLoc = (Position of (Triggering unit))
Set TimeStopperGroup = (Units within 1200.00 of TimeStopperLoc)
Unit Group - Pick every unit in TimeStopperGroup and do (Unit - Pause (Picked unit))
Unit - Unpause TimeStopper
Game - Set time of day speed to 0.00% of the default speed
Environment - Create a 4.00 second Normal ripple deformation at TimeStopperLoc with starting radius 200.00, ending radius 1300.00, and depth 50.00, using 1.00 second ripples spaced 40.00 apart
Special Effect - Create a special effect at TimeStopperLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Wait 1.00 seconds
Special Effect - Destroy (Last created special effect)
Wait 9.00 seconds
Unit Group - Pick every unit in TimeStopperGroup and do (Unit - Unpause (Picked unit))
Game - Set time of day speed to 100.00% of the default speed
Custom script: call RemoveLocation(udg_TimeStopperLoc)
Custom script: call DestroyGroup(udg_TimeStopperGroup)
Screenshot:
N/A. This ability was too difficult to get a proper Screenie of.
None of the Screenies were really good, I suggest you download the attached map, and check them out yourself.
I hope anyone likes these spells.
Enjoy.
LAST EDIT: Updated almost everything. Made the JASS-coded spells MUI, I believe, and slightly optimized some further. Updated the map to v1.2. I Also added a custom icon (BTNothing.blp, to better hide the spellbook - Calculated Strike.)