Spellpack Hero: Voodoo Lich

Vestras

Retired
Reaction score
248
Jass/Gui: Gui
MUI:No Idea
Imported: Jup.


Voodoo Lich

The Voodoo Lich is a Lich that had too much interest in Voodoo, so it was kicked out from the Undead Army, and went abroad. Fear him.


[Shadow Impact]

Slams the ground, and a Nova of Darkness is created. Out of the Nova streams 3/5/7 Zombies to fight for the caster.

Code:
Shadow Impact Create
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Shadow Impact 
    Actions
        If ((Level of Shadow Impact  for (Casting unit)) Equal to 1) then do (Unit - Create 3 Zombie for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees) else do (Do nothing)
        If ((Level of Shadow Impact  for (Casting unit)) Equal to 2) then do (Unit - Create 5 Zombie for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees) else do (Do nothing)
        If ((Level of Shadow Impact  for (Casting unit)) Equal to 3) then do (Unit - Create 7 Zombie for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees) else do (Do nothing)
        Special Effect - Create a special effect attached to the chest of (Casting unit) using war3mapImported\DarkNova.mdx
        Special Effect - Destroy (Last created special effect)

WC3ScrnShot_122907_142435_02.jpg

[Shadow Bomb]

Hurls a bolt of damaging shadow at a target enemy that jumps to nearby enemies. Each jump deals less damage.

Code:
No code here

[Shadow Aura]

When a unit attacks, it takes damage.

Code:
Shadow Aura Learn
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Shadow Aura 
    Actions
        Set SA_Unit = (Learning Hero)

Code:
Shadow Aura Effect
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) has buff Shadow Aura ) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Shadow Aura  for SA_Unit) Equal to 1
            Then - Actions
                Unit - Cause (Attacked unit) to damage (Attacking unit), dealing 20.00 damage of attack type Spells and damage type Normal
                Special Effect - Create a special effect attached to the chest of (Attacking unit) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
                Special Effect - Destroy (Last created special effect)
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Shadow Aura  for SA_Unit) Equal to 2
            Then - Actions
                Unit - Cause (Attacked unit) to damage (Attacking unit), dealing 50.00 damage of attack type Spells and damage type Normal
                Special Effect - Create a special effect attached to the chest of (Attacking unit) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
                Special Effect - Destroy (Last created special effect)
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Shadow Aura  for SA_Unit) Equal to 3
            Then - Actions
                Unit - Cause (Attacked unit) to damage (Attacking unit), dealing 100.00 damage of attack type Spells and damage type Normal
                Special Effect - Create a special effect attached to the chest of (Attacking unit) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
                Special Effect - Destroy (Last created special effect)
            Else - Actions
                Do nothing

WC3ScrnShot_122907_142423_01.jpg

[Shadow Bolt]

Voodoo skill. Creates a bolt of Shadow, and when it hits the opponent, it explodes to a massive explosion of elements.

Code:
Shadow Bolt Cast
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Shadow Bolt 
    Actions
        Set SB_Caster = (Casting unit)
        Set SB_Target = (Target unit of ability being cast)
        Set SB_Targetl = (Position of SB_Target)
        Unit - Create 1 Dummy Unit for (Owner of SB_Caster) at SB_Targetl facing Default building facing degrees
        Set SB_Dummy_Created = (Last created unit)
        Unit - Add Shadow Nova  to SB_Dummy_Created
        Unit - Set level of Shadow Nova  for SB_Dummy_Created to 1
        Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) is A Hero) Not equal to True) and (((Matching unit) belongs to an ally of (Owner of SB_Caster)) Not equal to True))) and do (Actions)
            Loop - Actions
                Special Effect - Create a special effect attached to the chest of (Picked unit) using war3mapImported\unholyStrikeX2.mdx
                Unit - Cause (Picked unit) to damage circular area after 0.00 seconds of radius 1000000000.00 at (Center of (Playable map area)), dealing 100.00 damage of attack type Spells and damage type Force
        Special Effect - Destroy (Last created special effect)
        Trigger - Turn on Shadow Bolt Periodic <gen>

