I am trying to make item that enables ability to charge. I've made behavior "item - amulet of charge" added to unit when item equipeed. It works, but not at all. Sometimes ability only getting garyed(disabled, but not hidden), and sometimes if i move it on equip slot it doesnt enables ability(need to move couple times to view it).
My trigger:
Quote:
<> - Amulet - Charge
Events
Unit - Any Unit Moves Any Item
Unit - Any Unit Drops Any Item
Unit - Any Unit Picks Up Any Item
Local Variables
Conditions
(Unit type of (Triggering inventory item)) == Item (Inventory) - Amulet of Charge
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Triggering unit) has item - Amulet of Charge) == true
Then
Unit - Enable the Zealot - Charge ability for (Triggering unit)
Unit - Show the Zealot - Charge ability for (Triggering unit)
Else
Unit - Hide the Zealot - Charge ability for (Triggering unit)
Unit - Disable the Zealot - Charge ability for (Triggering unit)
I am trying to make item that enables ability to charge. I've made behavior "item - amulet of charge" added to unit when item equipeed. It works, but not at all. Sometimes ability only getting garyed(disabled, but not hidden), and sometimes if i move it on equip slot it doesnt enables ability(need to move couple times to view it).
My trigger: