Originally Posted by
Ralphiuss
Are you talking about it'll switch targets maybe if something dies? If so is there a method to force the spell not to cast again if there is no target?
My knowledge is very limited. A lot of what is being used is stolen

with proper credit being given out within the profile. I know I don't have any sort of targeting system enabled to it. A lot of the code just seems basic and a lot of just conditions.
The only thing I see that has a target switcher in it is -- Encounters --, but that's only on spine. Everything else looks good except for the few spells that you have /stopcasting in the Actions menu. I didn't see anything that would go wrong in your combat checker either since all it's basically checking is if your in-combat. Maybe add in a check to it as well for if your on mount return true.
Again, otehr than the above, everything seems fine.
Originally Posted by
Ninjaderp
Ah, its not that much a problem really I think its good as it is. One thing though, can you make so it doesnt cast Guardian out of combat? I mean I got shift+rightclick for my flying-mount and it looks funny when Im in orgrimmar mounting with my guardian running after me ^^ The rape-macro (zeal&aw) doesnt activate out of combat so I think you could make the same adjustments for GoaK ^^
GoaK shouldn't activate unless your holding down Left Shift. But anyways, a good fix for this is:
Code:
local holyPower = UnitPower("player", 9)
local divinePurpose = PQR_UnitBuffID("player", 86172)
local inCombat = UnitAffectingCombat("Player")
local isMounted = IsMounted()
if IsLeftAltKeyDown() and (holyPower >=3 or divinePurpose ~= nil) then
RunMacroText("/cast Avenging Wrath")
RunMacroText("/cast Zealotry")
return true end
if IsLeftShiftKeyDown() and GetSpellCooldown(86150) == 0 and inCombat and not isMounted then
CastSpellByID(86150)
return true end
Replace all of what's in -- CDS -- with the above.