Code:
Shadow Bolt Periodic
    Events
        Time - Every 0.10 seconds of game time
    Conditions
    Actions
        Unit - Order SB_Dummy_Created to Neutral - Firebolt SB_Target
        Unit - Order SB_Dummy_Created to Undead Lich - Frost Nova SB_Target
        Special Effect - Create a special effect attached to the chest of SB_Target using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
        Set SB_SFX[1] = (Last created special effect)
        Special Effect - Create a special effect at SB_Targetl using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
        Set SB_SFX[2] = (Last created special effect)
        Special Effect - Create a special effect attached to the right hand of SB_Caster using Abilities\Weapons\LordofFlameMissile\LordofFlameMissile.mdl
        Set SB_SFX[3] = (Last created special effect)
        Trigger - Run Shadow Bolt Re Cast <gen> (ignoring conditions)
        Trigger - Run Shadow Bolt Check <gen> (ignoring conditions)
        Custom script:   call RemoveLocation(udg_SB_Targetl)
        Special Effect - Destroy SB_SFX[1]
        Special Effect - Destroy SB_SFX[2]
        Special Effect - Destroy SB_SFX[3]
        Wait until (SB_Check Equal to True), checking every 1.00 seconds
        Trigger - Turn off (This trigger)

Code:
Shadow Bolt Check
    Events
    Conditions
    Actions
        Wait 1.00 seconds
        Set SB_Check = True

Code:
Shadow Bolt Re Cast
    Events
    Conditions
    Actions
        Unit - Order SB_Dummy_Created to Orc Far Seer - Chain Lightning SB_Target

WC3ScrnShot_122907_142449_03.jpg

About the Spellpack:

The spellpack contains the 4 spells, and is made in the terrain of "Spell Test Map Template". The Voodoo Lich and the spells were made for the map called Magecraft. Link Here.


Have fun with the Spellpack!
 

0zaru

Learning vJASS ;)
Reaction score
60
Screenshots, the descriptions are a little vague but anyway they do the job :p

I will download and edit later with comments..
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
You posted your url in a false way.

Should be:
Code:
[noparse][URL="http://www.thehelper.net/forums/showthread.php?t=78713"]here.[/URL][/noparse]

And not:
Code:
[noparse][URL="here."]http://www.thehelper.net/forums/showthread.php?t=78713[/URL][/noparse]
 

Vestras

Retired
Reaction score
248
You posted your url in a false way.

Should be:
Code:
[noparse][URL="http://www.thehelper.net/forums/showthread.php?t=78713"]here.[/URL][/noparse]

And not:
Code:
[noparse][URL="here."]http://www.thehelper.net/forums/showthread.php?t=78713[/URL][/noparse]

Whoops, thanks.


Images and codes uploaded
 

Sim

Forum Administrator
Staff member
Reaction score
534
I must say that for minimal triggered spells, yours are impressive.

Though, a bit too simplistic :p

Shadow Bolt is ok.

Shadow Bomb could definitely benefit from some triggering. Add a special feature or something to it.

Shadow Aura should take effect when a unit takes damage, not when a unit is attacked.

Shadow Impact is way too simplistic, and the zombies come out of nowhere really. They don't fit the spell. You might want to customize the spell a bit more, and remove those zombies.

So that's about it, those spells need a bit of work ;)

Keep it up! :D
 

Naminator

Coming Back To Life
Reaction score
76
Simple and good spells. But you have leaks in your codes, try to fixed them, also use "Unit - Starst the effect of an ability" instead of "Begin cast an ability", try aslo to use triggering unit for the Caster.
 

Vestras

Retired
Reaction score
248
Cool spells, but there are quite a few memory leaks.

Read here to find out how to fix.

You also need to include implementation instructions in the demo map.

Okay, I will fix the leaks when I got time, and upload the fixed map here.
 
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