Spellpack 4 Dota Spells

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Another DotA spellpack... :) Sorry if the images don't show correctly the spell... Some of them are almost instant. In game the abilities are not with their original icons, because I couldn't find them.

btnmanaflareed4.png
Dream Coil (Note: no lightning effect)


Puck's powerful imagination engulfs an area, creating coils of volatile magic that damages and stuns enemy unit as it latches on to them. Stretching the coils beyond 600 range causes it to snap and deal additional damage and stun time. Lasts 5 seconds.
Level 1 - Initial: 100 damage and 0.5 seconds stun. Coil break: 100 damage and 1.5 seconds stun.
Level 2 - Initial: 150 damage and 0.5 seconds stun. Coil break: 150 damage and 2.25 seconds stun.
Level 3 - Initial: 200 damage and 0.5 seconds stun. Coil break: 200 damage and 3 seconds stun.

Screenshot: http://img227.imageshack.us/img227/2584/dreamcoilsw3.jpg
Code:
Dream Coil
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Dream Coil 
    Actions
        Set DC_Caster = (Triggering unit)
        Set DC_TargetPos = (Target point of ability being cast)
        Unit - Create 1 Dream Coil Dummy for (Owner of DC_Caster) at DC_TargetPos facing Default building facing degrees
        Custom script:   call RemoveLocation (udg_DC_TargetPos)
        Set DC_LastC = (Last created unit)
        Animation - Play DC_LastC's channel animation
        Set DC_LastCPos = (Position of DC_LastC)
        Set DC_Group = (Units within 600.00 of DC_LastCPos matching (((Matching unit) is A Hero) Equal to True))
        Unit Group - Pick every unit in DC_Group and do (Actions)
            Loop - Actions
                Unit - Create 1 Dummy Unit for (Owner of DC_Caster) at DC_LastCPos facing Default building facing degrees
                Unit - Add Dream Coil Dummy Ability  to (Last created unit)
                Unit - Set level of Dream Coil Dummy Ability  for (Last created unit) to (Level of Dream Coil  for DC_Caster)
                Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
                Unit - Remove Dream Coil  buff from (Target unit of ability being cast)
                Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
        Custom script:   call RemoveLocation (udg_DC_LastCPos)
        Custom script:   call DestroyGroup (udg_DC_Group)
        Trigger - Turn on Dream Coil Ending <gen>
        Wait 5.00 seconds
        Trigger - Turn off Dream Coil Ending <gen>
        Unit - Kill DC_LastC
        Custom script:   call RemoveLocation (udg_DC_PickUPos)



Code:
Dream Coil Ending
    Events
        Time - Every 0.05 seconds of game time
    Conditions
        (DC_Caster is alive) Equal to True
    Actions
        Set DC_LastCPos = (Position of DC_LastC)
        Set DC_Group = (Units in (Playable map area) matching (((Matching unit) has buff Dream Coil ) Equal to True))
        Unit Group - Pick every unit in DC_Group and do (Actions)
            Loop - Actions
                Set DC_PickUPos = (Position of (Picked unit))
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Distance between DC_LastCPos and DC_PickUPos) Greater than or equal to 601.00
                    Then - Actions
                        Unit - Create 1 Dummy Unit for (Owner of DC_Caster) at DC_LastCPos facing Default building facing degrees
                        Unit - Add Dream Coil Dummy Ability (Leave Rect)  to (Last created unit)
                        Unit - Set level of Dream Coil Dummy Ability (Leave Rect)  for (Last created unit) to (Level of Dream Coil  for DC_Caster)
                        Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
                        Unit - Remove Dream Coil  buff from (Target unit of ability being cast)
                        Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
                        Unit - Kill DC_LastC
                        Trigger - Turn off (This trigger)
                    Else - Actions
                Custom script:   call RemoveLocation (udg_DC_PickUPos)
        Custom script:   call DestroyGroup (udg_DC_Group)
        Custom script:   call RemoveLocation (udg_DC_LastCPos)

----------------------------------------------------------------------------------

btndualbreathsx8.png
Dual Breath


Jakiro's twin heads let loose an icy blast followed closely by a wave of fire, each dealing initial damage. Enemy units are both slowed and dealt fire damage per second for 4 seconds.
Level 1 - 35 damage per wave, 5 fire damage per second.
Level 2 - 70 damage per wave, 10 fire damage per second.
Level 3 - 105 damage per wave, 15 fire damage per second.
Level 4 - 140 damage per wave, 20 fire damage per second.

