• 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.

Nether Swap Custom v1.0

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
This skills almost same like DotA's Nether Swap but this skills i adds damage, Level 1 - 100+(2xHero's Agi), Level 2- 200+(2xHero's Agi), Level 3- 300+(2xHero's Agi).

Keywords:
N
Contents

Nether Swap Custom v1.0 (Map)

Reviews
12th Dec 2015 IcemanBo: Too long as NeedsFix. Rejected. Nether Swap Custom v1.0 - Reviewed by Maker - 15th Feb 2012 Needs Fix Required changes Fix leaks Make it MUI, get rid of the waits Useful Links Things that leak Hashtables...
Level 8
Joined
Apr 1, 2011
Messages
91
oh god this is terrible :(

  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Nether Swap
  • Actions
    • -------- Variables --------
    • Set NS_Caster = (Casting unit)
    • Set NS_Target = (Target unit of ability being cast)
    • Set NS_Point[1] = (Position of NS_Caster)
    • Set NS_Point[2] = (Position of NS_Target)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Level of Nether Swap for NS_Caster) Equal to 1
      • Then - Actions
        • Wait 0.01 seconds
        • -------- Sin este wait, el spell no llega a usarse, y el cooldown no corre. --------
        • Unit - Move NS_Caster instantly to NS_Point[2]
        • Unit - Move NS_Target instantly to NS_Point[1]
        • Lightning - Create a lightning effect Spirit Link NS_Point[1] NS_Point[2]
        • Lightning - Change (Last created lightning effect) color to 0.35 0.00 3.00 5.00
        • Set NS_Lighting = (Last created lightning effect)
        • Special Effect - Create a special effect attached to the origin of NS_Target using Objects\Spawnmodels\Other\FlameThrower\FlameThrowerSpawnObj.mdl
        • Unit - Cause NS_Caster to damage NS_Target, dealing (100.00 + (2.00 x (Real((Agility of NS_Caster (Exclude bonuses)))))) damage of attack type Spells and damage type Normal
        • Special Effect - Destroy (Last created special effect)
        • Wait 0.60 seconds
        • Lightning - Destroy NS_Lighting
      • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Nether Swap for NS_Caster) Equal to 2
          • Then - Actions
            • Wait 0.01 seconds
            • -------- Sin este wait, el spell no llega a usarse, y el cooldown no corre. --------
            • Unit - Move NS_Caster instantly to NS_Point[2]
            • Unit - Move NS_Target instantly to NS_Point[1]
            • Lightning - Create a lightning effect Spirit Link NS_Point[1] NS_Point[2]
            • Lightning - Change (Last created lightning effect) color to 0.35 0.00 3.00 5.00
            • Set NS_Lighting = (Last created lightning effect)
            • Special Effect - Create a special effect attached to the origin of NS_Target using Objects\Spawnmodels\Other\FlameThrower\FlameThrowerSpawnObj.mdl
            • Unit - Cause NS_Caster to damage NS_Target, dealing (200.00 + (2.00 x (Real((Agility of NS_Caster (Exclude bonuses)))))) damage of attack type Spells and damage type Normal
            • Special Effect - Destroy (Last created special effect)
            • Wait 0.60 seconds
            • Lightning - Destroy NS_Lighting
          • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Level of Nether Swap for NS_Caster) Equal to 3
              • Then - Actions
                • Wait 0.01 seconds
                • -------- Sin este wait, el spell no llega a usarse, y el cooldown no corre. --------
                • Unit - Move NS_Caster instantly to NS_Point[2]
                • Unit - Move NS_Target instantly to NS_Point[1]
                • Lightning - Create a lightning effect Spirit Link NS_Point[1] NS_Point[2]
                • Lightning - Change (Last created lightning effect) color to 0.35 0.00 3.00 5.00
                • Set NS_Lighting = (Last created lightning effect)
                • Special Effect - Create a special effect attached to the origin of NS_Target using Objects\Spawnmodels\Other\FlameThrower\FlameThrowerSpawnObj.mdl
                • Unit - Cause NS_Caster to damage NS_Target, dealing (300.00 + (2.00 x (Real((Agility of NS_Caster (Exclude bonuses)))))) damage of attack type Spells and damage type Normal
                • Special Effect - Destroy (Last created special effect)
                • Wait 0.60 seconds
                • Lightning - Destroy NS_Lighting
              • Else - Actions
                • Do nothing
Links Tutorials please give to this guy, really need read :(
 
Here you go perfectly fine Nether Swap.
  • Nether Swap
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Nether Swap
    • Actions
      • Custom script: local real x1 = GetUnitX(GetTriggerUnit())
      • Custom script: local real y1 = GetUnitY(GetTriggerUnit())
      • Custom script: local real x2 = GetUnitX(GetSpellTargetUnit())
      • Custom script: local real y2 = GetUnitY(GetSpellTargetUnit())
      • Custom script: call SetUnitX(GetSpellTargetUnit(), x1)
      • Custom script: call SetUnitY(GetSpellTargetUnit(), y1)
      • Custom script: call SetUnitX(GetTriggerUnit(), x2)
      • Custom script: call SetUnitY(GetTriggerUnit(), y2)
Lightning effect, range, mana and everything else can be set in object editor, just base
spell on Finger of Death and you are done.

Don't act smart, storing units in variables is useless here. If you use location and GUI you
must use wait 0.00 seconds, or otherwise spell will ignore casting backswing time and
spell cooldown and maybe even mana cost won't be triggered.
 
Top