As the title implies, this is just a slew of things my noob GUI skills are not able to figure out, and so I come to you, the gods of Triggers. I bask in your glory.
1. The first issue I have is with a couple of Triggered Spells I have that work fine, I have no way of dispelling them. The Spell and Buff associated with the Triggered spell would be dispelled fine, but the meat of the spell is the addition of other spells onto the unit to do things such as rapid health loss and healing my nearby units (that's one example of one of my un-dispellable spells). Let me show you the code first, so you can see the mess that you're up against.
So as you can see, I've got these abilities that are adding stat modifiers (or whatever you want to call them) and then they only come off after the timer. I was hoping for someway to detect when a dispel was cast, and then check if the unit (Priests AoE dispel doesn't target a certain unit...) had a certain buff before it being dispelled and then I could remove abilities from said unit as needed, but that's only in my perfect world.
2. Localizing Unit Groups?
My custom script is typed out as follows, but can't localize a unit group.
3. Renewing Triggered Abilities. I have no idea how to even start to explain without showing you the code.
So you can see here that whenever a Ravager kills something, all his nearby friends will get an attack speed increase for 15 seconds, works fine at the minute. What I'm hoping is somehow possible is to be able to renew the timer on it for the group of units. So...
Ravager 1 kills a unit; he and Ravagers 3 and 4 get the buff.
Ravager 3 and 4 go off on their own and kill a unit. They SHOULD be able to refresh their attack speed buff for another 15 seconds, but it will still end the same time as Ravagers 1 and 2.
So you see what I am saying hopefully (if you want, I can try to explain it again), and now I have to ask you if there is any way to do this?
4. Leaks. I don't believe I missed any, but did you notice any?
And that's my mass of trigger questions. I appreciate any wisdom that could be added to my coding.