Screenshot: http://img81.imageshack.us/img81/5189/dualbreathau5.jpg
Code:
Dual Breath
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Dual Breath 
    Actions
        Set DB_Caster = (Triggering unit)
        Set DB_CasterPos = (Position of DB_Caster)
        Unit - Create 1 Dummy Unit for (Owner of DB_Caster) at DB_CasterPos facing Default building facing degrees
        Custom script:   call RemoveLocation (udg_DB_CasterPos)
        Unit - Add Dual Breath Dummy  to (Last created unit)
        Unit - Set level of Dual Breath Dummy  for (Last created unit) to (Level of Dual Breath  for DB_Caster)
        Set DB_TargetPos = (Target point of ability being cast)
        Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire DB_TargetPos
        Custom script:   call DestroyGroup (udg_DB_Group)
        Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
        Wait 0.27 seconds
        Set DB_MapCenter = (Center of (Playable map area))
        Set DB_Group = (Units in (Playable map area) matching (((Matching unit) has buff Dual Breath ) Equal to True))
        Unit Group - Pick every unit in DB_Group and do (Actions)
            Loop - Actions
                Unit - Create 1 Dummy Unit for (Owner of DB_Caster) at DB_MapCenter facing Default building facing degrees
                Unit - Add Dual Breath Slow  to (Last created unit)
                Unit - Set level of Dual Breath Slow  for (Last created unit) to (Level of Dual Breath  for DB_Caster)
                Unit - Order (Last created unit) to Undead Lich - Frost Nova (Picked unit)
                Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
        Custom script:   call RemoveLocation (udg_DB_MapCenter)
        Custom script:   call DestroyGroup (udg_DB_Group)

----------------------------------------------------------------------------------

btnspellshadowshadowworbc6.png
Shadow Word


A single word causes powerful magics to envelop the target. Creates a healing mechanism on a friendly target or damages an unfriendly one. Does not dispel on attack. Lasts 8 seconds.
Level 1 - Heals or damages 10 hit points per second.
Level 2 - Heals or damages 20 hit points per second.
Level 3 - Heals or damages 30 hit points per second.
Level 4 - Heals or damages 40 hit points per second.

Screenshot: http://img81.imageshack.us/img81/7352/shadowwordrw8.jpg
Code:
Shadow Word
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Shadow Word 
    Actions
        Set SW_Caster = (Triggering unit)
        Set SW_Target = (Target unit of ability being cast)
        Set SW_Level = (Real((Level of Shadow Word  for SW_Caster)))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (SW_Target belongs to an ally of (Owner of SW_Caster)) Equal to True
            Then - Actions
                Special Effect - Create a special effect attached to the chest of SW_Target using Abilities\Spells\Items\StaffOfSanctuary\Staff_Sanctuary_Target.mdl
                Set SW_SpecialEffect = (Last created special effect)
            Else - Actions
                Special Effect - Create a special effect attached to the chest of SW_Target using Abilities\Spells\Orc\Voodoo\VoodooAuraTarget.mdl
                Set SW_SpecialEffect = (Last created special effect)
        Trigger - Turn on Shadow Word Periodic <gen>
        Wait 8.00 seconds
        Trigger - Turn off Shadow Word Periodic <gen>
        Special Effect - Destroy SW_SpecialEffect



Code:
Shadow Word Periodic
    Events
        Time - Every 0.99 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (SW_Target belongs to an ally of (Owner of SW_Caster)) Equal to True
            Then - Actions
                Unit - Set life of SW_Target to ((Life of SW_Target) + (10.00 x SW_Level))
            Else - Actions
                Unit - Set life of SW_Target to ((Life of SW_Target) - (10.00 x SW_Level))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (SW_Target is alive) Equal to False
            Then - Actions
                Special Effect - Destroy SW_SpecialEffect
                Trigger - Turn off (This trigger)
            Else - Actions

----------------------------------------------------------------------------------

btnspellshadowteleportod4.png
Vacuum


Creates an abyss upon a chosen parameter, pulling in and damaging foes in the area.
Level 1 - 60 Damage, 300 AoE.
Level 2 - 120 Damage, 400 AoE.
Level 3 - 180 Damage, 500 AoE.
Level 4 - 240 Damage, 600 AoE.

Screenshot: http://img228.imageshack.us/img228/4259/vacuumyd5.jpg
Code:
Vacuum
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Vacuum 
    Actions
        Set V_TargetPos = (Target point of ability being cast)
        Set V_Group = (Units within (200.00 + (100.00 x (Real((Level of Vacuum  for (Triggering unit)))))) of V_TargetPos matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to False)))
        Unit Group - Pick every unit in V_Group and do (Actions)
            Loop - Actions
                Unit - Move (Picked unit) instantly to V_TargetPos
                Unit - Cause (Triggering unit) to damage (Picked unit), dealing (60.00 x (Real((Level of Vacuum  for (Triggering unit))))) damage of attack type Spells and damage type Normal
        Special Effect - Create a special effect at V_TargetPos using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script:   call RemoveLocation (udg_V_TargetPos)
        Custom script:   call DestroyGroup (udg_V_Group)

