Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LuaLS warnings #84

Merged
merged 1 commit into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DBM-Raids-BC/Serpentshrine/Vashj.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ mod:RegisterEventsInCombat(
"SPELL_CAST_START 38253",
"SPELL_CAST_SUCCESS 38316",--38511
"UNIT_DIED",
"CHAT_MSG_MONSTER_YELL",
"CHAT_MSG_LOOT"
"CHAT_MSG_MONSTER_YELL"
-- "CHAT_MSG_LOOT"
)

local warnCharge = mod:NewTargetNoFilterAnnounce(38280, 4)
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-Vanilla/VanillaNaxx/FrostwyrmLair/Kel'Thuzad.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function mod:SPELL_AURA_APPLIED(args)
--timerMCCD:Start(60)--60 seconds?
end
if self.Options.SetIconOnMC2 then
local _, _, group = GetRaidRosterInfo(UnitInRaid(args.destName))
local _, _, group = GetRaidRosterInfo(UnitInRaid(args.destName) or 0)
if group % 2 == 1 then
self:SetIcon(args.destName, self.vb.MCIcon1)
self.vb.MCIcon1 = self.vb.MCIcon1 + 1
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-Vanilla/VanillaSoD_Gnomeregan/Grubbis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mod:SetWipeTime(30)--Combat drops between adds waves
mod:RegisterEventsInCombat(
"SPELL_CAST_START 436027 436100 436059",
"SPELL_CAST_SUCCESS 435520 435525 435526 436168 435361 435362 435363",
"SPELL_SUMMON 435832 435835",
-- "SPELL_SUMMON 435832 435835",
"SPELL_AURA_APPLIED 434941 3019 436074 434165 436027",
-- "SPELL_AURA_APPLIED_DOSE",
"SPELL_AURA_REMOVED 434941 436074 436027",
Expand Down