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!
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)
Player Group - Pick every player in (All players) and do (Turn Gives bounty On for (Picked player))
Set Variable Set RandInt = "0"
Set Variable Set RandPoint = (Center of (Playable map area))
SMITINGBLOW
Events
Unit - A unit Is attacked
Conditions
And - All (Conditions) are true
Conditions
Or - Any (Conditions) are true
Conditions
((Attacked unit) is Undead) Equal to True
(Level of Smiting Lightning (Neutral Hostile 1) for (Attacking unit)) Not equal to 0
Actions
Wait 0.50 seconds
Unit - Remove Positive buffs considered Magic from (Triggering unit) ( Include expiration timers, Include auras)
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) x 0.75)
Special Effect - Create a special effect at (Position of (Triggering unit)) using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
Wait 0.50 seconds
Special Effect - Destroy (Last created special effect)
AI upgrades
Events
Time - Every 480.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players matching (((Matching player) controller) Equal to Computer).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Castle units owned by (Picked player)) Greater than 0
Then - Actions
Player - Set the current research level of R006 (Unexpected type: 'techcode') to ((Current research level of R006 (Unexpected type: 'techcode') for (Picked player)) + 1) for (Picked player)
Else - Actions
Every5Min
Events
Time - Every 300.00 seconds of game time
Conditions
Actions
AI resources
Events
Time - Every 300.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 25 , do (Actions)
Loop - Actions
Destructible - Resurrect (Random destructible in (Playable map area) matching (((Matching destructible) is dead) Equal to True)) with (Max life of (Last created destructible)) life and Show birth animation
Set Variable Set RandInt = (Random integer number between 1 and 3)
If (RandInt Equal to 1) then do (Set the current research level of R005 (Unexpected type: 'techcode') to ((Current research level of R005 (Unexpected type: 'techcode') for Neutral Hostile) + 1) for Neutral Hostile) else do (Do nothing)
If (RandInt Equal to 2) then do (Set the current research level of R007 (Unexpected type: 'techcode') to ((Current research level of R007 (Unexpected type: 'techcode') for Neutral Hostile) + 1) for Neutral Hostile) else do (Do nothing)
If (RandInt Equal to 3) then do (Set the current research level of R006 (Unexpected type: 'techcode') to ((Current research level of R006 (Unexpected type: 'techcode') for Neutral Hostile) + 1) for Neutral Hostile) else do (Do nothing)
Player Group - Pick every player in (All players matching (((Matching player) controller) Equal to Computer).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Player - Add 1000 to (Picked player) . Current gold
Player - Add 1000 to (Picked player) . Current lumber
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Neutral Hostile Current gold) Greater than 2500
Then - Actions
Unit - Create 3 . Nerubian Queen for Neutral Hostile at (Center of Yellow_Top <gen>) facing Default building facing degrees
Player - Add -2500 to Neutral Hostile . Current gold
Else - Actions
Airesourcedelay
Events
Time - Elapsed game time is 600.00 seconds
Conditions
Actions
Trigger - Turn on AI_resources <gen>
ItemStack
Events
Unit - A unit Acquires an item
Conditions
(Item-class of (Item being manipulated)) Equal to Charged
Actions
For each (Integer A) from 1 to 6 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A)))
(Item carried by (Hero manipulating item) in slot (Integer A)) Not equal to (Item being manipulated)
Then - Actions
Item - Set charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A)) to ((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + (Charges remaining in (Item being manipulated)))
Item - Remove (Item being manipulated)
Else - Actions
ICECROW
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to The Ice Crow
Actions
Wait 60.00 seconds
Unit - Create 1 . The Ice Crow for Neutral Hostile at (Random point in (Playable map area)) facing Default building facing degrees
BonusHeroXP
Events
Unit - A unit Dies
Conditions
And - All (Conditions) are true
Conditions
((Killing unit) is A Hero) Equal to True
Actions
Hero - Add ((Level of (Dying unit)) x 50) experience to (Killing unit) , Show level-up graphics
UnitDies
Events
Unit - A unit Dies
Conditions
And - All (Conditions) are true
Conditions
((Triggering unit) is Undead) Equal to False
((Triggering unit) is Mechanical) Equal to False
((Triggering unit) is A structure) Equal to False
((Triggering unit) is A flying unit) Equal to False
((Position of (Triggering unit)) is blighted) Equal to True
(Unit-type of (Triggering unit)) Not equal to Flesh Golem
(Unit-type of (Triggering unit)) Not equal to Dalaran Mutant
(Unit-type of (Triggering unit)) Not equal to Elder Voidwalker
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of (Triggering unit)) Equal to 1
Then - Actions
Unit - Create 1 . Skeleton Warrior for Neutral Hostile at (Position of (Triggering unit)) facing Default building facing degrees
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of (Triggering unit)) Equal to 2
Then - Actions
Unit - Create 1 . Dalaran Mutant for Neutral Hostile at (Position of (Triggering unit)) facing Default building facing degrees
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of (Triggering unit)) Equal to 3
Then - Actions
Unit - Create 1 . Giant Skeleton Warrior for Neutral Hostile at (Position of (Triggering unit)) facing Default building facing degrees
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of (Triggering unit)) Equal to 4
Then - Actions
Unit - Create 1 . Skeletal Orc Champion for Neutral Hostile at (Position of (Triggering unit)) facing Default building facing degrees
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of (Triggering unit)) Equal to 5
Then - Actions
Unit - Create 1 . Elder Voidwalker for Neutral Hostile at (Position of (Triggering unit)) facing Default building facing degrees
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of (Triggering unit)) Greater than 5
Then - Actions
Unit - Create 1 . Flesh Golem for Neutral Hostile at (Position of (Triggering unit)) facing Default building facing degrees
Else - Actions
Do nothing
UnitDiesCreepGrowth
Events
Conditions
Actions
HeroicGrowthItem
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Tome of Heroic Growth
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of HEROIC GROWTH for (Triggering unit)) Equal to 0
Then - Actions
Unit - Add HEROIC GROWTH to (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of HEROIC GROWTH for (Triggering unit)) Greater than 0
(Level of HEROIC GROWTH for (Triggering unit)) Less than 10
Then - Actions
Unit - Increase level of HEROIC GROWTH for (Triggering unit)
Else - Actions
HGUnitDies
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of HEROIC GROWTH for (Killing unit)) Not equal to 0
Then - Actions
Set Variable Set RandInt = (Random integer number between 1 and 10)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandInt Equal to 10
Then - Actions
Set Variable Set RandInt = (Random integer number between 1 and 3)
If (RandInt Equal to 1) then do (Modify Strength of (Killing unit): Add (Level of HEROIC GROWTH for (Killing unit)).) else do (Do nothing)
If (RandInt Equal to 2) then do (Modify Agility of (Killing unit): Add (Level of HEROIC GROWTH for (Killing unit)).) else do (Do nothing)
If (RandInt Equal to 3) then do (Modify Intelligence of (Killing unit): Add (Level of HEROIC GROWTH for (Killing unit)).) else do (Do nothing)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to Neutral Hostile
Then - Actions
-------- Skeleton Set --------
If ((Unit-type of (Killing unit)) Equal to Bigger Skeleton) then do (Replace (Killing unit) with a Giant Skeleton Warrior using The old unit's relative life and mana) else do (Do nothing)
If ((Unit-type of (Killing unit)) Equal to Skeleton Warrior) then do (Replace (Killing unit) with a Bigger Skeleton using The old unit's relative life and mana) else do (Do nothing)
-------- Ghost Set --------
If ((Unit-type of (Killing unit)) Equal to Ghost) then do (Replace (Killing unit) with a Wraith using The old unit's relative life and mana) else do (Do nothing)
-------- Trolls --------
If ((Unit-type of (Killing unit)) Equal to Ice Troll Berserker) then do (Replace (Killing unit) with a Ice Troll Warlord using The old unit's relative life and mana) else do (Do nothing)
If ((Unit-type of (Killing unit)) Equal to Ice Troll Trapper) then do (Replace (Killing unit) with a Ice Troll Berserker using The old unit's relative life and mana) else do (Do nothing)
If ((Unit-type of (Killing unit)) Equal to Ice Troll) then do (Replace (Killing unit) with a Ice Troll Trapper using The old unit's relative life and mana) else do (Do nothing)
Else - Actions
UnitDiesVeteran
Events
Unit - A unit Dies
Conditions
((Killing unit) is A Hero) Equal to False
(Owner of (Killing unit)) Not equal to (Owner of (Triggering unit))
Actions
Set Variable Set MiscReal = "1.00"
For each (Integer A) from 1 to 5 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
MiscReal Equal to 1.00
Then - Actions
Set Variable Set RandInt = (Random integer number between 1 and 4)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Veteran Strong for (Killing unit)) Less than 20
RandInt Equal to 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Veteran Strong for (Killing unit)) Equal to 0
Then - Actions
Unit - Add Veteran Strong to (Killing unit)
Else - Actions
Unit - Increase level of Veteran Strong for (Killing unit)
Set Variable Set MiscReal = "0.00"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Veteran Survival for (Killing unit)) Less than 20
RandInt Equal to 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Veteran Survival for (Killing unit)) Equal to 0
Then - Actions
Unit - Add Veteran Survival to (Killing unit)
Else - Actions
Unit - Increase level of Veteran Survival for (Killing unit)
Set Variable Set MiscReal = "0.00"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Veteran Speed for (Killing unit)) Less than 20
RandInt Equal to 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Veteran Speed for (Killing unit)) Equal to 0
Then - Actions
Unit - Add Veteran Speed to (Killing unit)
Else - Actions
Unit - Increase level of Veteran Speed for (Killing unit)
Set Variable Set MiscReal = "0.00"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandInt Equal to 4
(Level of Veteran Swiftness for (Killing unit)) Less than 20
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Veteran Swiftness for (Killing unit)) Equal to 0
Then - Actions
Unit - Add Veteran Swiftness to (Killing unit)
Else - Actions
Unit - Increase level of Veteran Swiftness for (Killing unit)
Set Variable Set MiscReal = "0.00"
Else - Actions
Else - Actions
Do nothing
BLIGHTTOWN
Events
Time - Every 120.00 seconds of game time
Conditions
Actions
Environment - Create Blight for Neutral Hostile from (Random point in (Playable map area)) to a radius of 512 .
Add CrittersLeft
Events
Unit - A unit leaves Red_Left <gen>
Conditions
(Number of units in (Units in Red_Left <gen> matching ((Life of (Matching unit)) Greater than 0.00))) Less than or equal to 1
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
For each (Integer A) from 1 to (Random integer number between 3 and 5) , do (Actions)
Loop - Actions
Unit - Create 1 . Ice Troll for Neutral Hostile at (Position of Way Gate 0031 <gen>) facing Default building facing degrees
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of (Last created unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Wait 1.00 seconds
Special Effect - Destroy (Last created special effect)
KaosLevel
Events
Unit - A unit Gains a level
Conditions
(Unit-type of (Triggering unit)) Equal to Lord of Kaos
Actions
Hero - Modify Strength of (Leveling Hero) : Add (Random integer number between -2 and 10) .
Hero - Modify Agility of (Leveling Hero) : Add (Random integer number between -2 and 7) .
Hero - Modify Intelligence of (Leveling Hero) : Add (Random integer number between -2 and 7) .
Location Error
Events
Unit - A unit Is attacked
Conditions
And - All (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Lord of Kaos
(Level of Location Error for (Triggering unit)) Not equal to 0
Actions
Set Variable Set RandPoint = ((Position of (Triggering unit)) offset by ((Random real number between -1500.00 and 1500.00), (Random real number between -1500.00 and 1500.00)))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Abs((X of RandPoint))) Less than 10000.00
(Abs((Y of RandPoint))) Less than 10000.00
Then - Actions
Unit - Move (Triggering unit) instantly to RandPoint
Else - Actions
Location Error Copy
Events
Unit - A unit Is attacked
Conditions
And - All (Conditions) are true
Conditions
(Mana of (Attacking unit)) Greater than 50.00
(Unit-type of (Attacking unit)) Equal to Lord of Kaos
(Level of Damage Error for (Attacking unit)) Equal to 1
Actions
Unit - Set mana of (Attacking unit) to ((Mana of (Attacking unit)) - 50.00)
Hero - Add ((Level of (Attacked unit)) x 50) experience to (Attacking unit) , Show level-up graphics
Unit - Kill (Attacked unit)
Unit - Create 1 . (Random level -1 creep unit-type) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
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.