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
Aletharion's Lair (Current - 21.04.2021).w3m
Variables
Variables
Initialization
Melee Initialization
HeroLimitation
HeroesSpecial
Heroes
OrcHeroDemonist
Connexion 1
Connexion 2
EredariPact
LastContract1
LastContract2
Limit heroes phase 1
Arcane Mastery
Stone Shield 1
Stone Shield 2
Earthborn 1
Earthborn 2
Light Walker 1
Light Walker 2
Cas spécial Val'Kyr
Fly LVL 1
HeroGlowValKyrSpecial
Cast
Loop
HeroGlow
HeroGlow
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 except Custom Script Item. Custom Script Item will merge into map script after globals variables declaration with the list order in trigger view.
Name
Type
is_array
initial_value
Caster
unit
No
Caster_HP
real
No
Counter
real
No
Earthbinder
unit
No
Inquisitor
unit
No
OrcHeroDemonist
unit
No
Owner
player
No
Target
unit
No
Target_HP
real
No
Temp_real
real
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)
HeroLimitation
Events
Map initialization
Conditions
Actions
-------- Joueur 1 --------
-------- Humain --------
Player - Limit training of Great Inquisitor to 1 for Player 1 (Red)
Player - Limit training of Earthbinder to 1 for Player 1 (Red)
Player - Limit training of Elven Protector to 1 for Player 1 (Red)
Player - Limit training of Elven Ranger to 1 for Player 1 (Red)
-------- Elfe de la Nuit --------
Player - Limit training of Murloc Oracle to 1 for Player 1 (Red)
Player - Limit training of Highborn to 1 for Player 1 (Red)
Player - Limit training of Sea Witch (Nortander) to 1 for Player 1 (Red)
-------- Mort-Vivant --------
Player - Limit training of Dark Ranger to 1 for Player 1 (Red)
Player - Limit training of Pit Lord to 1 for Player 1 (Red)
Player - Limit training of Val'Kyr Warleader (Sol) to 1 for Player 1 (Red)
-------- Orc --------
Player - Limit training of Hand of the Loas to 1 for Player 1 (Red)
Player - Limit training of Beastmaster to 1 for Player 1 (Red)
Player - Limit training of Warlock to 1 for Player 1 (Red)
-------- --------------- --------
-------- Joueur 2 --------
-------- --------------- --------
Player - Limit training of Great Inquisitor to 1 for Player 2 (Blue)
Player - Limit training of Earthbinder to 1 for Player 2 (Blue)
Player - Limit training of Elven Protector to 1 for Player 2 (Blue)
Player - Limit training of Elven Ranger to 1 for Player 2 (Blue)
-------- Elfe de la Nuit --------
Player - Limit training of Murloc Oracle to 1 for Player 2 (Blue)
Player - Limit training of Highborn to 1 for Player 2 (Blue)
Player - Limit training of Sea Witch (Nortander) to 1 for Player 2 (Blue)
-------- Mort-Vivant --------
Player - Limit training of Dark Ranger to 1 for Player 2 (Blue)
Player - Limit training of Pit Lord to 1 for Player 2 (Blue)
Player - Limit training of Val'Kyr Warleader (Sol) to 1 for Player 2 (Blue)
-------- Orc --------
Player - Limit training of Hand of the Loas to 1 for Player 2 (Blue)
Player - Limit training of Beastmaster to 1 for Player 2 (Blue)
Player - Limit training of Warlock to 1 for Player 2 (Blue)
-------- --------------- --------
-------- Joueur 3 --------
-------- --------------- --------
Player - Limit training of Great Inquisitor to 1 for Player 3 (Teal)
Player - Limit training of Earthbinder to 1 for Player 3 (Teal)
Player - Limit training of Elven Protector to 1 for Player 3 (Teal)
Player - Limit training of Elven Ranger to 1 for Player 3 (Teal)
-------- Elfe de la Nuit --------
Player - Limit training of Murloc Oracle to 1 for Player 3 (Teal)
Player - Limit training of Highborn to 1 for Player 3 (Teal)
Player - Limit training of Sea Witch (Nortander) to 1 for Player 3 (Teal)
-------- Mort-Vivant --------
Player - Limit training of Dark Ranger to 1 for Player 3 (Teal)
Player - Limit training of Pit Lord to 1 for Player 3 (Teal)
Player - Limit training of Val'Kyr Warleader (Sol) to 1 for Player 3 (Teal)
-------- Orc --------
Player - Limit training of Hand of the Loas to 1 for Player 3 (Teal)
Player - Limit training of Beastmaster to 1 for Player 3 (Teal)
Player - Limit training of Warlock to 1 for Player 3 (Teal)
-------- --------------- --------
-------- Joueur 4 --------
-------- --------------- --------
Player - Limit training of Great Inquisitor to 1 for Player 4 (Purple)
Player - Limit training of Earthbinder to 1 for Player 4 (Purple)
Player - Limit training of Elven Protector to 1 for Player 4 (Purple)
Player - Limit training of Elven Ranger to 1 for Player 4 (Purple)
-------- Elfe de la Nuit --------
Player - Limit training of Murloc Oracle to 1 for Player 4 (Purple)
Player - Limit training of Highborn to 1 for Player 4 (Purple)
Player - Limit training of Sea Witch (Nortander) to 1 for Player 4 (Purple)
-------- Mort-Vivant --------
Player - Limit training of Dark Ranger to 1 for Player 4 (Purple)
Player - Limit training of Pit Lord to 1 for Player 4 (Purple)
Player - Limit training of Val'Kyr Warleader (Sol) to 1 for Player 4 (Purple)
-------- Orc --------
Player - Limit training of Hand of the Loas to 1 for Player 4 (Purple)
Player - Limit training of Beastmaster to 1 for Player 4 (Purple)
Player - Limit training of Warlock to 1 for Player 4 (Purple)
-------- --------------- --------
-------- Joueur 5 --------
-------- --------------- --------
Player - Limit training of Great Inquisitor to 1 for Player 5 (Yellow)
Player - Limit training of Earthbinder to 1 for Player 5 (Yellow)
Player - Limit training of Elven Protector to 1 for Player 5 (Yellow)
Player - Limit training of Elven Ranger to 1 for Player 5 (Yellow)
-------- Elfe de la Nuit --------
Player - Limit training of Murloc Oracle to 1 for Player 5 (Yellow)
Player - Limit training of Highborn to 1 for Player 5 (Yellow)
Player - Limit training of Sea Witch (Nortander) to 1 for Player 5 (Yellow)
-------- Mort-Vivant --------
Player - Limit training of Dark Ranger to 1 for Player 5 (Yellow)
Player - Limit training of Pit Lord to 1 for Player 5 (Yellow)
Player - Limit training of Val'Kyr Warleader (Sol) to 1 for Player 5 (Yellow)
-------- Orc --------
Player - Limit training of Hand of the Loas to 1 for Player 5 (Yellow)
Player - Limit training of Beastmaster to 1 for Player 5 (Yellow)
Player - Limit training of Warlock to 1 for Player 5 (Yellow)
-------- --------------- --------
-------- Joueur 6 --------
-------- --------------- --------
Player - Limit training of Great Inquisitor to 1 for Player 6 (Orange)
Player - Limit training of Earthbinder to 1 for Player 6 (Orange)
Player - Limit training of Elven Protector to 1 for Player 6 (Orange)
Player - Limit training of Elven Ranger to 1 for Player 6 (Orange)
-------- Elfe de la Nuit --------
Player - Limit training of Murloc Oracle to 1 for Player 6 (Orange)
Player - Limit training of Highborn to 1 for Player 6 (Orange)
Player - Limit training of Sea Witch (Nortander) to 1 for Player 6 (Orange)
-------- Mort-Vivant --------
Player - Limit training of Dark Ranger to 1 for Player 6 (Orange)
Player - Limit training of Pit Lord to 1 for Player 6 (Orange)
Player - Limit training of Val'Kyr Warleader (Sol) to 1 for Player 6 (Orange)
-------- Orc --------
Player - Limit training of Hand of the Loas to 1 for Player 6 (Orange)
Player - Limit training of Beastmaster to 1 for Player 6 (Orange)
Player - Limit training of Warlock to 1 for Player 6 (Orange)
-------- --------------- --------
Connexion 1
Events
Unit - A unit Learns a skill
Conditions
And - All (Conditions) are true
Conditions
(Learned Hero Skill) Equal to Connexion
Actions
Trigger - Turn off (This trigger)
Set Variable Set OrcHeroDemonist = (Triggering unit)
Trigger - Turn on Connexion_2 <gen>
Connexion 2
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Connexion
Actions
Unit - Set life of OrcHeroDemonist to ((Life of OrcHeroDemonist) - 100.00)
Unit - Set mana of OrcHeroDemonist to ((Mana of OrcHeroDemonist) + 150.00)
EredariPact
Events
Unit - A unit Learns a skill
Conditions
And - All (Conditions) are true
Conditions
(Learned Hero Skill) Equal to Eredari pact
Actions
Trigger - Turn off (This trigger)
Set Variable Set OrcHeroDemonist = (Triggering unit)
LastContract1
Events
Unit - A unit Begins casting an ability
Conditions
And - All (Conditions) are true
Conditions
(Ability being cast) Equal to Last contract (good)
Actions
Trigger - Turn on LastContract2 <gen>
Wait 13.00 seconds
Trigger - Turn off LastContract2 <gen>
LastContract2
Events
Time - Every 0.20 seconds of game time
Conditions
Actions
Unit - Set life of OrcHeroDemonist to ((Life of OrcHeroDemonist) + 6.00)
Unit - Set mana of OrcHeroDemonist to ((Mana of OrcHeroDemonist) - 1.00)
-------- ----------- --------
Unit Group - Pick every unit in (Units owned by (Owner of OrcHeroDemonist) of type Eredar servant) and do (Actions)
Loop - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 18.00)
Limit heroes phase 1
Events
Unit - A unit Begins training a unit
Conditions
((Trained unit) is A Hero) Equal to True
Actions
Player - Make (Trained unit-type) Unavailable for training/construction by (Triggering player)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current order of (Triggering unit)) Equal to (Order(stop))
Then - Actions
Player - Make (Trained unit-type) Available for training/construction by (Triggering player)
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.