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
Purifiction.w3x
Variables
You don't need this :)
Melee Initialization
ReseT
Purifiction
Purifiction
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
HealCaster
unit
No
HealOwner
player
No
HealTarget
unit
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Game - Display to (All players) for 60.00 seconds the text: Press ESC to reset your ability and your mana and hp.P/S: Your mission is destroy enemy base!
Wait 5.00 seconds
Game - Display to (All players) for 60.00 seconds the text: WRONG!!!YOUR MISSION IS:None
ReseT
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
Unit - Set life of HealCaster to 100 %
Unit - Set mana of HealCaster to 100 %
Unit - Reset ability cooldowns for HealCaster .
Purifiction
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Purifiction
Actions
Set Variable Set HealCaster = (Casting unit)
Set Variable Set HealTarget = (Target unit of ability being cast)
Set Variable Set HealOwner = (Owner of HealTarget)
Unit - Set life of HealTarget to ((90.00 x (Real((Level of Purifiction for HealCaster)))) + (Life of HealTarget))
Unit Group - Pick every unit in (Units within 300.00 of (Position of HealTarget).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(((Picked unit) is A structure) Equal to False) and (((Picked unit) belongs to an enemy of (Owner of HealTarget).) Equal to True)
Then - Actions
Unit - Cause HealCaster to damage (Picked unit) , dealing (90.00 x (Real((Level of Purifiction for HealCaster)))) damage of attack type Normal and damage type Normal
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.