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!