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
(2)Toad Passage.w3x
Variables
Initialization
Melee Initialization
Rcipe
claw 12
crown king
ring armor
Item stack
Stack
Unstack
Untitled Category
Regen Aura
RegenAura
Dmg based on att.
AttributeDamage
Name
Type
is_array
initial_value
Charges
integer
No
Hero
unit
Yes
HeroPos
location
No
ItemAmount
integer
No
Level
integer
No
Slot
integer
No
TempReal
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)
claw 12
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Scroll of the Beast
Actions
For each (Integer A) from 1 to 6 , do (If ((Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Claws of Attack +6) then do (Set VariableSet ItemAmount = (ItemAmount + 1)) else do (Do nothing))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
ItemAmount Equal to 2
Then - Actions
Hero - Drop (Item carried by (Hero manipulating item) of type Claws of Attack +6) from (Hero manipulating item) .
Item - Remove (Last dropped item)
Hero - Drop (Item carried by (Hero manipulating item) of type Claws of Attack +6) from (Hero manipulating item) .
Item - Remove (Last dropped item)
Hero - Create Claws of Attack +12 and give it to (Hero manipulating item)
Else - Actions
Set Variable Set ItemAmount = "0"
crown king
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Scroll of the Beast
Actions
For each (Integer A) from 1 to 6 , do (If ((Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Circlet of Nobility) then do (Set VariableSet ItemAmount = (ItemAmount + 1)) else do (Do nothing))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
ItemAmount Equal to 2
Then - Actions
Hero - Drop (Item carried by (Hero manipulating item) of type Circlet of Nobility) from (Hero manipulating item) .
Item - Remove (Last dropped item)
Hero - Drop (Item carried by (Hero manipulating item) of type Circlet of Nobility) from (Hero manipulating item) .
Item - Remove (Last dropped item)
Hero - Create Crown of Kings +5 and give it to (Hero manipulating item)
Else - Actions
Set Variable Set ItemAmount = "0"
ring armor
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Scroll of the Beast
Actions
For each (Integer A) from 1 to 6 , do (If ((Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Ring of Protection +2) then do (Set VariableSet ItemAmount = (ItemAmount + 1)) else do (Do nothing))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
ItemAmount Equal to 2
Then - Actions
Hero - Drop (Item carried by (Hero manipulating item) of type Ring of Protection +2) from (Hero manipulating item) .
Item - Remove (Last dropped item)
Hero - Drop (Item carried by (Hero manipulating item) of type Ring of Protection +2) from (Hero manipulating item) .
Item - Remove (Last dropped item)
Hero - Create Ring of Protection +5 and give it to (Hero manipulating item)
Else - Actions
Set Variable Set ItemAmount = "0"
Stack
Events
Unit - A unit Acquires an item
Conditions
((Hero manipulating item) has an item of type (Item-type of (Item being manipulated))) Equal to True
(Item being manipulated) Not equal to (Item carried by (Hero manipulating item) of type (Item-type of (Item being manipulated)))
Actions
Item - Set charges remaining in (Item carried by (Hero manipulating item) of type (Item-type of (Item being manipulated))) to ((Charges remaining in (Item carried by (Hero manipulating item) of type (Item-type of (Item being manipulated)))) + (Charges remaining in (Item being manipulated)))
Hero - Drop (Item being manipulated) from (Hero manipulating item) .
Item - Remove (Item being manipulated)
Unstack
Events
Player - Player 1 (Red) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 2 (Blue) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 3 (Teal) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 4 (Purple) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 5 (Yellow) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 6 (Orange) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 7 (Green) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 8 (Pink) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 9 (Gray) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 10 (Light Blue) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 11 (Dark Green) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Player - Player 12 (Brown) types a chat message containing -unstack (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Set Variable Set HeroPos = (Position of Hero[(Player number of (Triggering player))])
Set Variable Set Slot = (Integer((Substring((Entered chat string), 10, 10))))
Set Variable Set Charges = ((Charges remaining in (Item carried by Hero[(Player number of (Triggering player))] in slot Slot)) / 2)
Item - Set charges remaining in (Item carried by Hero[(Player number of (Triggering player))] in slot Slot) to Charges
Item - Create (Item-type of (Item carried by Hero[(Player number of (Triggering player))] in slot Slot)) at HeroPos
Item - Set charges remaining in (Last created item) to Charges
Custom script: call RemoveLocation(udg_HeroPos)
RegenAura
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
((Attacking unit) has buff B002) Equal to True
((Attacking unit) has buff B003) Equal to True
((Attacking unit) has buff B001) Equal to True
Actions
If (((Attacking unit) has buff B002) Equal to True) then do (Set VariableSet Level = "1") else do (Do nothing)
If (((Attacking unit) has buff B003) Equal to True) then do (Set VariableSet Level = "2") else do (Do nothing)
If (((Attacking unit) has buff B001) Equal to True) then do (Set VariableSet Level = "3") else do (Do nothing)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level x 4) Greater than or equal to (Random integer number between 1 and 100)
Then - Actions
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + ((Real(Level)) x 15.00))
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Attacking unit) using Abilities\Spells\Human\Heal\HealTarget.mdl
Else - Actions
AttributeDamage
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Bash
Actions
Set Variable Set TempReal = (Real((Strength of (Triggering unit) (Include bonuses))))
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast) , dealing TempReal damage of attack type Spells 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.