Never_Quit
New Member
- Reaction score
- 16
i'm having trouble making a trigger that will only decrease the charges in an item when a unit is windwalking or being a ward
it will work without the buff conditions :/ any thoughts?
Trigger:
- Trusite Charged
- Events
- Unit - A unit Dies
- Conditions
- ((Item carried by (Killing unit) of type Gem of True Seeing) is owned) Equal to True
- Or - Any (Conditions) are true
- Conditions
- ((Dying unit) has buff Wind Walk) Equal to True
- ((Dying unit) has buff Sentry Ward) Equal to True
- Conditions
- Actions
- Item - Set charges remaining in (Item carried by (Killing unit) of type Gem of True Seeing) to ((Charges remaining in (Item carried by (Killing unit) of type Gem of True Seeing)) - 1)
- Special Effect - Create a special effect attached to the overhead of (Killing unit) using Abilities\Spells\Orc\FeralSpirit\feralspiritdone.mdl
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Charges remaining in (Item carried by (Killing unit) of type Gem of True Seeing)) Equal to 0
- Then - Actions
- Item - Remove (Item carried by (Killing unit) of type Gem of True Seeing)
- Else - Actions
- If - Conditions
- Events
it will work without the buff conditions :/ any thoughts?