can anyone post some working destro warlock AoE code ? Blaythe and I have been trying to get Fire and Brimstone working for hours now and cant seem to crack it
edit : finally got it i think, lots of delays in there and it works
can anyone post some working destro warlock AoE code ? Blaythe and I have been trying to get Fire and Brimstone working for hours now and cant seem to crack it
edit : finally got it i think, lots of delays in there and it works
Last edited by Mavmins; 03-30-2013 at 05:56 PM.
Cyrstal_Tech is there also a way to add a range check on disrupting shout like the 10yards so it does not use it when no one is in range ? and thatnks for the reply on how to add it to the rotation
Anyone know how to make an ability that will
1) Check if you have at least 1 Burning Ember
If so
2) Cast Havoc on any player that is:
-not my target
-within 30 yards
-not currently Immune
-not cc'd(this one might be difficult)
Or would mouseover Havoc be the best way to do this
Cyrstal_tech I tried
elseif playerClass == "WARRIOR" then
if PQR_SpellAvailable(6552) then
return 6552
elseif IsPlayerSpell(102060)
and PQR_SpellAvailable(102060)
and not PQR_SpellAvailable(6552)
then
return 102060
end
and it will not use disrupting shout at all just pummel is something wrong ? i even tried just the 102060 spell id instead of pummel and it does not fire disrupting shout any ideas ?
Last edited by crystal_tech; 03-30-2013 at 11:57 PM.
Please if someone helped you donate rep to them.
I'm not sure if this problem is from my end or is from PQR, but sometimes during fights my hotkeys/spells gets "locked" and I won't be able to cast or do any action at all until the fight ends. I can chat and move around etc but I can't perform any action. Tried reloading during the fights or closing PQR but doesn't work =/. Anyone knows what might be the problem here?
That was an issue that was figured out a loooong time ago. Any morphed spells that are being cast through the left hand side of the ability editor instead of using CastSpellByName(GetSpellInfo(...),nil)... or what not will cause that. To make things easier, whos profile are you using because if anything I believe that would be an outdated profile as all the developers have known of this for a long time and have resolved that issue in their profiles
I'm making (or trying to) a function for use in my data file to check if you're in melee range with your target which will work for any class and it contains an IsSpellInRange(), but obviously no spell is usable by every class (or is there?) so does anybody have any ideas of how I can do this?
Would a CheckInteractDistance() be do-able?
Last edited by chk; 03-31-2013 at 11:02 AM. Reason: new idea
you could...
and so on and so forth, and then for say rogue doesnt have a set spell that all 3 specs share you could doCode:if select(2, UnitClass("player")) == "ROGUE" then specialspell = Whatever spell rogues have elseif select(2, UnitClass("player")) == "WARRIOR" then specialspell = whatever spell warriors have elseif select(2, UnitClass("player")) == "PALADIN" then....
just suggestions for seeing what spec/class you are and for the actual cast range just make a check likeCode:if select(2, UnitClass("player")) == "ROGUE" then if GetSpecialization() == 2 then --Would be combat specialspell = "Sinister Strike" or GetSpellInfo(1752) elseif GetSpecialization() == 1 then --Would be for Assassination specialspell = "Mutilate" or GetSpellInfo(1329) end elseif select(2, UnitClass("player")) == "WARRIOR" then.....
Code:function MeleeRange() if IsSpellInRange(specialspell), "target") == 1 then return true else return false end end
Last edited by Nerder; 03-31-2013 at 12:29 PM.
Hey all,
Has anyone been able to get a cast-targeted-spell-on-target type of code working? I know Xelper is supposed to introduce such a function in PQR 3.0 but I just can't wait :P
Thanks