R
Regalth
Guest
I'm trying to make an item that, when used on a target, increases the target's armor by 2 for 15 seconds. Would be simple, but I can't get autocast abilities to work on items, even after (I think) disabling everything to do with autocast. So, I tried triggering it.
Events:
A unit Begins casting an ability.
Conditions:
Ability being cast equal to Wand of Protection.
Actions:
Add ability (Item Armor Increase (+2)) to (Target of ability being cast)
Wait 15 seconds
Remove ability (Item Armor Increase (+2)) from (Target of ability being cast)
The Wand of Protection ability is a worthless version of Unholy Frenzy, lasts 15 seconds (if that matters), no attack speed increase or health damage.
Theoretically, this should give the armor increase ability, wait 15 seconds, and take it away. The problem is, the second Target of ability being cast doesn't work. In this form, the item increases armor by 2 forever. I found that, by changing the third action to read (Triggering unit), the spell works properly when aimed at the caster, so I'm pretty sure the problem is in the second reference. I can't figure out where to go from here, though. Anyone have any ideas, or know of some ability that I could put on my item? (i.e. how to have Inner Fire as the item's ability)
Thanks!
Events:
A unit Begins casting an ability.
Conditions:
Ability being cast equal to Wand of Protection.
Actions:
Add ability (Item Armor Increase (+2)) to (Target of ability being cast)
Wait 15 seconds
Remove ability (Item Armor Increase (+2)) from (Target of ability being cast)
The Wand of Protection ability is a worthless version of Unholy Frenzy, lasts 15 seconds (if that matters), no attack speed increase or health damage.
Theoretically, this should give the armor increase ability, wait 15 seconds, and take it away. The problem is, the second Target of ability being cast doesn't work. In this form, the item increases armor by 2 forever. I found that, by changing the third action to read (Triggering unit), the spell works properly when aimed at the caster, so I'm pretty sure the problem is in the second reference. I can't figure out where to go from here, though. Anyone have any ideas, or know of some ability that I could put on my item? (i.e. how to have Inner Fire as the item's ability)
Thanks!


