Spell DeathNova

HellCraft

Member
Reaction score
19
My first spell, and its in GUI.
Not sure if its leakless.


DeathNova[D]:
Releases 8 death bolts around the hero which deal massive damage to nearby units, units that are effected will get overwhelmed by darkness and take damage over time.

Code:
FireNova Cast
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to DeathNova 
    Actions
        Set DeathNova_Caster = (Casting unit)
        Set DeathNova_Lvl = (Real((Level of DeathNova  for DeathNova_Caster)))
        Set DeathNova_CasterLoc = (Position of DeathNova_Caster)
        For each (Integer A) from 1 to 8, do (Actions)
            Loop - Actions
                Set DeathNova_MoveLoc[(Integer A)] = (DeathNova_CasterLoc offset by 500.00 towards (45.00 x (Real((Integer A)))) degrees)
                Unit - Create 1 DeathBolt Dummy for (Owner of DeathNova_Caster) at DeathNova_CasterLoc facing Default building facing degrees
                Set DeathNova_Bolt[(Integer A)] = (Last created unit)
                Unit - Order DeathNova_Bolt[(Integer A)] to Move To DeathNova_MoveLoc[(Integer A)]
                Trigger - Add to FireNova Damage <gen> the event (Unit - A unit comes within 200.00 of (Last created unit))
                Custom script:   call RemoveLocation(udg_DeathNova_MoveLoc[bj_forLoopAIndex])
        Custom script:   call RemoveLocation(udg_DeathNova_CasterLoc)
        Wait 2.00 seconds
        Trigger - Run DeathNova Remove <gen> (ignoring conditions)
Code:
FireNova Damage
    Events
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Triggering unit) belongs to an enemy of (Owner of DeathNova_Caster)) Equal to True
            Then - Actions
                Set DeathNova_EnemyLoc = (Position of (Triggering unit))
                Unit - Cause DeathNova_Caster to damage (Triggering unit), dealing (100.00 x DeathNova_Lvl) damage of attack type Spells and damage type Normal
                Unit - Create 1 Dummy Caster for (Owner of DeathNova_Caster) at DeathNova_EnemyLoc facing Default building facing degrees
                Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike (Triggering unit)
                Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                Custom script:   call RemoveLocation(udg_DeathNova_EnemyLoc)
            Else - Actions
                Do nothing
Code:
DeathNova Remove
    Events
    Conditions
    Actions
        For each (Integer A) from 1 to 8, do (Actions)
            Loop - Actions
                Unit - Kill DeathNova_Bolt[(Integer A)]

DarkNova3.png

DarkNova2.png

DarkNova1.png

Hope you like it, please post if you like it or dont like it.
 

HellCraft

Member
Reaction score
19
i would like to post screenshots but i dunno how to take them.
Please tell me if you know how to do so.
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
you could remove the Remove trigger and instead give the units at creating an expiration timer
 

HellCraft

Member
Reaction score
19
yea i tried that but there was some problem:
the dummy unit death location was still counted as a location. So, if you cast a DeathNova somewhere else, units near your previous casted location will also take damage and get that buff.
 
P

PirosThe4th

Guest
i would like to post screenshots but i dunno how to take them.
Please tell me if you know how to do so.

Press PrintScreen when you cast the spell, and then Ctrl + V in Paint. Resize the image, save it as .PNG [(Pronounced Ping). It's lossless, but takes less size than a .BMP file], then upload it to a site (I suggest photobucket.com).

I see no leaks right now, so it should be okay. Also, a description of the spell here would help know what exactly this spell does.
 

NapaHero

Back from the dead...
Reaction score
43
Incredibly simple spell. You could've added extra special effects when the bolts die, which then would damage nearby enemy units. I also suggest that you change the buff of Shadow Strike to something ''darker''.

However, it is a good spell to a hero, so +rep :thup:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top