kraszus 5 Posted November 21, 2019 Share Posted November 21, 2019 I've written a fairly basic warlock fightclass. I've included a 'castspell(1, "pet")' spell so the pet casts consume shadows when I am out of combat and PetHealthPct <50. Aside from the fact that I spam this ability during combat, I was wondering is there a way to add an artificial cooldown to the ability to prevent it from spaming...eg. Once used...don't use for at least another 10 seconds. Any help or advice appreciated ? Link to comment https://wrobot.eu/forums/topic/11706-artificial-cooldown/ Share on other sites More sharing options...
TheSmokie 242 Posted November 21, 2019 Share Posted November 21, 2019 You can use buffcheck Link to comment https://wrobot.eu/forums/topic/11706-artificial-cooldown/#findComment-56176 Share on other sites More sharing options...
kraszus 5 Posted November 22, 2019 Author Share Posted November 22, 2019 Thanks Smokie, I know how to check buffs on myself but how do I check the pets buffs? Link to comment https://wrobot.eu/forums/topic/11706-artificial-cooldown/#findComment-56177 Share on other sites More sharing options...
TheSmokie 242 Posted November 22, 2019 Share Posted November 22, 2019 ObjectManager.Pet.HaveBuff(“name”); Link to comment https://wrobot.eu/forums/topic/11706-artificial-cooldown/#findComment-56178 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now