This commit is contained in:
Andrew6810
2022-10-21 06:50:13 -07:00
parent 8571e98fb1
commit 39c0ed874e
466 changed files with 52263 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
## Interface: 30300
## Title:|cffffe00a<|r|cffff7d0aDBM|r|cffffe00a>|r |cff69ccf0Molten Core|r
## Title-esES:|cffffe00a<|r|cffff7d0aDBM|r|cffffe00a>|r |cff69ccf0Núcleo de Magma|r
## Title-ruRU:|cffffe00a<|r|cffff7d0aDBM|r|cffffe00a>|r |cff69ccf0Огненные Недра|r
## LoadOnDemand: 1
## RequiredDeps: DBM-Core
## SavedVariablesPerCharacter: DBMMC_SavedVars, DBMMC_SavedStats
## X-DBM-Mod: 1
## X-DBM-Mod-Category: Vanilla
## X-DBM-Mod-Has-Heroic-Mode: 0
## X-DBM-Mod-Name: Molten Core
## X-DBM-Mod-Name-esES: Núcleo de Magma
## X-DBM-Mod-Name-ruRU: Огненные Недра
## X-DBM-Mod-Sort: 111
## X-DBM-Mod-LoadZone: Molten Core
## X-DBM-Mod-LoadZone-esES: Núcleo de Magma
## X-DBM-Mod-LoadZone-ruRU: Огненные Недра
## X-DBM-Mod-LoadZone-frFR: Cœur du Magma
## X-DBM-Mod-LoadZone-esMX: Núcleo de Magma
## X-DBM-Mod-LoadZone-zhTW: 熔火之心
## X-DBM-Mod-LoadZone-zhCN: 熔火之心
## X-DBM-Mod-LoadZone-koKR: 화산 심장부
## X-DBM-Mod-LoadZone-deDE: Geschmolzener Kern
localization.en.lua
localization.es.lua
localization.ru.lua
Lucifron.lua
Magmadar.lua
Gehennas.lua
Garr.lua
Geddon.lua
Shazzrah.lua
Sulfuron.lua
Golemagg.lua
Majordomo.lua
Ragnaros.lua
+49
View File
@@ -0,0 +1,49 @@
local mod = DBM:NewMod("Garr", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 183 $"):sub(12, -3))
mod:SetCreatureID(12057)--, 12099
mod:RegisterCombat("combat", 12057)
mod:RegisterEvents(
"SPELL_AURA_APPLIED",
"SPELL_AURA_REMOVED"
)
local ReverbSpam = 0
local warnReverb = mod:NewSoonAnnounce(2105076)
local warnHarden = mod:NewSpellAnnounce(2105073)
-- local warnImmolate = mod:NewTargetAnnounce(15732)
-- local timerImmolate = mod:NewTargetTimer(21, 15732)
local timerNextReverb = mod:NewNextTimer(25, 2105076)
function mod:OnCombatStart(delay)
timerNextReverb:Start(-delay)
end
function mod:SPELL_AURA_APPLIED(args)
-- if args:IsSpellID(15732) and self:IsInCombat() then
-- -- warnImmolate:Show(args.destName)
-- -- timerImmolate:Start(args.destName)
-- else
if args:IsSpellID(2105076) and GetTime() > ReverbSpam then
ReverbSpam = GetTime()
warnReverb:Schedule(22)
timerNextReverb:Start()
end
end
function mod:SPELL_AURA_APPLIED_DOSE(args)
if args:IsSpellID(2105073) and (GetTime() - HardenSpam) > 5 and args.amount >= 75 and args.amount % 5 == 0 then
HardenSpam = GetTime()
warnHarden:Show()
end
end
-- function mod:SPELL_AURA_REMOVED(args)
-- if args:IsSpellID(15732) then
-- -- timerImmolate:Cancel(args.destName)
-- end
-- end
+63
View File
@@ -0,0 +1,63 @@
local mod = DBM:NewMod("Geddon", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 132 $"):sub(12, -3))
mod:SetCreatureID(12056)
mod:SetUsedIcons(8)
mod:RegisterCombat("combat")
mod:RegisterEvents(
"SPELL_AURA_APPLIED",
"SPELL_CAST_SUCCESS"
)
local warnInferno = mod:NewSpellAnnounce(19695)
local warnBomb = mod:NewTargetAnnounce(20475)
local specWarnBomb = mod:NewSpecialWarningYou(20475)
-- local warnIgnite = mod:NewSpellAnnounce(19659)
-- local warnArmageddon = mod:NewSpellAnnounce(20478)
local timerNextInferno = mod:NewNextTimer(55, 19695)
local timerNextLiving = mod:NewNextTimer(16, 20475)
local timerInferno = mod:NewCastTimer(8, 19695)
local timerBomb = mod:NewTargetTimer(8, 20475)
-- local timerIgnite = mod:NewBuffActiveTimer(300, 19659)
-- local timerArmageddon = mod:NewCastTimer(8, 20478)
mod:AddBoolOption("SetIconOnBombTarget", true)
function mod:OnCombatStart(delay)
timerNextInferno:Start(30-delay)
timerNextLiving:Start(15-delay)
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpellID(20475, 2105061) then
timerNextLiving:Start(16)
timerBomb:Start(args.destName)
warnBomb:Show(args.destName)
if self.Options.SetIconOnBombTarget then
self:SetIcon(args.destName, 8, 8)
end
if args:IsPlayer() then
specWarnBomb:Show()
end
end
end
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpellID(2105057, 2105058, 2105059) then
warnInferno:Show()
timerInferno:Start()
timerNextInferno:Start()
-- elseif args:IsSpellID(19659) then
-- warnIgnite:Show()
-- timerIgnite:Start()
-- elseif args:IsSpellID(20478) then
-- warnArmageddon:Show()
-- timerArmageddon:Start()
end
end
+61
View File
@@ -0,0 +1,61 @@
local mod = DBM:NewMod("Gehennas", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 183 $"):sub(12, -3))
mod:SetCreatureID(12259)--, 11661
mod:RegisterCombat("combat", 12259)
mod:RegisterEvents(
-- "SPELL_CAST_SUCCESS",
"SPELL_AURA_APPLIED"
)
--local warnRainFire = mod:NewSpellAnnounce(19717)
local warnCurse = mod:NewTargetAnnounce(19716)
local warnFist = mod:NewTargetAnnounce(20277)
local specWarnRain = mod:NewSpecialWarningYou(350076)
local timerNextCurse = mod:NewNextTimer(20, 19716)
local timerNextRain = mod:NewNextTimer(12, 20277)
local timerFist = mod:NewBuffActiveTimer(4, 20277)
local timerEnrage = mod:NewBerserkTimer(300)
local FistTargets = {}
function mod:OnCombatStart(delay)
table.wipe(FistTargets)
timerEnrage:Start(-delay)
timerNextRain:Start(10-delay)
timerNextCurse:Start()
end
function mod:warnFistTargets()
warnFist:Show(table.concat(FistTargets, "<, >"))
timerFist:Start(7-delay)
table.wipe(FistTargets)
end
-- function mod:SPELL_CAST_SUCCESS(args)
-- if args:IsSpellID(19716) then
-- timerNextCurse:Start()
-- warnCurse:Show()
-- -- elseif args:IsSpellID(19717) and self:IsInCombat() then
-- -- warnRainFire:Show()
-- end
-- end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpellID(20277) and args:IsDestTypePlayer() then
self:UnscheduleMethod("warnFistTargets")
FistTargets[#FistTargets + 1] = args.destName
self:ScheduleMethod(0.3, "warnFistTargets")
elseif args:IsSpellID(20277) then
if args:IsPlayer() then
specWarnRain:Show()
end
timerNextRain:Start()
elseif args:IsSpellID(19716, 905063) then
timerNextCurse:Start()
warnCurse:Show()
end
end
+65
View File
@@ -0,0 +1,65 @@
local mod = DBM:NewMod("Golemagg", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 183 $"):sub(12, -3))
mod:SetCreatureID(11988)--, 11672
mod:RegisterCombat("combat", 11988)
mod:RegisterEvents(
"SPELL_AURA_APPLIED",
"UNIT_HEALTH",
"SPELL_PERIODIC_DAMAGE"
)
mod:AddBoolOption(L.CaveinYellOpt)
local CaveInSpam = 0
local warnTrust = mod:NewSpellAnnounce(20553)
local warnCaveIn = mod:NewSpellAnnounce(350098)
local warnP2Soon = mod:NewAnnounce("WarnP2Soon")
local warnP2 = mod:NewPhaseAnnounce(2)
local timerNextCaveIn = mod:NewNextTimer(45, 350098)
local prewarn_p2
function mod:OnCombatStart(delay)
timerNextCaveIn:Start(32-delay)
prewarn_p2 = false
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpellID(20553) then
warnTrust:Show()
elseif args:IsSpellID(350098, 975009) then
if args:IsPlayer() then
warnCaveIn:Show()
if self.Options.CaveinYellOpt then
SendChatMessage(L.CaveinYell, "YELL")
end
end
if GetTime() > CaveInSpam then
CaveInSpam = GetTime()
timerNextCaveIn:Start()
end
end
end
function mod:SPELL_PERIODIC_DAMAGE(args)
if args:IsSpellID(350098, 975009) then
if args:IsPlayer() then
warnCaveIn:Show()
if self.Options.CaveinYellOpt then
SendChatMessage(L.CaveinYell, "YELL")
end
end
end
end
function mod:UNIT_HEALTH(uId)
if UnitHealth(uId) / UnitHealthMax(uId) <= 0.10 and self:GetUnitCreatureId(uId) == 11099 and not prewarn_P2 then
warnP2Soon:Show()
prewarn_P2 = true
end
end
+55
View File
@@ -0,0 +1,55 @@
local mod = DBM:NewMod("Lucifron", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 183 $"):sub(12, -3))
mod:SetCreatureID(12118)--, 12119
mod:RegisterCombat("combat", 12118)
mod:RegisterEvents(
"SPELL_CAST_SUCCESS",
"SPELL_AURA_APPLIED"
)
local warnDoom = mod:NewSpellAnnounce(19702)
local warnCurse = mod:NewSpellAnnounce(19703)
local warnMC = mod:NewTargetAnnounce(20604)
local warnTouch = mod:NewTargetAnnounce(350073)
local warnTouchYou = mod:NewSpecialWarningYou(350073)
local timerNextTouch = mod:NewNextTimer(18, 350073)
local timerNextCurse = mod:NewNextTimer(20, 19703)
local timerNextDoom = mod:NewNextTimer(15, 19702)
local timerDoom = mod:NewCastTimer(10, 19702)
local timerMC = mod:NewTargetTimer(5, 20604)
local enrageTimer = mod:NewBerserkTimer(300)
function mod:OnCombatStart(delay)
timerNextDoom:Start(10-delay)
timerNextCurse:Start(20-delay)
enrageTimer:Start(-delay)
end
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpellID(19702, 350072) then
warnDoom:Show()
timerDoom:Start()
timerNextDoom:Start()
elseif args:IsSpellID(19703) then
timerNextCurse:Start()
warnCurse:Show()
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpellID(20604) then
warnMC:Show(args.destName)
timerMC:Start(args.destName)
elseif args:IsSpellID(350073) then
warnTouch:Show(args.destName)
timerNextTouch:Start()
if args:IsPlayer() then
warnTouchYou:Show()
end
end
end
+116
View File
@@ -0,0 +1,116 @@
local mod = DBM:NewMod("Magmadar", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 132 $"):sub(12, -3))
mod:SetCreatureID(11982)
mod:RegisterCombat("combat")
mod:RegisterEvents(
"SPELL_AURA_APPLIED",
"SPELL_AURA_REMOVED",
"SPELL_CAST_SUCCESS",
"SPELL_DAMAGE",
"SPELL_PERIODIC_DAMAGE"
)
local warnPanic = mod:NewSpellAnnounce(19408)
local warnEnrage = mod:NewSpellAnnounce(19451)
local warnDog = mod:NewSpellAnnounce(2105054)
local warnLavaBomb = mod:NewSpecialWarningYou(2105054)
local timerNextDog = mod:NewNextTimer(40, 5105044)
local timerNextPanic = mod:NewNextTimer(30, 19408)
local timerNextLava = mod:NewNextTimer(30, 2105054)
local timerNextBreath = mod:NewNextTimer(10, 2105049)
local warnNextHysteria = mod:NewSpellAnnounce(2105031)
local warnNextDread = mod:NewSpellAnnounce(2105032)
local warnNextFury = mod:NewSpellAnnounce(2105033)
local warnNextDispair = mod:NewSpellAnnounce(2105030)
local timerNextHysteria = mod:NewNextTimer(150, 2105031)
local timerNextDread = mod:NewNextTimer(150, 2105032)
local timerNextFury = mod:NewNextTimer(150, 2105033)
local timerNextDispair = mod:NewNextTimer(150, 2105030)
local timerPanic = mod:NewBuffActiveTimer(8, 19408)
local timerEnrage = mod:NewBuffActiveTimer(8, 19451)
mod:AddBoolOption(L.lavaBombYellOpt)
function mod:OnCombatStart(delay)
timerPanic:Start(-delay)
timerNextDog:Start(25-delay)
warnDog:Schedule(25-delay)
self:ScheduleMethod(25, "DogSpawner")
timerNextHysteria:Start(15-delay)
timerNextDread:Start(45-delay)
timerNextFury:Start(75-delay)
timerNextDispair:Start(105-delay)
end
function mod:DogSpawner()
self:UnscheduleMethod("DogSpawner")
warnDog:Show()
timerNextDog:Start()
self:ScheduleMethod(40, "DogSpawner")
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpellID(19451) then
warnEnrage:Show()
timerEnrage:Start()
elseif args:IsSpellID(2105054) then
if args:IsPlayer() then
warnLavaBomb:Show()
if self.Options.lavaBombYellOpt then
SendChatMessage(L.lavaBombYell, "YELL")
end
end
timerNextLava:Start()
elseif args:IsSpellID(2105054) then
warnNextHysteria:Show()
timerNextHysteria:Start()
elseif args:IsSpellID(2105054) then
warnNextDread:Show()
timerNextDread:Start()
elseif args:IsSpellID(2105054) then
warnNextFury:Show()
timerNextFury:Start()
elseif args:IsSpellID(2105054) then
warnNextDispair:Show()
timerNextDispair:Start()
end
end
function mod:SPELL_AURA_REMOVED(args)
if args:IsSpellID(19451) then
timerEnrage:Cancel()
end
end
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpellID(19408, 2105045) then
warnPanic:Show()
timerPanic:Start()
timerNextPanic:Start()
end
end
function mod:SPELL_DAMAGE(args)
if args:IsSpellID(2105049) then
timerNextBreath:Start()
end
end
function mod:SPELL_PERIODIC_DAMAGE(args)
if args:IsSpellID(2105054) then
if args:IsPlayer() then
warnLavaBomb:Show()
if self.Options.lavaBombYellOpt then
SendChatMessage(L.lavaBombYell, "YELL")
end
end
end
end
+37
View File
@@ -0,0 +1,37 @@
local mod = DBM:NewMod("Majordomo", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 183 $"):sub(12, -3))
mod:SetCreatureID(12018, 11663, 11664)
mod:RegisterCombat("combat")
mod:RegisterKill("yell", L.Kill)
mod:RegisterEvents(
"SPELL_CAST_START",
"SPELL_CAST_SUCCESS"
)
local warnMagicReflect = mod:NewSpellAnnounce(20619)
local warnDamageShield = mod:NewSpellAnnounce(21075)
local warnTeleport = mod:NewTargetAnnounce(20534)
local specWarnMagicReflect = mod:NewSpecialWarningSpell(20619, not mod:IsMelee())
local timerMagicReflect = mod:NewBuffActiveTimer(10, 20619)
local timerDamageShield = mod:NewBuffActiveTimer(10, 21075)
function mod:OnCombatStart(delay)
end
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpellID(20619) then
warnMagicReflect:Show()
specWarnMagicReflect:Show()
timerMagicReflect:Start()
elseif args:IsSpellID(21075) then
warnDamageShield:Show()
timerDamageShield:Start()
elseif args:IsSpellID(20534) then
warnTeleport:Show(args.destName)
end
end
+95
View File
@@ -0,0 +1,95 @@
local mod = DBM:NewMod("Ragnaros", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 172 $"):sub(12, -3))
mod:SetCreatureID(11502)
mod:RegisterCombat("combat")
mod:RegisterEvents(
"SPELL_AURA_APPLIED",
"SPELL_CAST_START",
"SPELL_CAST_SUCCESS",
"SPELL_DAMAGE",
"CHAT_MSG_MONSTER_YELL"
)
local timerCombatStart = mod:NewTimer(78, "TimerCombatStart", 2457)
local warnSunder = mod:NewAnnounce(L.RagFire, 2, 2105107)
local warnHand = mod:NewSpellAnnounce(2105119)
local warnBlast = mod:NewSpellAnnounce(2105103)
local warnMerge = mod:NewSpellAnnounce(975068)
local warnSubmergeSoon = mod:NewAnnounce("WarnSubmergeSoon", "Interface\\AddOns\\DBM-Core\\textures\\CryptFiendBurrow.blp")
local timerNextHand = mod:NewNextTimer(15, 2105120)
local timerNextBurst = mod:NewNextTimer(10, 2105107)
local timerSubmerge = mod:NewTimer(90, "TimerSubmerge", "Interface\\AddOns\\DBM-Core\\textures\\CryptFiendBurrow.blp")
local timerEmerge = mod:NewTimer(60, "TimerEmerge", "Interface\\AddOns\\DBM-Core\\textures\\CryptFiendUnBurrow.blp")
-- local warnWrathRag = mod:NewSpellAnnounce(20566)
-- --local warnHandRag = mod:NewSpellAnnounce(19780)--does not show in combat log. need transciptor to get more data on this later
-- local warnSubmerge = mod:NewAnnounce("WarnSubmerge", "Interface\\AddOns\\DBM-Core\\textures\\CryptFiendBurrow.blp")
-- local warnEmergeSoon = mod:NewAnnounce("WarnEmergeSoon", "Interface\\AddOns\\DBM-Core\\textures\\CryptFiendUnBurrow.blp")
-- local warnEmerge = mod:NewAnnounce("WarnEmerge", "Interface\\AddOns\\DBM-Core\\textures\\CryptFiendUnBurrow.blp")
-- local timerWrathRag = mod:NewNextTimer(30, 20566)
-- --local timerHandRag = mod:NewNextTimer(111, 19780)
function mod:OnCombatStart(delay)
timerNextHand:Start(-delay)
warnSubmergeSoon:Schedule(85-delay)
timerSubmerge:Start(-delay)
timerEmerge:Schedule(90-delay)
self:ScheduleMethod(150, "Emerged")
end
function mod:Emerged()
timerNextHand:Start(-delay)
warnSubmergeSoon:Schedule(85-delay)
timerSubmerge:Start(-delay)
timerEmerge:Schedule(90-delay)
self:ScheduleMethod(150, "Emerged")
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpellID(2105107, 2105108) or args:IsSpellID(2105109, 2105110) and args.amount >= 5 then
warnSunder:Show(args.destName)
end
end
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpellID(2105119, 2105120) or args:IsSpellID(2105121, 2105122) then
warnHand:Show()
timerNextHand:Start()
elseif args:IsSpellID(2105103, 2105104) or args:IsSpellID(2105105, 2105106) then
warnBlast:Show()
elseif args:IsSpellID(975068) and args.sourceName == "Son of Flame" then
warnMerge:Show()
end
end
function mod:SPELL_DAMAGE(args)
if args:IsSpellID(2105115, 2105116) or args:IsSpellID(2105117, 2105118) then
timerNextBurst:Start()
end
end
function mod:CHAT_MSG_MONSTER_YELL(msg)
if msg == L.Pull then
timerCombatStart:Start()
end
end
-- function mod:OnSync(msg, arg)
-- if msg == "Submerge" and not submerge then
-- submerge = true
-- warnSubmerge:Show()
-- timerEmerge:Start()
-- warnEmergeSoon:Schedule(80)
-- self:ScheduleMethod(90, "emerged")
-- elseif msg == "Emerge" then
-- emerged()
-- end
-- end
+84
View File
@@ -0,0 +1,84 @@
local mod = DBM:NewMod("Shazzrah", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 132 $"):sub(12, -3))
mod:SetCreatureID(12264)
mod:RegisterCombat("combat")
mod:RegisterEvents(
"SPELL_AURA_APPLIED",
"SPELL_AURA_REMOVED",
"SPELL_CAST_SUCCESS",
"SPELL_INTERRUPT",
"SPELL_CAST_START"
)
local warnDampen = mod:NewSpellAnnounce(2105089)
local warnSoonCounter = mod:NewSoonAnnounce(2105095)
local warnCastExplo = mod:NewCastAnnounce(2105085)
-- local warnCurse = mod:NewSpellAnnounce(19713)
-- local warnGrounding = mod:NewSpellAnnounce(19714, 2, nil, false)
-- local warnCntrSpell = mod:NewSpellAnnounce(19715)
-- local warnBlink = mod:NewSpellAnnounce(21655)
-- local timerCurseCD = mod:NewNextTimer(20, 19713)
-- local timerGrounding = mod:NewBuffActiveTimer(30, 19714, nil, false)
-- local timerBlinkCD = mod:NewNextTimer(30, 21655)
local timerBomb = mod:NewTargetTimer(8, 2105097)
local timerExplo = mod:NewCastTimer(10, 2105085)
local timerNextBomb = mod:NewNextTimer(16, 2105097)
local timerNextCounter = mod:NewNextTimer(26, 2105095)
local timerNextDampen = mod:NewNextTimer(45, 2105089)
local timerNextExplo = mod:NewNextTimer(75, 2105085)
function mod:OnCombatStart(delay)
timerNextExplo:Start(30-delay)
timerNextCounter:Start(25-delay)
timerNextDampen:Start(10-delay)
self:ScheduleMethod(25, "CounterSpell")
end
function mod:CounterSpell()
self:UnscheduleMethod("CounterSpell")
timerNextCounter:Start()
warnSoonCounter:Schedule(23)
self:ScheduleMethod(26, "CounterSpell")
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpellID(2105089) then
warnDampen:Show(args.destName)
timerNextDampen:Start()
elseif args:IsSpellID(2105097) then
timerBomb:Start(args.destName)
timerNextBomb:Start()
end
end
function mod:SPELL_CAST_START(args)
if args:IsSpellID(2105085, 2105086) or args:IsSpellID(2105087, 2105088) then
timerNextExplo:Start()
warnCastExplo:Start()
timerExplo:Start()
end
end
-- function mod:SPELL_AURA_REMOVED(args)
-- if args:IsSpellID(19714) then
-- timerGrounding:Cancel()
-- end
-- end
-- function mod:SPELL_CAST_SUCCESS(args)
-- if args:IsSpellID(19713) and self:IsInCombat() then
-- warnCurse:Show()
-- timerCurseCD:Start()
-- elseif args:IsSpellID(19715) and self:IsInCombat() then
-- warnCntrSpell:Show()
-- elseif args:IsSpellID(21655) and self:IsInCombat() then
-- warnBlink:Show()
-- timerBlinkCD:Start()
-- end
-- end
+69
View File
@@ -0,0 +1,69 @@
local mod = DBM:NewMod("Sulfuron", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 183 $"):sub(12, -3))
mod:SetCreatureID(12098)--, 11662
mod:RegisterCombat("combat", 12098)
mod:RegisterEvents(
"SPELL_AURA_APPLIED",
"SPELL_AURA_REMOVED",
"SPELL_CAST_START"
)
-- local warnInspire = mod:NewTargetAnnounce(19779)
local warnHandRagnaros = mod:NewTargetAnnounce(19780)
-- local warnShadowPain = mod:NewTargetAnnounce(19776)
local warnHeal = mod:NewCastAnnounce(19775)--this may be spammy now that spellid is fixed
-- local warnImmolate = mod:NewTargetAnnounce(20294)
-- local timerInspire = mod:NewBuffActiveTimer(10, 19779)
-- local timerShadowPain = mod:NewTargetTimer(18, 19776)
local timerHeal = mod:NewCastTimer(2, 19775)--this may be spammy now that spellid is fixed
-- local timerImmolate = mod:NewTargetTimer(21, 20294)
local timerHandRagnaros = mod:NewBuffActiveTimer(2, 19780)
local HandofRagTargets = {}
function mod:OnCombatStart(delay)
table.wipe(HandofRagTargets)
end
function mod:warnHandofRagTargets()
warnHandRagnaros:Show(table.concat(HandofRagTargets, "<, >"))
timerHandRagnaros:Start()
table.wipe(HandofRagTargets)
end
function mod:SPELL_AURA_APPLIED(args)
-- if args:IsSpellID(19779) then
-- warnInspire:Show(args.destName)
-- timerInspire:Start(args.destName)
-- else
if args:IsSpellID(19780) and args:IsDestTypePlayer() then
self:UnscheduleMethod("warnHandofRagTargets")
HandofRagTargets[#HandofRagTargets + 1] = args.destName
self:ScheduleMethod(0.3, "warnHandofRagTargets")
-- elseif args:IsSpellID(19776) then
-- warnShadowPain:Show(args.destName)
-- timerShadowPain:Start(args.destName)
-- elseif args:IsSpellID(20294) then
-- warnImmolate:Show(args.destName)
-- timerImmolate:Start(args.destName)
end
end
-- function mod:SPELL_AURA_REMOVED(args)
-- if args:IsSpellID(23952) and self:IsInCombat() then
-- timerShadowPain:Cancel(args.destName)
-- elseif args:IsSpellID(20294) and self:IsInCombat() then
-- timerImmolate:Cancel(args.destName)
-- end
-- end
function mod:SPELL_CAST_START(args)
if args:IsSpellID(19775) then
warnHeal:Show()
timerHeal:Start()
end
end
+164
View File
@@ -0,0 +1,164 @@
local L
----------------
-- Lucifron --
----------------
L = DBM:GetModLocalization("Lucifron")
L:SetGeneralLocalization{
name = "Lucifron"
}
----------------
-- Magmadar --
----------------
L = DBM:GetModLocalization("Magmadar")
L:SetGeneralLocalization{
name = "Magmadar"
}
L:SetWarningLocalization{
}
L:SetOptionLocalization{
lavaBombYellOpt = "Yell when you are affected by $spell:2105054"
}
L:SetMiscLocalization{
lavaBombYell = "Lava Bomb on me!",
}
----------------
-- Gehennas --
----------------
L = DBM:GetModLocalization("Gehennas")
L:SetGeneralLocalization{
name = "Gehennas"
}
L:SetWarningLocalization{
}
L:SetOptionLocalization{
CaveinYellOpt = "Yell when you are affected by $spell:20277"
}
L:SetMiscLocalization{
RainYell = "Rain of Fire on me!",
}
------------
-- Garr --
------------
L = DBM:GetModLocalization("Garr")
L:SetGeneralLocalization{
name = "Garr"
}
--------------
-- Geddon --
--------------
L = DBM:GetModLocalization("Geddon")
L:SetGeneralLocalization{
name = "Baron Geddon"
}
L:SetOptionLocalization{
SetIconOnBombTarget = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(20475)
}
----------------
-- Shazzrah --
----------------
L = DBM:GetModLocalization("Shazzrah")
L:SetGeneralLocalization{
name = "Shazzrah"
}
----------------
-- Sulfuron --
----------------
L = DBM:GetModLocalization("Sulfuron")
L:SetGeneralLocalization{
name = "Sulfuron Harbringer"
}
----------------
-- Golemagg --
----------------
L = DBM:GetModLocalization("Golemagg")
L:SetGeneralLocalization{
name = "Golemagg the Incinerator"
}
L:SetWarningLocalization{
WarnP2Soon = "Phase 2 soon"
}
L:SetOptionLocalization{
WarnP2Soon = "Warn when phase 2 is about to start",
CaveinYellOpt = "Yell when you are affected by $spell:36240"
}
L:SetMiscLocalization{
CaveinYell = "Cave in on me!",
}
-----------------
-- Majordomo --
-----------------
L = DBM:GetModLocalization("Majordomo")
L:SetGeneralLocalization{
name = "Majordomo Executus"
}
L:SetMiscLocalization{
Kill = "Impossible! Stay your attack, mortals... I submit! I submit!"
}
----------------
-- Ragnaros --
----------------
L = DBM:GetModLocalization("Ragnaros")
L:SetGeneralLocalization{
name = "Ragnaros"
}
L:SetWarningLocalization{
WarnSubmerge = "Submerge",
WarnSubmergeSoon = "Submerge soon",
WarnEmerge = "Emerge",
WarnEmergeSoon = "EmergeSoon",
RagFire = "%s on >%s< (%d)" --(args.spellName, args.destName, args.amount or 1)
}
L:SetTimerLocalization{
TimerCombatStart = "Combat starts",
TimerSubmerge = "Submerge",
TimerEmerge = "Emerge"
}
L:SetOptionLocalization{
TimerCombatStart = "Show time for start of combat",
WarnSubmerge = "Show warning for submerge",
WarnSubmergeSoon = "Show pre-warning for submerge",
TimerSubmerge = "Show timer for submerge",
WarnEmerge = "Show warning for emerge",
WarnEmergeSoon = "Show pre-warning for emerge",
TimerEmerge = "Show timer for emerge",
RagFire = "Show $spell:85178 targets and stack number warning" --(args.spellName, args.destName, args.amount or 1)
}
L:SetMiscLocalization{
Submerge = "COME FORTH, MY SERVANTS! DEFEND YOUR MASTER!",
Pull = "Behold Ragnaros - the Firelord! He who was ancient when this world was young! Bow before him, mortals! Bow before your ending!"
}
L:SetWarningLocalization{
}
L:SetOptionLocalization{
}
+130
View File
@@ -0,0 +1,130 @@
if GetLocale() ~= "esES" and GetLocale() ~= "esMX" then return end
local L
----------------
-- Lucifron --
----------------
L = DBM:GetModLocalization("Lucifron")
L:SetGeneralLocalization{
name = "Lucifron"
}
----------------
-- Magmadar --
----------------
L = DBM:GetModLocalization("Magmadar")
L:SetGeneralLocalization{
name = "Magmadar"
}
----------------
-- Gehennas --
----------------
L = DBM:GetModLocalization("Gehennas")
L:SetGeneralLocalization{
name = "Gehennas"
}
------------
-- Garr --
------------
L = DBM:GetModLocalization("Garr")
L:SetGeneralLocalization{
name = "Garr"
}
--------------
-- Geddon --
--------------
L = DBM:GetModLocalization("Geddon")
L:SetGeneralLocalization{
name = "Barón Geddon"
}
L:SetOptionLocalization{
SetIconOnBombTarget = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(20475)
}
----------------
-- Shazzrah --
----------------
L = DBM:GetModLocalization("Shazzrah")
L:SetGeneralLocalization{
name = "Shazzrah"
}
----------------
-- Sulfuron --
----------------
L = DBM:GetModLocalization("Sulfuron")
L:SetGeneralLocalization{
name = "Sulfuron Presagista"
}
----------------
-- Golemagg --
----------------
L = DBM:GetModLocalization("Golemagg")
L:SetGeneralLocalization{
name = "Golemagg el Incinerador"
}
L:SetWarningLocalization{
WarnP2Soon = "Fase 2 pronto"
}
L:SetOptionLocalization{
WarnP2Soon = "Mostrar un pre-aviso para la fase 2"
}
-----------------
-- Majordomo --
-----------------
L = DBM:GetModLocalization("Majordomo")
L:SetGeneralLocalization{
name = "Mayordomo Executus"
}
L:SetMiscLocalization{
Kill = "¡Imposible! Deponed el ataque mortales... ¡Me rindo! ¡Me rindo!"
}
----------------
-- Ragnaros --
----------------
L = DBM:GetModLocalization("Ragnaros")
L:SetGeneralLocalization{
name = "Ragnaros"
}
L:SetWarningLocalization{
WarnSubmerge = "Sumersión",
WarnSubmergeSoon = "Sumersión pronto",
WarnEmerge = "Emerge",
WarnEmergeSoon = "Emerge pronto"
}
L:SetTimerLocalization{
TimerCombatStart = "Empieza el combate",
TimerSubmerge = "Sumersión",
TimerEmerge = "Emerge"
}
L:SetOptionLocalization{
TimerCombatStart = "Mostrar tiempo para inicio del combate",
WarnSubmerge = "Mostrar aviso para sumersión",
WarnSubmergeSoon = "Mostrar pre-aviso para sumersión",
TimerSubmerge = "Mostrar tiempo para sumersión",
WarnEmerge = "Mostrar aviso para emersión",
WarnEmergeSoon = "Mostrar pre-aviso para emersión",
TimerEmerge = "Mostrar tiempo para emersión"
}
L:SetMiscLocalization{
Submerge = "¡AVANZAD, MIS SIRVIENTES! ¡DEFENDED A VUESTRO MAESTRO!",
Pull = "¡Crías imprudentes! ¡Os habéis precipitado hasta vuestra propia muerte! ¡Ahora mirad, el maestro se agita!"
}
+131
View File
@@ -0,0 +1,131 @@
if GetLocale() ~= "ruRU" then return end
local L
----------------
-- Lucifron --
----------------
L = DBM:GetModLocalization("Lucifron")
L:SetGeneralLocalization{
name = "Люцифрон"
}
----------------
-- Magmadar --
----------------
L = DBM:GetModLocalization("Magmadar")
L:SetGeneralLocalization{
name = "Магмадар"
}
----------------
-- Gehennas --
----------------
L = DBM:GetModLocalization("Gehennas")
L:SetGeneralLocalization{
name = "Гееннас"
}
------------
-- Garr --
------------
L = DBM:GetModLocalization("Garr")
L:SetGeneralLocalization{
name = "Гарр"
}
--------------
-- Geddon --
--------------
L = DBM:GetModLocalization("Geddon")
L:SetGeneralLocalization{
name = "Барон Геддон"
}
L:SetOptionLocalization{
SetIconOnBombTarget = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(20475)
}
----------------
-- Shazzrah --
----------------
L = DBM:GetModLocalization("Shazzrah")
L:SetGeneralLocalization{
name = "Шаззрах"
}
----------------
-- Sulfuron --
----------------
L = DBM:GetModLocalization("Sulfuron")
L:SetGeneralLocalization{
name = "Предвестник Сульфурон"
}
----------------
-- Golemagg --
----------------
L = DBM:GetModLocalization("Golemagg")
L:SetGeneralLocalization{
name = "Големагг Испепелитель"
}
L:SetWarningLocalization{
WarnP2Soon = "Скоро 2-ая фаза"
}
L:SetOptionLocalization{
WarnP2Soon = "Предупреждать о скором начале второй фазы"
}
-----------------
-- Majordomo --
-----------------
L = DBM:GetModLocalization("Majordomo")
L:SetGeneralLocalization{
name = "Мажордом Экзекутус"
}
L:SetMiscLocalization{
Kill = "Impossible! Stay your attack, mortals... I submit! I submit!"
}
----------------
-- Ragnaros --
----------------
L = DBM:GetModLocalization("Ragnaros")
L:SetGeneralLocalization{
name = "Рагнарос"
}
L:SetWarningLocalization{
WarnSubmerge = "Погружение",
WarnSubmergeSoon = "Скоро погружение",
WarnEmerge = "Появление",
WarnEmergeSoon = "Скоро появление"
}
L:SetTimerLocalization{
TimerCombatStart = "Начало боя",
TimerSubmerge = "Погружение",
TimerEmerge = "Появление"
}
L:SetOptionLocalization{
TimerCombatStart = "Показывать время до начала боя",
WarnSubmerge = "Показывать предупреждение о погружении",
WarnSubmergeSoon = "Показывать предварительное предупреждение о погружении",
TimerSubmerge = "Показывать время до погружения",
WarnEmerge = "Показывать предупреждение о появлении",
WarnEmergeSoon = "Показывать предварительное предупреждение о появлении",
TimerEmerge = "Показывать время до появления"
}
L:SetMiscLocalization{
Submerge = "COME FORTH, MY SERVANTS! DEFEND YOUR MASTER!",
Pull = "Impudent whelps! You've rushed headlong to your own deaths! See now, the master stirs!\r\n"
}