Files
DucielandClaude Opus 5.5 1f6e8540ea Snapshot of the installed OctoWoW BigWigs addon
Full state of the live install: prodigeomix fork content plus local
OctoWoW patches (MC/Onyxia/ZG/Karazhan timers, Golemagg, Thaurissan,
aura-scan perf, world markers), and the BWL changes from raid feedback:
- Razorgore: exact egg count via SuperWoW cast events, count synced
- Firemaw: Flame Buffet timer on by default, retimed from logs
- Blackwing Alchemist: assist marking, no Skull/Cross or mob marks,
  mark follows the fire chain
- Wyrmguard/Overseer: vulnerability read from the buff, one bar per mob
  with its raid mark and click-to-target
- Bars: BigWigs_SetBarRaidMark event to show a raid mark beside a bar

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:57:02 +01:00

119 lines
2.8 KiB
Lua
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
local module, L = BigWigs:ModuleDeclaration("Core Hound", "Molten Core")
module.revision = 30074
module.enabletrigger = module.translatedName
module.toggleoptions = {"respawn","despawn"}
module.trashMod = true
module.zonename = {
AceLibrary("AceLocale-2.2"):new("BigWigs")["Molten Core"],
AceLibrary("Babble-Zone-2.2")["Molten Core"],
}
module.defaultDB = {
bosskill = nil,
}
L:RegisterTranslations("enUS", function() return {
cmd = "CoreHound",
respawn_cmd = "respawn",
respawn_name = "Respawn Alert",
respawn_desc = "Warn for Respawn",
despawn_cmd = "despawn",
despawn_name = "Despawn Timer",
despawn_desc = "Countdown for body Despawn",
trigger_smolder = "collapses and begins to smolder.",
bar_respawn = "Respawn",
msg_respawn = "Kill all Core Hounds within 10 seconds",
bar_despawn = "Despawn",
msg_despawn = "Corehounds despawned",
["You have slain %s!"] = true,
} end )
L:RegisterTranslations("zhCN", function() return {
-- Wind汉化修复Turtle-WOW中文数据
-- Last update: 2024-06-22
cmd = "CoreHound",
respawn_cmd = "respawn",
respawn_name = "重生警报",
respawn_desc = "重生出现时进行警告",
trigger_smolder = "熔火恶犬.*开始.*smolder",
bar_respawn = "重生",
msg_respawn = "在10秒内杀死所有熔火恶犬",
["You have slain %s!"] = "你击杀了 %s!",
} end )
local timer = {
respawn = 10,
despawn = 11, -- also 10, but giving wiggle room
}
local icon = {
respawn = "spell_holy_resurrection",
despawn = "inv_misc_pocketwatch_01",
}
local color = {
respawn = "Magenta",
despawn = "Gray",
}
local syncName = {
dead = "CoreHoundDead"..module.revision,
despawn = "CoreHoundDespawn"..module.revision,
}
function module:OnEnable()
--self:RegisterEvent("CHAT_MSG_SAY", "Event")--Debug
self:RegisterEvent("CHAT_MSG_MONSTER_EMOTE")
self:ThrottleSync(10, syncName.dead)
self:ThrottleSync(0.5, syncName.despawn)
end
function module:OnSetup()
self.started = nil
end
function module:OnEngage()
end
function module:OnDisengage()
end
function module:CheckForBossDeath(msg)
end
function module:CHAT_MSG_MONSTER_EMOTE(msg)
if string.find(msg, L["trigger_smolder"]) then
self:Sync(syncName.dead)
self:Sync(syncName.despawn)
end
end
function module:Event(msg)
end
function module:BigWigs_RecvSync(sync, rest, nick)
if sync == syncName.dead and self.db.profile.respawn then
self:StartRespawnTimer()
elseif sync == syncName.despawn and self.db.profile.despawn then
self:StartDespawnTimer()
end
end
function module:StartDespawnTimer()
self:Message(L["msg_despawn"])
self:Bar(L["bar_despawn"], timer.despawn, icon.despawn, true, color.despawn)
end
function module:StartRespawnTimer()
self:Message(L["msg_respawn"])
self:Bar(L["bar_respawn"], timer.respawn, icon.respawn, true, color.respawn)
end