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!
Set VariableSet MythicItem = Kelen's Dagger of Escape
Set VariableSet StrBonus = 5
Acquire Mythic Item
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to MythicItem
Actions
Set VariableSet InvSize = 6
For each (Integer InvSlot) from 1 to InvSize, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has (Item carried by (Triggering unit) in slot InvSlot)) Equal to True
Then - Actions
Hero - Modify Strength of (Triggering unit): Add StrBonus.
Else - Actions
Acquire Normal Item
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Not equal to MythicItem
((Triggering unit) has an item of type MythicItem) Equal to True
Actions
Hero - Modify Strength of (Triggering unit): Add StrBonus.
Lose Mythic Item
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to MythicItem
Actions
Set VariableSet InvSize = 6
For each (Integer InvSlot) from 1 to InvSize, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has (Item carried by (Triggering unit) in slot InvSlot)) Equal to True
Then - Actions
Hero - Modify Strength of (Triggering unit): Subtract StrBonus.
Else - Actions
Lose Normal Item
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Not equal to MythicItem
((Triggering unit) has an item of type MythicItem) Equal to True
Actions
Hero - Modify Strength of (Triggering unit): Subtract StrBonus.
I attached two maps. The first one uses the above triggers and the second one (Mythic Item 2) has the addition of only allowing 1 of these Mythic Items to be equipped at a time. If you have different types of Mythic Items you'd have to account for that a bit differently.
Set VariableSet MythicItem = Kelen's Dagger of Escape
Set VariableSet StrBonus = 5
Acquire Mythic Item
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to MythicItem
Actions
Set VariableSet InvSize = 6
For each (Integer InvSlot) from 1 to InvSize, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has (Item carried by (Triggering unit) in slot InvSlot)) Equal to True
Then - Actions
Hero - Modify Strength of (Triggering unit): Add StrBonus.
Else - Actions
Acquire Normal Item
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Not equal to MythicItem
((Triggering unit) has an item of type MythicItem) Equal to True
Actions
Hero - Modify Strength of (Triggering unit): Add StrBonus.
Lose Mythic Item
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to MythicItem
Actions
Set VariableSet InvSize = 6
For each (Integer InvSlot) from 1 to InvSize, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has (Item carried by (Triggering unit) in slot InvSlot)) Equal to True
Then - Actions
Hero - Modify Strength of (Triggering unit): Subtract StrBonus.
Else - Actions
Lose Normal Item
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Not equal to MythicItem
((Triggering unit) has an item of type MythicItem) Equal to True
Actions
Hero - Modify Strength of (Triggering unit): Subtract StrBonus.
I attached two maps. The first one uses the above triggers and the second one (Mythic Item 2) has the addition of only allowing 1 of these Mythic Items to be equipped at a time. If you had different types of Mythic Items you'd have to account for that a bit differently.
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.