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
Leafshade_Reforged (Current - 21.04.2021).w3x
Variables
Variables
Initialisation
Initialisation mêlée
HeroLimitation
HeroGlowArchidruidAngryleaf
ReplaceZombies
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
Entrez le code script personnalisé spécifique à la carte ci-dessous. Ce texte sera inclus dans le script de la carte après que les variables auront été déclarées et avant tout code de déclencheur.
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
Initialisation mêlée par défaut pour tous les joueurs
Initialisation mêlée
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)
-------- ------------------------- --------
-------- TEST --------
Player - Set Player 1 (Red) . Current gold to 20000
Player - Set Player 1 (Red) . Current lumber to 20000
Player - Set Player 1 (Red) . Food cap to 100
-------- ------------------------- --------
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)
-------- --------------- --------
HeroGlowArchidruidAngryleaf
Events
Map initialization
Conditions
Actions
Unit - Add Hero Glow (units) 2 to Archidruid Angryleaf 0106 <gen>
Unit - For Archidruid Angryleaf 0106 <gen> , Ability Hero Glow (units) 2 , Hide ability: True
Unit - For Earthbinder , Ability Hero Glow (units) 2 , Hide ability: True
ReplaceZombies
Events
Map initialization
Conditions
Actions
Unit Group - Pick every unit in (Units of type Zombie) and do (Actions)
Loop - Actions
Unit - Replace (Picked unit) with a Leafshade Brown Bear using The new unit's default life and mana
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 Sentinel) 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.