Jump to content

Recommended Posts

Hi,

i'm sure i have the answer but i cant find it lol

How can i in C# test the Cooldown Time Left on Vanish or killing spree for example.

Nothing usable in 

private Spell killingSpree;    

or 

ObjectManager.Me

but i'm sure i already done that before :(

Link to comment
https://wrobot.eu/forums/topic/2860-cooldown-time-left/
Share on other sites

Hello

private Spell killingSpree;

//...

var timeLeftMs = wManager.Wow.Helpers.SpellManager.GetSpellCooldownTimeLeftBySpellName(killingSpree.Name);

or

private Spell killingSpree;

//...

var timeLeftMs = wManager.Wow.Helpers.SpellManager.GetSpellCooldownTimeLeft(killingSpree.NameInGame);

(method "ObjectManager.Me.CooldownTimeLeft(string spellName, bool isSpellNameInGame = false);" bug in this wrobot version)

Link to comment
https://wrobot.eu/forums/topic/2860-cooldown-time-left/#findComment-13159
Share on other sites

Thxs for the answer ;)

And for a trinket like http://fr.wowhead.com/item=124224/miroir-du-maitre-lame&bonus=0, how can i get the  CooldownTimeLeft 

var timeLeftMs = wManager.Wow.Helpers.SpellManager.GetSpellCooldownTimeLeft(124224);

Perhaps?

 

Or how can i test it's ready to use?

Link to comment
https://wrobot.eu/forums/topic/2860-cooldown-time-left/#findComment-13165
Share on other sites

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...