Originally Posted by
firepong
Well, obviously, you want it to be PQ_HolyPower ~= 3 and not PQ_HolyPower == 3. With the latter set, it will only cast Judgement when he HAS 3 Holy Power. With what I said to change it to, it will then not cast unless the player has LESS than 3 holy power.
And ye, what Bubba said, you had the Return true and Return false backwards

I certainly appreciate your help with this however what I'm looking for is a way to make it so when Zealotry is active it does not judge at all, I started out with testing so if you have 3 HoPo or DP it will not judge which is a move in the right direction but what It really needs to do is just not judge if zealotry buff is active so that is what I'm currently working on.
Also has anyone run into an issue where on one profile focus target attacking will work but others it will not? Using the same exact code?
Code:
if IsSpellInRange(GetSpellInfo(20217), "target") == 1 then
if PQ_HolyPower ~= 3 or PQ_Buffs[PQ_DivinePurpose].hasBuff or PQ_Buffs[PQ_Zealotry].hasBuff then
return false
else
return true
end
end
This makes it so it just never fires judgement at all.