Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I am 95% sure that you can only reset cooldown with triggers but not manipulate it. I have no idea about jass throught... but I am prety sure its the same.
"Player" is the owning player of the caster. You can use a variable for this.
"AbilityId" is the raw ID of the spell (such as 'AHds' for divine shield, or 'A001' for a custom ability).
Boolean is a boolean (true or false): false = ability is disabled, true = ability is enabled.
This will effectively remove the ability while not messing with the cooldown.
You don't have to change the basics of this too much: the variables will automatically be set to the correct values (the ID of the spell and the triggering player).
This is already MUI due to the local-trick. You can add conditions for the spells you want to change, that should be all.
(I hope I got all of this correct, I'm in a bit of a hurry ).
"Player" is the owning player of the caster. You can use a variable for this.
"AbilityId" is the raw ID of the spell (such as 'AHds' for divine shield, or 'A001' for a custom ability).
Boolean is a boolean (true or false): false = ability is disabled, true = ability is enabled.
This will effectively remove the ability while not messing with the cooldown.
You don't have to change the basics of this too much: the variables will automatically be set to the correct values (the ID of the spell and the triggering player).
This is already MUI due to the local-trick. You can add conditions for the spells you want to change, that should be all.
(I hope I got all of this correct, I'm in a bit of a hurry ).
Because my GUI is getting a bit sloppy?
(Besides, "hard work"? You're making it sound as if GUI is easier than JASS . Both functions are 1 line each, so there's no difference in that either).
The local variables are for making it MUI, which cannot be done in GUI in any easy way.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.