Skip to content

Commit

Permalink
Fully template the SoD BFD raid, complete with creature IDs and encou…
Browse files Browse the repository at this point in the history
…nter Ids for working combat detection
  • Loading branch information
MysticalOS committed Nov 30, 2023
1 parent 444b153 commit 4310aa9
Show file tree
Hide file tree
Showing 9 changed files with 340 additions and 2 deletions.
12 changes: 10 additions & 2 deletions DBM-Raids-Vanilla/DBM-Raids-Vanilla-Classic.toc
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
## X-DBM-Mod-Type: RAID
## X-DBM-Mod-Category: Classic
## X-DBM-StatTypes: normal
## X-DBM-Mod-SubCategoriesID: 533, 531, 509, 309, 469, 409, 249
## X-DBM-Mod-SubCategoriesID: 533, 531, 509, 309, 469, 409, 249, 48
## X-DBM-Mod-Name: Raids (Vanilla)
## X-DBM-Mod-Name-KoKR: 공격대 (클래식)
## X-DBM-Mod-Name-ruRU: Рейды (классический)
## X-DBM-Mod-Sort: 1101
## X-DBM-Mod-MapID: 533, 531, 509, 309, 469, 409, 249
## X-DBM-Mod-MapID: 533, 531, 509, 309, 469, 409, 249, 48
## X-DBM-Mod-MinCoreRevision: 20230521000000
## X-DBM-Mod-MinExpansion: 0
## Version: @project-version@
Expand Down Expand Up @@ -103,3 +103,11 @@ MC\Majordomo.lua
MC\Ragnaros.lua

VanillaOnyxia\Onyxia.lua

VanillaSoD_BFD\BaronAuanis.lua
VanillaSoD_BFD\Ghamoora.lua
VanillaSoD_BFD\LadySarevess.lua
VanillaSoD_BFD\Gelihast.lua
VanillaSoD_BFD\LorgusJett.lua
VanillaSoD_BFD\TwilightLordKelris.lua
VanillaSoD_BFD\Akumai.lua
37 changes: 37 additions & 0 deletions DBM-Raids-Vanilla/VanillaSoD_BFD/Akumai.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
local mod = DBM:NewMod("AkumaiSoD", "DBM-Raids-Vanilla", 8)
local L = mod:GetLocalizedStrings()

mod.statTypes = "normal10"

mod:SetRevision("@file-date-integer@")
mod:SetCreatureID(213334)
mod:SetEncounterID(2891)--2767 is likely 5 man version in instance type 201

mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_CAST_START",
"SPELL_AURA_APPLIED"
)

--local warningSleep = mod:NewTargetNoFilterAnnounce(8399, 2)

--local timerSleepCD = mod:NewAITimer(180, 8399, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)

--function mod:OnCombatStart(delay)

--end

--[[
function mod:SPELL_CAST_START(args)
if args:IsSpell(8399) and args:IsSrcTypeHostile() then
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(8399) and args:IsDestTypePlayer() then
end
end
--]]
37 changes: 37 additions & 0 deletions DBM-Raids-Vanilla/VanillaSoD_BFD/BaronAuanis.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
local mod = DBM:NewMod("BaronAuanisSoD", "DBM-Raids-Vanilla", 8)
local L = mod:GetLocalizedStrings()

mod.statTypes = "normal10"

mod:SetRevision("@file-date-integer@")
mod:SetCreatureID(202699)
mod:SetEncounterID(2694)--2765 is likely 5 man version in instance type 201 (which has Old Serra'kis instead of Baron)

mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_CAST_START",
"SPELL_AURA_APPLIED"
)

--local warningSleep = mod:NewTargetNoFilterAnnounce(8399, 2)

--local timerSleepCD = mod:NewAITimer(180, 8399, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)

--function mod:OnCombatStart(delay)

--end

--[[
function mod:SPELL_CAST_START(args)
if args:IsSpell(8399) and args:IsSrcTypeHostile() then
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(8399) and args:IsDestTypePlayer() then
end
end
--]]
37 changes: 37 additions & 0 deletions DBM-Raids-Vanilla/VanillaSoD_BFD/Gelihast.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
local mod = DBM:NewMod("GelihastSoD", "DBM-Raids-Vanilla", 8)
local L = mod:GetLocalizedStrings()

mod.statTypes = "normal10"

mod:SetRevision("@file-date-integer@")
mod:SetCreatureID(204921)
mod:SetEncounterID(2704)--2763 is likely 5 man version in instance type 201

mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_CAST_START",
"SPELL_AURA_APPLIED"
)

--local warningSleep = mod:NewTargetNoFilterAnnounce(8399, 2)

--local timerSleepCD = mod:NewAITimer(180, 8399, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)

--function mod:OnCombatStart(delay)

--end

--[[
function mod:SPELL_CAST_START(args)
if args:IsSpell(8399) and args:IsSrcTypeHostile() then
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(8399) and args:IsDestTypePlayer() then
end
end
--]]
37 changes: 37 additions & 0 deletions DBM-Raids-Vanilla/VanillaSoD_BFD/Ghamoora.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
local mod = DBM:NewMod("GhamooraSoD", "DBM-Raids-Vanilla", 8)
local L = mod:GetLocalizedStrings()

mod.statTypes = "normal10"

