From eadc687ed0f5566e28665d0e9ae78602c88d8c13 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Mon, 21 Apr 2014 05:02:35 +0000 Subject: [PATCH] Fix detection of SS/RS in Bandit's Guile module. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1305 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleBanditsGuile.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvaleBanditsGuile.lua b/OvaleBanditsGuile.lua index b28f500..a9a41e4 100644 --- a/OvaleBanditsGuile.lua +++ b/OvaleBanditsGuile.lua @@ -103,10 +103,10 @@ end function OvaleBanditsGuile:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, cleuEvent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...) local arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23 = ... - if sourceGUID == self_guid and event == "SPELL_DAMAGE" and self.stacks < 4 then + if sourceGUID == self_guid and cleuEvent == "SPELL_DAMAGE" and self.stacks < 4 then local spellId = arg12 if spellId == REVEALING_STRIKE or spellID == SINISTER_STRIKE then - now = API_GetTime() + local now = API_GetTime() self.start = now self.ending = now + INSIGHT_DURATION self.stacks = self.stacks + 1 -- 1.7.9.5