Skip to content

Commit

Permalink
BWL-Chromaggus: fix arg for UnitBuff wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Zidras committed Jul 7, 2024
1 parent 24adf93 commit 3be6dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DBM-BWL/Chromaggus.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local mod = DBM:NewMod("Chromaggus", "DBM-BWL", 1)
local L = mod:GetLocalizedStrings()

mod:SetRevision("20240225223100")
mod:SetRevision("20240708001751")
mod:SetCreatureID(14020)
mod:SetModelID(14367)
mod:RegisterCombat("combat")
Expand Down Expand Up @@ -146,7 +146,7 @@ local function check_target_vulns(self)
return
end

local spellId = select(10, DBM:UnitBuff("target", 22277, 22280, 22278, 22279, 22281)) or 0
local spellId = select(11, DBM:UnitBuff("target", 22277, 22280, 22278, 22279, 22281)) or 0
local vulnSchool = vulnSpells[spellId]
if vulnSchool then
return check_spell_damage(self, target, 10000, vulnSchool)
Expand Down

0 comments on commit 3be6dc3

Please sign in to comment.