From 857cee57f9044b71cd88717ed269016490bbc760 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Thu, 29 Nov 2012 06:54:52 +0000 Subject: [PATCH] Fix ticket 193 by catching up to UnitAura() changes in MoP 5.1. UnitAura() has a different return value list in MoP 5.1. The values associated with an aura have been shifted one argument further down, i.e., from 14-15-16 to 15-16-17. The 14th return value is now "isCastByPlayer". git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@646 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleAura.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleAura.lua b/OvaleAura.lua index 5bd5acf..4aae0a8 100644 --- a/OvaleAura.lua +++ b/OvaleAura.lua @@ -209,7 +209,7 @@ function OvaleAura:UpdateAuras(unitId, unitGUID) local canApplyAura, isBossDebuff, value1, value2, value3 while (true) do name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId, - canApplyAura, isBossDebuff, value1, value2, value3 = UnitAura(unitId, i, mode) + canApplyAura, isBossDebuff, isCastByPlayer, value1, value2, value3 = UnitAura(unitId, i, mode) if not name then if mode == "HELPFUL" then mode = "HARMFUL" -- 1.7.9.5