• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Taste of Death v1.03

This is an old spell of mine...
I reworked it a bit, added some documentation, its easy to understand and edit.

Hope you find it useful.

Please comment and rate!

Changelog:

v1.01
Removed the triggered damage(works smoother now)
V1.02
A bit reworked triggering, cleared demo map leaks, added documentation
V1.03
Added some variables to make the spell settings easier to set

spellshadowdeathcoil.gif
Taste of DeathDeals damage to all enemy units in Aoe of 600.
Each unit within the range heals the caster.
There is a chance that caster goes into
Unholy Frenzy, that increases attack speed,
but drains life each second.
Lasts up a few seconds.


  • Taste of Death
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Taste of Death
    • Actions
      • -------- Setting the casting unit --------
      • Set ToD_Caster = (Triggering unit)
      • -------- - --------
      • -------- Getting the owner of triggering unit --------
      • Set ToD_Owner = (Owner of ToD_Caster)
      • -------- - --------
      • -------- Setting the position --------
      • Set ToD_Position = (Position of ToD_Caster)
      • -------- - --------
      • -------- Base healing value --------
      • Set ToD_Base_Heal = 15.00
      • -------- - --------
      • -------- Getting the level of ability --------
      • Set ToD_Ability = (Level of (Ability being cast) for ToD_Caster)
      • -------- - --------
      • -------- Base chance value --------
      • Set ToD_Base_Chance = 10
      • -------- - --------
      • -------- Area of Effect Value --------
      • Set ToD_Area_of_Effect = 600.00
      • -------- Getting the dummy abilities --------
      • -------- - --------
      • Set ToD_Dummy_Ability = Taste of Death(dummy)
      • Set ToD_Dummy_Ability_Frenzy = Unholy Frenzy(dummy)
      • -------- - --------
      • For each (Integer A) from 1 to 36, do (Actions)
        • Loop - Actions
          • -------- - --------
          • -------- Setting the position --------
          • Set ToD_Target_Location = (ToD_Position offset by 50.00 towards (10.00 x (Real((Integer A)))) degrees)
          • -------- - --------
          • -------- Creating dummy --------
          • -------- Adding ability --------
          • -------- Ordering dummy to cast a spell --------
          • Unit - Create 1 Dummy for ToD_Owner at ToD_Position facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Add ToD_Dummy_Ability to (Last created unit)
          • Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm ToD_Target_Location
          • -------- - --------
          • -------- Clearing leaks --------
          • Custom script: call RemoveLocation(udg_ToD_Target_Location)
          • -------- - --------
      • -------- - --------
      • -------- Setting the unit group --------
      • Set ToD_Heal_Group = (Units within ToD_Area_of_Effect of ToD_Position matching ((((Owner of (Matching unit)) is an enemy of ToD_Owner) Equal to True) and (((Matching unit) is alive) Equal to True)))
      • -------- - --------
      • -------- Picking units and doing actions in Unit Group --------
      • Unit Group - Pick every unit in ToD_Heal_Group and do (Actions)
        • Loop - Actions
          • -------- - --------
          • -------- Counting the units in Unit Group --------
          • Set ToD_Unit_Counter = (Number of units in ToD_Heal_Group)
          • -------- - --------
          • -------- Condition checks if the number of units in Unit Group is larger than 0 --------
          • -------- - --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ToD_Unit_Counter Greater than 0
        • Then - Actions
          • -------- - --------
          • -------- Setting the life of the caster to (number of units in unit group * 15 * level of ability) --------
          • Unit - Set life of ToD_Caster to ((Life of ToD_Caster) + ((ToD_Base_Heal x (Real(ToD_Ability))) x (Real(ToD_Unit_Counter))))
          • -------- - --------
          • -------- Creating and destroying Special effects --------
          • Special Effect - Create a special effect attached to the origin of ToD_Caster using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
          • Special Effect - Destroy (Last created special effect)
          • -------- - --------
          • -------- Creating the Floating text --------
          • -------- Setting the floating text --------
          • Floating Text - Create floating text that reads (+ + (String(((Integer(ToD_Base_Heal)) x (ToD_Ability x ToD_Unit_Counter))))) above ToD_Caster with Z offset 0.00, using font size 10.00, color (0.00%, 50.00%, 10.00%), and 0.00% transparency
          • Floating Text - Change (Last created floating text): Disable permanence
          • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
          • Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
          • Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
          • -------- - --------
        • Else - Actions
      • -------- - --------
      • -------- Clearing the value, of units in unit group --------
      • Set ToD_Unit_Counter = 0
      • -------- - --------
      • -------- Clearing leaks --------
      • Custom script: call DestroyGroup(udg_ToD_Heal_Group)
      • -------- - --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 100) Less than or equal to (ToD_Base_Chance x ToD_Ability)
        • Then - Actions
          • -------- - --------
          • -------- Creating dummy --------
          • -------- Adding ability --------
          • -------- Setting the level of dummy spell --------
          • -------- Ordering dummy to cast a spell --------
          • Unit - Create 1 Dummy for ToD_Owner at ToD_Position facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Add ToD_Dummy_Ability_Frenzy to (Last created unit)
          • Unit - Set level of ToD_Dummy_Ability_Frenzy for (Last created unit) to ToD_Ability
          • Unit - Order (Last created unit) to Undead Necromancer - Unholy Frenzy ToD_Caster
        • Else - Actions
      • -------- - --------
      • -------- Clearing leaks --------
      • Custom script: call RemoveLocation(udg_ToD_Position)
-BerzekeR-

Keywords:
Taste of Death, death, black, green, dark, rage, fury
Contents

Taste of Death (Map)

Reviews
15:04, 7th Feb 2009 Hanky: Advice: 5 points are the highest rating and 1 point is the lowest rating. Documentation: 5 Visual Effects: 4 Triggering: 4 Idea: 4 A simple but well done GUI spell. I just can recommend to use this spell...

Moderator

M

Moderator

15:04, 7th Feb 2009
Hanky:
Evaluation

Rating Points
Advice: 5 points are the highest rating and 1 point is the lowest rating.

Documentation: 5
Visual Effects: 4
Triggering: 4
Idea: 4
Rating Comment

A simple but well done GUI spell. I just can recommend to use this spell.
Advice: If you didn't understood my rating or if you maybe have questions because you don't know how to fix bugs or leaks etc. You can always send a private message to me. I will answer as soon I got time.
 
Level 17
Joined
Jan 21, 2007
Messages
2,013
The use of the Death Coil effect in an AoE is getting rather unusual, but i'll test the spell anyway :wink:

EDIT: I liked it, but the damage(and lifesteal) shouldn't come directly. It should occur when the Death Coils hit the enemy unit.
As it is now, when a unit enters the effect slightly after the effect is casted it will remain unharmed, which looks really odd.
It also needs to be MUI.
3/5 as it is now.
If you change what i said 4/5, and if you find a better effect to use instead of the death coil to make it less unoriginal i will give a 5/5
 
Ah, the ol' Forbidden Spellpack...

On topic. It's still a very good spell, a little different from the original, but it's better now. And don't worry, I don't care about the non-MUI thing. Yeah, I make my spells MPI, but I don't even bother using it on my project, because changing arrays on all the variables everytime is quite boring.

Keep the good job.
 
Level 6
Joined
May 11, 2013
Messages
205
I like it. Its perfect for Death Knight Ultimate. For example spells i had in my dk are. Death Coil, Howling Blast(a burst of ice energy(like a wave) dealing dmg and freeze the target for 3 seconds) Unholy Aura and this Taste of Death making Death Knight very good hero in AoS maps +5 by me
 
Top