Squeekems
TH.net Regular
- Reaction score
- 11
I was trying to use a trigger like this. But I don't know how to refer to the target of the item being manipulated.
I tried using the "Unit - A unit Begins casting an ability" event, and the "(Ability being cast) Equal to Charm (Item)" condition. But that didn't seem to trigger at all.
What am I doing?:
For a quest on my map, you must weaken a boss. It is level 18. When you take 1k hit points out of it, it "delevels." You're suppose to get it to level 5 and then use this item on it. But I don't want people to abuse this item on other units.
Trigger:
- Prevent Lead Archer Misuse
- Events
- Unit - A unit Uses an item
- Conditions
- (Item being manipulated) Equal to EtherealBow
- (Target unit of ability being cast) Not equal to Ethereal_Spawn
- Actions
- Unit - Change ownership of (Target unit of ability being cast) to Player 11 (Dark Green) and Change color
- Events
I tried using the "Unit - A unit Begins casting an ability" event, and the "(Ability being cast) Equal to Charm (Item)" condition. But that didn't seem to trigger at all.
What am I doing?:
For a quest on my map, you must weaken a boss. It is level 18. When you take 1k hit points out of it, it "delevels." You're suppose to get it to level 5 and then use this item on it. But I don't want people to abuse this item on other units.