Jump to content

Recommended Posts

Hey,

 

I am fairly new to Wrobot and tried to adapt and improve the Fight Classes that are already uploaded (from Ohren etc.) for my own needs.

Really working great so far, grinded with my own profiles from 86-90 really easy.

 

But what exactly changes when i set

 

"Is Spell Usable" - True

 

Does it check the cooldown of the spell? Or if it's a proc and ready to use? Because it seems to work with or without it.

For example Arms Warrior (Spell: Mortal Strike)

 

Is it better to set it or leave it? Since Mortal Strike has a 6sec Cooldown. If, for example, I only put Mortal Strike as only attack, does the bot "spam" the Mortal Strike or only every 6 second once?

 

It's really just for information, I don't want the bot to spam unnecessary commands when something is on cooldown or if I am counterspelled in bg and have 8 seconds of school-lockout (as caster).

 

Thanks in advance!

Really working great so far, grinded with my own profiles from 86-90 really easy

 

Link to comment
https://wrobot.eu/forums/topic/465-what-does-is-spell-usable-exactly/
Share on other sites

Hello,

 

IsUsableSpell uses two functions lua: http://www.wowwiki.com/API_IsUsableSpell and http://www.wowwiki.com/API_GetSpellCooldown

 

IsUsableSpell return true if you have mana, if no cooldown and conditions have been met.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...