Skip to content

Commit 2163710

Browse files
committed
Fix a couple invalid arg counts on UnitCastingInfo, closes #17
1 parent d956b3e commit 2163710

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DBM-Raids-WoD/HellfireCitadel/Socrethar.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ function mod:SPELL_AURA_REMOVED(args)
417417
self.vb.kickCount2 = 0
418418
end
419419
--Check if there is an interruptable cast in progress when barrier drops
420-
local name, _, _, _, _, endTime = UnitCastingInfo("boss1")
420+
local name, _, _, _, endTime = UnitCastingInfo("boss1")
421421
if not name then return end
422422
if name == exertSpellName and GetTime() - endTime > 0.5 then--It's still possible to interrupt it
423423
if self.vb.kickCount2 == 0 then self.vb.kickCount2 = 1 end

DBM-Raids-WoD/Highmaul/TwinOgron.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ end
352352

353353
function mod:UNIT_SPELLCAST_START(uId, _, spellId)
354354
if spellId == 158093 then
355-
local _, _, _, _, startTime, endTime = UnitCastingInfo(uId)
355+
local _, _, _, startTime, endTime = UnitCastingInfo(uId)
356356
local time = ((endTime or 0) - (startTime or 0)) / 1000
357357
if time then
358358
timerInterruptingShout:Start(time)

0 commit comments

Comments
 (0)