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
Life Break v. 1.1 (Steel0RaZoR).w3x
Variables
Life Break
Life Break by Steel0RaZoR
Life Break
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
LifeBreak
unit
Yes
Instructions on how to import this map:
COPY ALL THE 2 CUSTOM ABILITIES, THE DUMMY AND THE BUFF
ENJOY!
Credits:
Steel0RaZoR
Life Break
by:
Steel0RaZoR
Life Break
Events
Unit - A unit Begins casting an ability
Conditions
Life Break Equal to (Ability being cast)
Actions
Set Variable Set LifeBreak[1] = (Target unit of ability being cast)
Set Variable Set LifeBreak[2] = (Casting unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Life Break for LifeBreak[2]) Equal to 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of LifeBreak[2]) Greater than or equal to 50.00
Then - Actions
Unit - Set life of LifeBreak[1] to ((Life of LifeBreak[1]) x 0.50)
Unit - Set life of LifeBreak[2] to ((Life of LifeBreak[2]) x 0.35)
Unit - Create 1 . Life Break Dummy for (Owner of LifeBreak[2]) at (Position of LifeBreak[2]) facing Default building facing degrees
Set Variable Set LifeBreak[3] = (Last created unit)
Unit - Add a 5.00 second Generic expiration timer to LifeBreak[3]
Unit - Add Life Break Slow to LifeBreak[3]
Unit - Order LifeBreak[3] to Human Sorceress - Slow . LifeBreak[1]
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of LifeBreak[1] using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit - Explode LifeBreak[3] .
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Life Break for (Casting unit)) Equal to 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Casting unit)) Greater than or equal to 50.00
Then - Actions
Unit - Set life of LifeBreak[1] to ((Life of LifeBreak[1]) x 0.50)
Unit - Set life of LifeBreak[2] to ((Life of LifeBreak[2]) x 0.30)
Unit - Create 1 . Life Break Dummy for (Owner of LifeBreak[2]) at (Position of LifeBreak[2]) facing Default building facing degrees
Set Variable Set LifeBreak[3] = (Last created unit)
Unit - Add a 5.00 second Generic expiration timer to LifeBreak[3]
Unit - Add Life Break Slow to LifeBreak[3]
Unit - Order LifeBreak[3] to Human Sorceress - Slow . LifeBreak[1]
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of LifeBreak[1] using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit - Explode LifeBreak[3] .
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Life Break Slow for (Casting unit)) Equal to 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Casting unit)) Greater than or equal to 50.00
Then - Actions
Unit - Set life of LifeBreak[1] to ((Life of LifeBreak[1]) x 0.50)
Unit - Set life of LifeBreak[2] to ((Life of LifeBreak[2]) x 0.25)
Unit - Create 1 . Life Break Dummy for (Owner of LifeBreak[2]) at (Position of LifeBreak[2]) facing Default building facing degrees
Set Variable Set LifeBreak[3] = (Last created unit)
Unit - Add a 5.00 second Generic expiration timer to LifeBreak[3]
Unit - Add Life Break Slow to LifeBreak[3]
Unit - Order LifeBreak[3] to Human Sorceress - Slow . LifeBreak[1]
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of LifeBreak[1] using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Destroy (Last created special effect)
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.