From 956a6b286f65b25826c482df7c559b9a0fa6e735 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Thu, 8 May 2014 17:27:47 +0000 Subject: [PATCH] Fix ticket 356 to show Fist of Justice to interrupt. The IsSpellInRange() API function always returns nil for Fist of Justice, even if talented into the ability. Remove the range check for Fist of Justice as a workaround. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1410 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- scripts/ovale_paladin_spells.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ovale_paladin_spells.lua b/scripts/ovale_paladin_spells.lua index 54716e6..eae0af8 100644 --- a/scripts/ovale_paladin_spells.lua +++ b/scripts/ovale_paladin_spells.lua @@ -230,7 +230,7 @@ AddFunction Interrupt if target.InRange(rebuke) Spell(rebuke) if target.Classification(worldboss no) { - if TalentPoints(fist_of_justice_talent) and target.InRange(fist_of_justice) Spell(fist_of_justice) + if TalentPoints(fist_of_justice_talent) Spell(fist_of_justice) if not TalentPoints(fist_of_justice_talent) and target.InRange(hammer_of_justice) Spell(hammer_of_justice) #Spell(blinding_light) } -- 1.7.9.5