mod:SetRevision("@file-date-integer@")
mod:SetCreatureID(201722)
mod:SetEncounterID(2697)--2761 is likely 5 man version in instance type 201

mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_CAST_START",
"SPELL_AURA_APPLIED"
)

--local warningSleep = mod:NewTargetNoFilterAnnounce(8399, 2)

--local timerSleepCD = mod:NewAITimer(180, 8399, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)

--function mod:OnCombatStart(delay)

--end

--[[
function mod:SPELL_CAST_START(args)
if args:IsSpell(8399) and args:IsSrcTypeHostile() then
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(8399) and args:IsDestTypePlayer() then
end
end
--]]
37 changes: 37 additions & 0 deletions DBM-Raids-Vanilla/VanillaSoD_BFD/LadySarevess.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
local mod = DBM:NewMod("LadySarevessSoD", "DBM-Raids-Vanilla", 8)
local L = mod:GetLocalizedStrings()

mod.statTypes = "normal10"

mod:SetRevision("@file-date-integer@")
mod:SetCreatureID(204068)
mod:SetEncounterID(2699)--2762 is likely 5 man version in instance type 201

mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_CAST_START",
"SPELL_AURA_APPLIED"
)

--local warningSleep = mod:NewTargetNoFilterAnnounce(8399, 2)

--local timerSleepCD = mod:NewAITimer(180, 8399, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)

--function mod:OnCombatStart(delay)

--end

--[[
function mod:SPELL_CAST_START(args)
if args:IsSpell(8399) and args:IsSrcTypeHostile() then
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(8399) and args:IsDestTypePlayer() then
end
end
--]]
37 changes: 37 additions & 0 deletions DBM-Raids-Vanilla/VanillaSoD_BFD/LorgusJett.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
local mod = DBM:NewMod("LorgusJettSoD", "DBM-Raids-Vanilla", 8)
local L = mod:GetLocalizedStrings()

mod.statTypes = "normal10"

mod:SetRevision("@file-date-integer@")
mod:SetCreatureID(207356)
mod:SetEncounterID(2710)--2764 is likely 5 man version in instance type 201

mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_CAST_START",
"SPELL_AURA_APPLIED"
)

--local warningSleep = mod:NewTargetNoFilterAnnounce(8399, 2)

--local timerSleepCD = mod:NewAITimer(180, 8399, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)

--function mod:OnCombatStart(delay)

--end

--[[
function mod:SPELL_CAST_START(args)
if args:IsSpell(8399) and args:IsSrcTypeHostile() then
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(8399) and args:IsDestTypePlayer() then
end
end
--]]
37 changes: 37 additions & 0 deletions DBM-Raids-Vanilla/VanillaSoD_BFD/TwilightLordKelris.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
local mod = DBM:NewMod("TwilightLordKelrisSoD", "DBM-Raids-Vanilla", 8)
local L = mod:GetLocalizedStrings()

mod.statTypes = "normal10"

mod:SetRevision("@file-date-integer@")
mod:SetCreatureID(209678)
mod:SetEncounterID(2825)--2766 is likely 5 man version in instance type 201

mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_CAST_START",
"SPELL_AURA_APPLIED"
)

--local warningSleep = mod:NewTargetNoFilterAnnounce(8399, 2)

--local timerSleepCD = mod:NewAITimer(180, 8399, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)

--function mod:OnCombatStart(delay)

--end

--[[
function mod:SPELL_CAST_START(args)
if args:IsSpell(8399) and args:IsSrcTypeHostile() then
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(8399) and args:IsDestTypePlayer() then
end
end
--]]
71 changes: 71 additions & 0 deletions DBM-Raids-Vanilla/localization.en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1093,3 +1093,74 @@ L:SetWarningLocalization({
L:SetTimerLocalization({
TimerPhase2 = "Phase 2"
})

---------------------------
-- Season of Discovery --
---------------------------

---------------------------
-- Blackfathom Deeps --
---------------------------

------------------
-- Baron Aquanis --
------------------
L = DBM:GetModLocalization("BaronAuanisSoD")

L:SetGeneralLocalization({
name = "Baron Aquanis"
})

------------------
-- Ghamoo-ra --
------------------
L = DBM:GetModLocalization("GhamooraSoD")

L:SetGeneralLocalization({
name = "Ghamoo-ra"
})

------------------
-- Lady Sarevess --
------------------
L = DBM:GetModLocalization("LadySarevessSoD")

L:SetGeneralLocalization({
name = "Lady Sarevess"
})

------------------
-- Gelihast --
------------------
L = DBM:GetModLocalization("GelihastSoD")

L:SetGeneralLocalization({
name = "Gelihast"
})

------------------
-- Lorgus Jett --
------------------
L = DBM:GetModLocalization("LorgusJettSoD")

L:SetGeneralLocalization({
name = "Lorgus Jett"
})

------------------
-- Twilight Lord Kelris --
------------------
L = DBM:GetModLocalization("TwilightLordKelrisSoD")

L:SetGeneralLocalization({
name = "Twilight Lord Kelris"
})

------------------
-- Aku'mai --
------------------
L = DBM:GetModLocalization("AkumaiSoD")

L:SetGeneralLocalization({
name = "Aku'mai"
})

0 comments on commit 4310aa9

Please sign in to comment.