• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[MUI] Shadow Walk v1.1

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
Hello :D this is my first time uploading something on hive.
I hope you like it :D


Skill Tooltip :

Allows the Ninja to become invisible while making illusion of himself along the path. If Ninja attacks a unit when still in fade time, he will not break invisibility. If his mana is too low, it will stop produce illusion.
Drain 5 mana per illusion.
Fade time : 4/3.5/3 seconds.
Movement speed bonus : 10/15/20%
Duration : 20/25/30 seconds.
Backstab damage : 300/450/600


Triggers :


  • Set Hash
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Hashtable - Create a hashtable
      • Set SW_Hash = (Last created hashtable)



  • SW Start
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Shadow Walk
    • Actions
      • -------- Set Variable --------
      • Set SW_Caster = (Triggering unit)
      • Set SW_Point1 = (Position of SW_Caster)
      • Set SW_FacingAngle = (Facing of SW_Caster)
      • Set SW_Timer = 5.00
      • Set SW_Fade = 1.00
      • Unit Group - Add SW_Caster to SW_Group
      • -------- Set Hanshtable --------
      • Hashtable - Save SW_Timer as 1 of (Key (Triggering unit)) in SW_Hash
      • Hashtable - Save SW_Fade as 2 of (Key (Triggering unit)) in SW_Hash
      • Trigger - Turn on SW Loop <gen>



  • SW Loop
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in SW_Group and do (Actions)
        • Loop - Actions
          • -------- Load Hashtable --------
          • Set SW_Timer = (Load 1 of (Key (Picked unit)) from SW_Hash)
          • Set SW_Fade = (Load 2 of (Key (Picked unit)) from SW_Hash)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • SW_Timer Greater than 0.00
              • (Mana of (Picked unit)) Greater than or equal to 5.00
            • Then - Actions
              • -------- Drain Mana Effect --------
              • Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) - 5.00)
              • -------- Set Variable --------
              • Set SW_Point1 = (Position of (Picked unit))
              • Set SW_FacingAngle = (Facing of (Picked unit))
              • -------- Create Shadow Animation --------
              • Unit - Create 1 Dummy Ninja for (Owner of (Picked unit)) at SW_Point1 facing SW_FacingAngle degrees
              • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
              • Animation - Play (Last created unit)'s attack animation
              • Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with (10.00 x SW_Fade)% transparency
              • Animation - Change (Last created unit)'s animation speed to 20.00% of its original speed
              • -------- Remove Leaks --------
              • Custom script: call RemoveLocation(udg_SW_Point1)
              • -------- Save --------
              • Hashtable - Save (SW_Timer - 0.50) as 1 of (Key (Picked unit)) in SW_Hash
              • Hashtable - Save (SW_Fade + 0.50) as 2 of (Key (Picked unit)) in SW_Hash
            • Else - Actions
              • Unit Group - Remove (Picked unit) from SW_Group
              • Hashtable - Clear all child hashtables of child (Key (Picked unit)) in SW_Hash
              • Trigger - Turn off (This trigger)



  • Dummy Dies
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Dummy Ninja
    • Actions
      • Unit - Remove (Triggering unit) from the game



Fixed Things:


Remove dummy when die
Looping trigger turned off
Fixed hashtable
Fixed some SW Loop leaks



Keywords:
Shadow, Walk, Wind, Run, Ninja
Contents

Shadow Walk v1.0 (Map)

Reviews
12th Dec 2015 IcemanBo: Too long as NeedsFix. Rejected. Shadow Walk v1.1 | Reviewed by Maker | 6th Apr 2013 NEEDS FIX Delete Dummy Dies trigger. Set the death time of the dummy to 0, death type to can't raise, does not decay...

Moderator

M

Moderator

12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.


Shadow Walk v1.1 | Reviewed by Maker | 6th Apr 2013
NEEDS FIX


126248-albums6177-picture66522.png


  • Delete Dummy Dies trigger. Set the death time of the dummy to 0,
    death type to can't raise, does not decay
126248-albums6177-picture66523.png


  • Invisible and dead units create visible dummy units
  • Null the point variable after removing it
[tr]




Shadow Walk v1.0 | Reviewed by Maker | 27th Mar 2013
NEEDS FIX


126248-albums6177-picture66522.png


  • Dummy has wrong death type
  • Looping trigger not turned off
  • Refers to last created hashtable in looping trigger
  • SW Loop leaks a point
126248-albums6177-picture66524.png
[tr]
 
Level 6
Joined
Feb 4, 2011
Messages
66
Testing...

Edit:
Well it is a good spell but why did you make the dummies in attack animation?
when i activated the spell and i tried to run around the dummies doesn't match
the casters animation. the death animation of the dummies should be fade
Well maybe there's some reason.

Well this is a good spell after all, giving ideas for some spell makers.
Rating:
3/5 Keep up the good work :D
 
Top