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
RPG terrain with herbalism.w3x
Variables
Professions
Herbalism
Herbalism
Herbs respawn
Herbs stacking
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
Herbalism
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Pick Herb
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Target unit of ability being cast)) Equal to Nature Bloom
Then - Actions
Unit - Kill (Target unit of ability being cast)
Hero - Create Nature bloom - flower and give it to (Casting unit)
Item - Set charges remaining in (Last created item) to (Random integer number between 1 and 4)
Else - Actions
Herbs respawn
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Nature Bloom
Actions
Wait 30.00 seconds
Unit - Create a Nature Bloom corpse for Neutral Passive at (Position of (Dying unit))
Herbs stacking
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Nature bloom - flower
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Hero manipulating item) has an item of type Nature bloom - flower) Equal to True
(Charges remaining in (Item carried by (Hero manipulating item) of type Nature bloom - flower)) Less than 100
Then - Actions
Item - Set charges remaining in (Item carried by (Hero manipulating item) of type Nature bloom - flower) to ((Charges remaining in (Item carried by (Hero manipulating item) of type Nature bloom - flower)) + (Charges remaining in (Item being manipulated)))
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.