Spellpack 3 Dota Spells

w00t22

CSS L4D DoD? Steam ID = w00t22
Reaction score
43
[DotA Spells] 3 Spells
Static Field, Thundergods Wrath and Heat Seeking Missile.

All GUI, MUI (somewhat), leakless (if not just tell me please).

Code:
[IMG]http://www.dota-allstars.com/images/lists/PASBTNZeusStatic.gif[/IMG]
Static Field

Whenever Zeus casts a spell, he shocks all nearby enemy heroes for a percentage of their current hit points as damage.
Affects an area of effect of 800.

Level 1 - Shocks for 5% of current hit points.
Level 2 - Shocks for 7% of current hit points.
Level 3 - Shocks for 9% of current hit points.
Level 4 - Shocks for 11% of current hit points.

Passive

Picture

Code
Code:
Static Field
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Level of Static Field  for (Triggering unit)) Greater than or equal to 1
    Actions
        Set Caster = (Triggering unit)
        Set CasterPlayer = (Owner of Caster)
        Set spell_lvl = (Level of Static Field  for Caster)
        Set l = (Position of Caster)
        Set Heroes = (Units within 800.00 of l matching ((((Matching unit) is A Hero) Equal to True) and ((CasterPlayer is an enemy of (Owner of (Matching unit))) Equal to True)))
        Unit Group - Pick every unit in Heroes and do (Actions)
            Loop - Actions
                Set Target = (Picked unit)
                Set Damage = ((Life of Target) x (0.03 + ((Real(spell_lvl)) x 0.02)))
                Unit - Cause Caster to damage Target, dealing Damage damage of attack type Spells and damage type Normal
                Special Effect - Create a special effect attached to the chest of Target using Abilities\Spells\Items\AIlb\AIlbSpecialArt.mdl
                Special Effect - Destroy (Last created special effect)
                Custom script:   set udg_Target = null
        Custom script:   set udg_Caster = null
        Custom script:   call RemoveLocation (udg_l)
        Custom script:   call DestroyGroup (udg_Heroes)

Code:
[IMG]http://www.dota-allstars.com/images/lists/BTNSpell_Holy_SealOfMight.gif[/IMG]
Thundergod's Wrath

Strikes down all enemy heroes with a bolt of lightning.

Level 1 - Deals 210 damage.
Level 2 - Deals 335 damage.
Level 3 - Deals 460 damage.

Cooldown: 120 seconds.

Level 1: 225 mana, 120 sec cooldown.
Level 2: 325 mana, 120 sec cooldown.
Level 3: 450 mana, 120 sec cooldown.

Picture

Code
Code:
Thunder Gods Wrath
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Thunder Gods Wrath 
    Actions
        Set Caster = (Triggering unit)
        Set CasterPlayer = (Owner of Caster)
        Set Heroes = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and ((CasterPlayer is an enemy of (Owner of (Matching unit))) Equal to True)))
        Unit Group - Pick every unit in Heroes and do (Actions)
            Loop - Actions
                Set Target = (Picked unit)
                Set l = (Position of Target)
                Unit - Create 1 Dummy for CasterPlayer at l facing Default building facing degrees
                Set Dummy = (Last created unit)
                Unit - Set level of Dummy TGW  for Dummy to spell_lvl
                Unit - Order Dummy to Orc Far Seer - Chain Lightning Target
                Unit - Add a 2.00 second Generic expiration timer to Dummy
                Custom script:   set udg_Target = null
                Custom script:   set udg_Dummy = null
                Custom script:   call RemoveLocation (udg_l)
        Custom script:   set udg_Caster = null
        Custom script:   call DestroyGroup (udg_Heroes)

Code:
[IMG]http://www.dota-allstars.com/images/lists/BTNClusterRockets.gif[/IMG]
Heat Seeking Missile

The Tinker fires a rocket at the nearest visible enemy hero. Range of 2500.

Level 1 - 100 damage.
Level 2 - 175 damage.
Level 3 - 250 damage, 2 targets.
Level 4 - 325 damage, 2 targets.

