Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
lifebloom.w3x
Variables
category
Init
HealOverTime
HealStart
Healing
--Credits--
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
hashTable
hashtable
No
HealOverTimeUnits
group
No
knockbackTable
hashtable
No
loadedtext
string
No
rejucgreen
effect
No
RemainingTime
real
No
Init
Events
Map initialization
Conditions
Actions
Hashtable - Create a hashtable
Set Variable Set hashTable = (Last created hashtable)
HealStart
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Life bloom
Actions
-------- Store the duration in the Hashtable under the unit's Handle ID --------
Hashtable - Save 6.00 as 0 of (Key (Target unit of ability being cast).) in hashTable .
-------- Add the unit to the group of units that are being healed over time --------
Unit Group - Add (Target unit of ability being cast) to HealOverTimeUnits
Unit Group - Pick every unit in HealOverTimeUnits and do (Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Picked unit) using s_Nature'sBloom Effect.mdx)
Healing
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Hashtable - Save + 10 as 0 of 0 in hashTable .
Special Effect - Destroy rejucgreen
Unit Group - Pick every unit in HealOverTimeUnits and do (Actions)
Loop - Actions
Set Variable Set RemainingTime = (Load 0 of (Key (Picked unit).) from hashTable.)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RemainingTime Greater than 0.00
Then - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 10.00)
Set Variable Set loadedtext = (Load 0 of 0 from hashTable.)
Floating Text - Create floating text that reads loadedtext above (Picked unit) with Z offset 0 , using font size 10 , color ( 0.00 %, 100 %, 0.00 %), and 0 % transparency
Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the fading age of (Last created floating text) to 0.00 seconds
Floating Text - Change the lifespan of (Last created floating text) to 0.70 seconds
Hashtable - Save (RemainingTime - 1.00) as 0 of (Key (Picked unit).) in hashTable .
Unit Group - Pick every unit in HealOverTimeUnits and do (Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Picked unit) using Fireworksgreen.mdx)
Set Variable Set rejucgreen = (Last created special effect)
Else - Actions
Floating Text - Create floating text that reads + 200 above (Picked unit) with Z offset 0 , using font size 20.00 , color ( 0.00 %, 100 %, 0.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the fading age of (Last created floating text) to 0.00 seconds
Floating Text - Change the lifespan of (Last created floating text) to 0.70 seconds
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 200.00)
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Picked unit) using LifeBloom.mdx
Unit Group - Remove (Picked unit) from HealOverTimeUnits .
Hashtable - Clear all child hashtables of child (Key (Picked unit).) in hashTable .
Thx to : wyrmlord for a beautifle tutorial
Champara Bros for a beautifle model Lifebloom
sPy for a beautifle model Nature's Bloom
WILL THE ALMIGHTY for a beautifle model Firework (Green)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.