-
Are you planning to upload your awesome spell or system to Hive? Please review the rules here.Dismiss Notice
-
Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.Dismiss Notice
-
A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!Dismiss Notice
-
Check out the Staff job openings thread.Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.
Taste of Death v1.03
Submitted by
-Berz-
- Tags:
- No Target, GUI / Triggers
- Filesize:
- 37.01 KB
- Rating:
-
(3 votes)
- Downloads:
- 2602
- Uploaded:
- Jan 25, 2009
- Updated:
- Jul 22, 2009
- Resources:
- 1
- Author(s):
- -Berz-
- State:
- Approved

This bundle is marked as approved. It works and satisfies the submission rules.
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
-BerzekeR-
Keywords:
Taste of Death, death, black, green, dark, rage, fury
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
![]() |
Taste of Death | Deals 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. |
Trigger
-
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
Page 1 of 3