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
Vespari Kingdom Race.w3x
Variables
Experience
Vespari Units Increase HP per kill
Spell
Leap Spell
Leap No Select
Variables
Initialization
Melee Initialization
Vespari Ready
Vespari Music
Gold Mine
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
JumpCaster
unit
No
JumpLocation
location
No
VespariMusic
string
No
VespariPlayer
player
No
Vespari Units Increase HP per kill
Events
Unit - A unit Dies
Conditions
((Triggering unit) belongs to an enemy of (Owner of (Killing unit)).) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) belongs to an enemy of (Owner of (Killing unit)).) Equal to True
(Level of Item Life Bonus (Lesser) for (Killing unit)) Greater than 0
Then - Actions
Unit - Set level of Item Life Bonus (Lesser) for (Killing unit) to ((Level of Item Life Bonus (Lesser) for (Killing unit)) + 5)
Else - Actions
Unit - Increase level of Item Life Bonus (Lesser) for (Killing unit)
Leap Spell
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to War Stomp (Neutral Hostile 1), (Neutral Hostile)
Actions
Unit - Add Storm Crow Form to (Casting unit)
Unit - Remove Storm Crow Form from (Casting unit)
Unit - Turn collision for (Casting unit) Off .
Animation - Change (Casting unit) flying height to 500.00 at 500.00
Wait 0.06 seconds
Unit - Order (Casting unit) to Move To . (((Position of (Casting unit)) offset by 1000.00 towards (Facing of (Casting unit)) degrees.) offset by 256 towards 0 degrees.)
Wait 1.00 seconds
Animation - Change (Casting unit) flying height to 0.00 at 1000.00
Wait 0.90 seconds
Unit - Turn collision for (Casting unit) On .
Leap No Select
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to War Stomp (Neutral Hostile 1), (Neutral Hostile)
Actions
For each (Integer A) from 1 to 7 , do (Actions)
Loop - Actions
Wait 0.35 seconds
Selection - Remove (Casting unit) from selection for (Owner of (Casting unit))
Wait 0.15 seconds
Selection - Add (Casting unit) to selection for (Owner of (Casting unit))
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)
Trigger - Run Vespari_Music <gen> (checking conditions)
Trigger - Run Vespari_Ready <gen> (checking conditions)
Trigger - Run Gold_Mine <gen> (checking conditions)
Vespari Ready
Events
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to User
(Race of (Picked player)) Equal to Undead
Then - Actions
Unit Group - Pick every unit in (Units owned by (Picked player).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Equal to Necropolis
Then - Actions
Unit - Replace (Picked unit) with a Forgotten One using The old unit's relative life and mana
Else - Actions
Unit - Replace (Picked unit) with a Unbroken Darkhunter using The old unit's relative life and mana
Player - Limit training of Heroes to 3 for (Picked player)
Player - Limit training of Dreadlord to 1 for (Picked player)
Player - Limit training of Brewmaster to 1 for (Picked player)
Player - Limit training of Firelord to 1 for (Picked player)
Player - Limit training of Pit Lord to 1 for (Picked player)
Else - Actions
Do nothing
Vespari Music
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Sound - Clear the music list
Sound - Stop music Immediately
Set Variable Set VespariMusic = "02. Bellum -Beyond Fear-.mp3"
Custom script: call PlayMusic(udg_VespariMusic)
Gold Mine
Events
Conditions
Actions
Set Variable Set VespariPlayer = (Triggering player)
Unit Group - Pick every unit in (Units owned by (Picked player).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A town-hall-type unit) Equal to True
Then - Actions
Unit Group - Pick every unit in (Units within 1024.00 of (Position of (Picked unit)).) and do (Actions)
Loop - Actions
If ((Unit-type of (Picked unit)) Equal to Haunted Gold Mine) then do (Kill (Picked unit)) else do (If ((Unit-type of (Picked unit)) Equal to Entangled Gold Mine) then do (Replace (Picked unit) with a Gold Mine using The old unit's relative life and mana) else do (Do nothing))
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.