I'm trying to make an ability that works in the same fashion as Restoration from sc1 (removes negative buffs). I have it set to remove a custom behaviour I made, the only problem is I can't seem to get it to work; If I try make the button execute the ability directly it gives me an error, if I use a Launch Missile ability it doesnt remove the buff (I'm not even sure the ability actually activates when the missile collides with it's target).
Create an ability that applies a behavior for .1 sec or whatever, or longer if you want the unit to be immune to the removed spell for X amount of time (the behavior doesn't have to do anything). Then create a 'unit compare behavior count' validator not = to 1 (maybe = to 1 I'm tired) for the newly created behavior you will be applying. Then put the validator on the spell you want to remove (not the new spell) as a remove validator.
I'm trying to make an ability that works in the same fashion as Restoration from sc1 (removes negative buffs). I have it set to remove a custom behaviour I made, the only problem is I can't seem to get it to work; If I try make the button execute the ability directly it gives me an error, if I use a Launch Missile ability it doesnt remove the buff (I'm not even sure the ability actually activates when the missile collides with it's target).
Any ideas on what I'm doing wrong?
I am having the same problem :|
I have a hero with an skill like that, mirroring the Cloak of Shadows skill from WoW.
I had to use triggers. When any unit uses the skill "Name of the Skill", remove X behaviour from the activator unit.
What was pretty hard was making the skill usable while stunned or incapacited >.<
Create an ability that applies a behavior for .1 sec or whatever, or longer if you want the unit to be immune to the removed spell for X amount of time (the behavior doesn't have to do anything). Then create a 'unit compare behavior count' validator not = to 1 (maybe = to 1 I'm tired) for the newly created behavior you will be applying. Then put the validator on the spell you want to remove (not the new spell) as a remove validator.