-
I'm so grateful for this documentation. It has helped me so much!
I don't think i can thank you enough! +rep!!!
-
Active Member
{ "73510", "player.buff(Surge of Darkness)" }, -- Mind Spike
not workin in RU client, even if i change name to ID,
any chance to fix this?
ps: changing to RU name not working too
-
Member
Originally Posted by
Nimesil
{ "73510", "player.buff(Surge of Darkness)" }, -- Mind Spike
not workin in RU client, even if i change name to ID,
any chance to fix this?
ps: changing to RU name not working too
should work, code is fine, try using spellid in player.buff, with ru client, there are 3 buffs so you need to find the right spellid.
Surge of Darkness - Wowhead Search
check if any errors are in the lines above this code, does your debugger spit anything out?
-
Member
This documentation is so good. Very helpful
-
Member
spell.cooldown is NOT boolean, it returns seconds left in cooldown, or 0 if spell is NOT on cooldown. Please Modify guide accordingly.
-
Active Member
As far as I know Imogen hasn't been here in months.
"Shootings easy, Aimings hard!" Stinky
-
Member
Originally Posted by
gomisensei
spell.cooldown is NOT boolean, it returns seconds left in cooldown, or 0 if spell is NOT on cooldown. Please Modify guide accordingly.
You are supposed to do spell.cooldown < seconds. That way you create a boolean.
Lua will turn anything higher than 0 or lower than 0 into true. false = false, nil = false, 0 = false the rest is true.
Now I do agree that if the guide says it is a boolean it should be edited.
-
Member
Also, interruptAt syntax is incorrect, you use target.InterruptAt(xx) as a replacement for modifier.interrupt, not as a comparator.
-
Member
Maybe I'm not seeing it and it's there... but anyhow, does anyone know how i can get it to stop my player from channeling to cast another spell when its on cd?
-
Member
Originally Posted by
cs0267
Maybe I'm not seeing it and it's there... but anyhow, does anyone know how i can get it to stop my player from channeling to cast another spell when its on cd?
if you prefix the spell name with a ! (i.e. "!Spellsteal") i believe it will interrupt whatever is being casted to cast the new spell, not sure if it will cancel a channel, but you could try...
-
Post Thanks / Like - 1 Thanks
cs0267 (1 members gave Thanks to gomisensei for this useful post)
-
Member
Originally Posted by
gomisensei
if you prefix the spell name with a ! (i.e. "!Spellsteal") i believe it will interrupt whatever is being casted to cast the new spell, not sure if it will cancel a channel, but you could try...
Thanks! I gave that a try and now it stops channeling when any spell comes off cooldown (which is what I want), but then it starts channeling again.
-
Member
I got it... put the ! in front of the spellid you want to cast not the spellid you want to stop channeling. Thanks! you were very helpful!
-
Active Member
just be careful with ! usage. It will interrupt anything you are currently doing to cast that spell if its conditions are met. This means even if you are already casting/channeling something.
"Shootings easy, Aimings hard!" Stinky
-
Post Thanks / Like - 1 Thanks
cs0267 (1 members gave Thanks to StinkyTwitch for this useful post)
-
Member
So what is the proper usage? I just want it to stop channeling mind flay when mind blast is off cd. Right now it is working correctly for me, but any advice would be helpful.
-
Active Member
Don't change anything if its working, just be mindful if you notice stuff like getting interrupted that that may be the issue.
"Shootings easy, Aimings hard!" Stinky