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
Blood Mage.w3x
Variables
Autre
Ini
Target
Blood Mage
Blood Shock
---------------------------
Power of Offering
---------------------------
No Sacrifice
Stop No Sacrifice
---------------------------
Drink Blood
Name
Type
is_array
initial_value
BloodShockCaster
unit
No
BloodShockTarget
unit
No
DrinkBloodCaster
unit
No
DrinkBloodTarget
unit
No
NoSacrifice
boolean
No
PowerOfferingCaster
unit
No
Ini
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Target
Events
Unit - Target 0022 <gen> 's life becomes Less than 1000.00
Conditions
Actions
Unit - Set life of Target 0022 <gen> to 100.00 %
Blood Shock
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Blood Shock
Actions
Set Variable Set BloodShockCaster = (Triggering unit)
Set Variable Set BloodShockTarget = (Target unit of ability being cast)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NoSacrifice Equal to True
Then - Actions
Unit - Set life of BloodShockCaster to (Life of BloodShockCaster)
Else - Actions
Unit - Set life of BloodShockCaster to ((Life of BloodShockCaster) - (((15.00 / (Real((Level of Blood Shock for BloodShockCaster)))) x (Life of BloodShockCaster)) / 100.00))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of BloodShockTarget) Greater than or equal to ((50.00 / 100.00) x (Max life of BloodShockTarget))
Then - Actions
Unit - Cause BloodShockCaster to damage BloodShockTarget , dealing (2.00 x (150.00 x (Real((Level of Blood Shock for BloodShockCaster))))) damage of attack type Spells and damage type Normal
Else - Actions
Unit - Cause BloodShockCaster to damage BloodShockTarget , dealing (1.00 x (150.00 x (Real((Level of Blood Shock for BloodShockCaster))))) damage of attack type Spells and damage type Normal
Power of Offering
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Power Of Offering
Actions
Set Variable Set PowerOfferingCaster = (Triggering unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NoSacrifice Equal to True
Then - Actions
Unit - Set life of PowerOfferingCaster to (Life of PowerOfferingCaster)
Else - Actions
Unit - Set life of PowerOfferingCaster to ((Life of PowerOfferingCaster) - ((25.00 x (Life of PowerOfferingCaster)) / 100.00))
Unit - Set life of PowerOfferingCaster to ((Life of PowerOfferingCaster) + (200.00 x (Real((Level of Power Of Offering for PowerOfferingCaster)))))
No Sacrifice
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to No Sacrifice
Actions
Set Variable Set NoSacrifice = "true"
Trigger - Turn on Stop_No_Sacrifice <gen>
Stop No Sacrifice
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Set Variable Set NoSacrifice = "false"
Trigger - Turn off (This trigger)
Drink Blood
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Drink Blood
Actions
Set Variable Set DrinkBloodCaster = (Triggering unit)
Set Variable Set DrinkBloodTarget = (Target unit of ability being cast)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
NoSacrifice Equal to True
Then - Actions
Unit - Set life of DrinkBloodCaster to (Life of DrinkBloodCaster)
Else - Actions
Unit - Set life of DrinkBloodCaster to ((Life of DrinkBloodCaster) - ((5.00 x (Life of DrinkBloodCaster)) / 100.00))
Unit - Cause DrinkBloodCaster to damage DrinkBloodTarget , dealing (250.00 x (Real((Level of Drink Blood for DrinkBloodCaster)))) damage of attack type Spells and damage type Normal
Unit - Set life of DrinkBloodCaster to ((Life of DrinkBloodCaster) + (250.00 x (Real((Level of Drink Blood for DrinkBloodCaster)))))
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.