Does anyone else have a problem with the PQR Custom Functions atm , none of the ones i use seem to work
Does anyone else have a problem with the PQR Custom Functions atm , none of the ones i use seem to work
Realy , no one , hmm ok.
I will give an example on one of the problems i get with the PQR_Custom functions
here is a bit of code i use
Now this racial spell should only be cast if. 1, its ready. 2 if one of the buffs is on me or i press the modifier key.if PQR_SpellAvailable(20572) and
UnitBuffID("player",32182) --Heroism
or UnitBuffID("player",2825) -- Bloodlust
or UnitBuffID("player",80353) --TimeWarp
or UnitBuffID("player",11385 -- DarSoul
or IsRightControlKeyDown()
then
CastSpellByName(GetSpellInfo(20572),"player")
return true
end
But the code totally ignores the PQR_SpellAvailable(20572), and is returning true no matter if the spell is ready or not , as long as i got one of the buffs or the modifier key is down.
This makes me belive there is somethin wrong with the Custom functions.
Now Is anyone seeing this or is it just me who should delete PQR and reinstall it ??
It might be the use of "or"
try thisif PQR_SpellAvailable(20572) then
if UnitBuffID("player",32182) --Heroism
or UnitBuffID("player",2825) -- Bloodlust
or UnitBuffID("player",80353) --TimeWarp
or UnitBuffID("player",11385 -- DarSoul 113858 the 8 and ) turns into a so you have to fix that :P
or IsRightControlKeyDown()
then
CastSpellByName(GetSpellInfo(20572),"player")
return true
end
end
Last edited by Quesadilla; 07-14-2013 at 10:33 PM.
I will try that thank you :-)