Fix ticket 356 to show Fist of Justice to interrupt.
Johnny C. Lam [05-08-14 - 17:27]
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
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)
}