Start replying :p

Edit 1: Fixed Vacuum not to pull structures
Edit 2: Reduced lag from Dual Breath and fixed Vacuum's pull AoE (it was twice bigger)
Edit 3: Fixed Dream Coil which stunned 0.50 seconds when a unit leaves the AoE, instead of stunning 1.5, 2.25, 3.0. Fixed Dual Breath to slow. All bugs removed.
 

Attachments

  • DotA Spellpack (by cr4xzZz).w3x
    81.2 KB · Views: 1,930

Tinki3

Special Member
Reaction score
418
Good, and leakless too ;).

Dream coil doesn't work for me though.
I noticed that you missed the "coil" part (no lightning effects) :p.

Vacuum: structures can also be grouped in that variable, I advise to also filter non-structure-types.
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
>Vacuum: structures can also be grouped in that variable, I advise to also filter non-structure-types.

Done :) Now structures can't be vacuumed
 

Doomhammer

Bob Kotick - Gamers' corporate spoilsport No. 1
Reaction score
67
nice icons!
the dual breath thingy lags on first call, btw.
Does dream coil actually do anything, or ist just an effect?
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Dream coil works perfectly for me, but I didn't add the lightning effect, because when I tried it bugged. Don't know why Dual Breath lags... I removed all leaks.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
Personally, i dont suffer any lag from Dual Breaths...
How about:
Code:
Dual Breath
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Dual Breath 
    Actions
        Set DB_CasterPos = (Position of (Triggering unit))
        Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at DB_CasterPos facing Default building facing degrees
        Custom script:   call RemoveLocation (udg_DB_CasterPos)
        Unit - Add Dual Breath Dummy  to (Last created unit)
        Unit - Set level of Dual Breath Dummy  for (Last created unit) to (Level of Dual Breath  for (Triggering unit))
        Set DB_TargetPos = (Target point of ability being cast)
        Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
        Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire DB_TargetPos
        Custom script:   call RemoveLocation (udg_DB_TargetPos)

Or is the lag from your Display Damage System?
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Maybe the lag is from your computer? Because my first Dual Breath also lags, but thats from my comp (0.8 Ghz, 256 Ram, 64 mb Video)...

Anyway should I change the code with the one you posted, GaLs?
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
>>Maybe the lag is from your computer?
Well, I think that you have mistaken what i was trying to say...
I said I don;t suffer any lag from Dual Breaths as you said you lag when you cast dual breaths...and i mention that is it lag from the DD system?..

>>Anyway should I change the code with the one you posted, GaLs?
Anything you like, the different are just removing the unit faster and the lag last shorter.
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Don't know anything about the DD system... This map is a template from The Hive Workshop. I don't know JASS codes :D Later I'll fix the trigger code, 'cuz I have work to do..

EDIT: Fixed Dual Breath and Vacuum (Vacuum pulled units from 300/600/900/1200 range instead of 300/400/500/600)
 

0zaru

Learning vJASS ;)
Reaction score
60
That's what he is saying The spell pulled 300/600/900/1200 instead of 300/400/500/600
 

Naminator

Coming Back To Life
Reaction score
76
That's what he is saying The spell pulled 300/600/900/1200 instead of 300/400/500/600

Well it's wrong. It should be 300/400/500/600, not 300/600/900/1200. But it's simple to configure, but it should be better if you put the real AoE.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
>>For some reason the spell doesn't slow. I tried adding the "Slowed" buff instead of Breath of Frost but it also didn't work.
Hmm, you just base off 2 skill by Breath of Fire and Breath of Frost.
Add BoFire to the dragon and BoFrost as a triggered spell.

Everytime the dragon cast BoFire, wait .2 second before casting BoFrost.
(Ofcourse, make 2 different buff for BoFire and BoFrost)
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Naminator, I'm telling that I fixed it to 300/400/500/600, because it was 300/600/900/1200 ! :)

Is there any difference between which breath will be casted first?
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
>>Is there any difference between which breath will be casted first?
Actually no, but in DotA. Fire breath first :p
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
I couldn't remember which breath was first... I followed the description - the first is "the icy blast" :)
I didn't understand the part with the slow. Is it possible to be fixed?
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
>>I didn't understand the part with the slow. Is it possible to be fixed?
Ofcourse it can.
You could just adjust the Breath of Frost Object Editor options. (Duration, etc)
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Well, I edited everything... But no effect. Which field do I have to change? I made the duration to 4 seconds and I edited the buff (name and description).
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top