Cooldown: 25 seconds.

Level 1: 120 mana, 25 sec cooldown.
Level 2: 140 mana, 25 sec cooldown.
Level 3: 160 mana, 25 sec cooldown.
Level 4: 180 mana, 25 sec cooldown.

Picture

Code
Code:
Heat Seeking Missles
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Heat Seeking Missles 
    Actions
        Set shortestdis = 2500.00
        Set Caster = (Triggering unit)
        Set CasterPlayer = (Owner of Caster)
        Set spell_lvl = (Level of Heat Seeking Missles  for Caster)
        Set l = (Position of Caster)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                spell_lvl Greater than or equal to 3
            Then - Actions
                Set targets = 2
            Else - Actions
                Set targets = 1
        Set Heroes = (Units within 2500.00 of l matching ((((Matching unit) is A Hero) Equal to True) and ((CasterPlayer is an enemy of (Owner of (Matching unit))) Equal to True)))
        Unit Group - Pick every unit in Heroes and do (Actions)
            Loop - Actions
                Set Target = (Picked unit)
                Set l2 = (Position of Target)
                Set distance = (Distance between l and l2)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        distance Less than shortestdis
                    Then - Actions
                        Set shortestdis = distance
                        Set missletarget = Target
                        Custom script:   set udg_Target = null
                        Custom script:   call RemoveLocation (udg_l2)
                    Else - Actions
                        Custom script:   set udg_Target = null
                        Custom script:   call RemoveLocation (udg_l2)
        Unit Group - Remove missletarget from Heroes
        Set shortestdis = 2500.00
        Unit - Create 1 Dummy2 for CasterPlayer at l facing Default building facing degrees
        Set Dummy = (Last created unit)
        Unit - Set level of Dummy HSM  for Dummy to spell_lvl
        Unit - Order Dummy to Human Mountain King - Storm Bolt missletarget
        Unit - Add a 2.00 second Generic expiration timer to Dummy
        Custom script:   set udg_Dummy = null
        Custom script:   set udg_missletarget = null
        Unit Group - Pick every unit in Heroes and do (Actions)
            Loop - Actions
                Set Target = (Picked unit)
                Set l2 = (Position of Target)
                Set distance = (Distance between l and l2)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        distance Less than shortestdis
                    Then - Actions
                        Set shortestdis = distance
                        Set missletarget = Target
                        Custom script:   set udg_Target = null
                        Custom script:   call RemoveLocation (udg_l2)
                    Else - Actions
                        Custom script:   set udg_Target = null
                        Custom script:   call RemoveLocation (udg_l2)
        Unit Group - Remove missletarget from Heroes
        Set shortestdis = 2500.00
        Unit - Create 1 Dummy2 for CasterPlayer at l facing Default building facing degrees
        Set Dummy = (Last created unit)
        Unit - Set level of Dummy HSM  for Dummy to spell_lvl
        Unit - Order Dummy to Human Mountain King - Storm Bolt missletarget
        Unit - Add a 2.00 second Generic expiration timer to Dummy
        Custom script:   set udg_Dummy = null
        Custom script:   set udg_missletarget = null
        Custom script:   call RemoveLocation (udg_l)
        Custom script:   set udg_Caster = null

Comments are greatly appreciated!
 

Attachments

  • DotA Spells.w3x
    40.6 KB · Views: 474

w00t22

CSS L4D DoD? Steam ID = w00t22
Reaction score
43
holy crap really? well i made a triggered version lol
 

NetherHawk

New Member
Reaction score
26
haha.. lol.. yea its just heat seeking missles.
Your pictures are abit messy btw >.> think u mixed up static and thundergod's
 

w00t22

CSS L4D DoD? Steam ID = w00t22
Reaction score
43
yea i did fixing now, nobody wants to comment? or are these bad spells to make? tell me a good spell 2 make and i will try working on spectre dagger
 

emjlr3

Change can be a good thing
Reaction score
395
some of the easiest spells out there

denied
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top