Skip to content

Commit

Permalink
BlackfathomDeeps_Classic: Import, starting with Baron Aquanis
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Dec 3, 2023
1 parent 1e4b92b commit 2b823a3
Show file tree
Hide file tree
Showing 17 changed files with 166 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BigWigs_Classic_Vanilla.toc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
## X-Curse-Project-ID: 50625
## X-WoWI-ID: 22095
## X-Wago-ID: rNkPgm6a
## X-BigWigs-LoadOn-InstanceId: 409, 469, 509, 531, 533, 309, 249
## X-BigWigs-LoadOn-InstanceId: 409, 469, 509, 531, 533, 309, 249, 48
## X-BigWigs-ExtraMenu: -947
## X-BigWigs-LoadOn-WorldBoss: -1447, 6109, -1419, 12397, -1440, 14889, -1425, 14888, -1431, 14890, -1444, 14887

Expand All @@ -46,3 +46,4 @@ ZulGurub_Classic\modules.xml
Naxxramas_Classic\modules.xml
Onyxia_Classic\modules.xml
World_Classic\modules.xml
BlackfathomDeeps_Classic\modules.xml
77 changes: 77 additions & 0 deletions BlackfathomDeeps_Classic/BaronAquanis.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
--------------------------------------------------------------------------------
-- Module Declaration
--

local mod, CL = BigWigs:NewBoss("Baron Aquanis Discovery", 48, -2694)
if not mod then return end
mod:RegisterEnableMob(202699) -- Baron Aquanis Season of Discovery
mod:SetEncounterID(2694)

--------------------------------------------------------------------------------
-- Localization
--

local L = mod:GetLocale()
if L then
L.bossName = "Baron Aquanis"
end

--------------------------------------------------------------------------------
-- Initialization
--

function mod:GetOptions()
return {
{404806, "ICON", "SAY", "SAY_COUNTDOWN", "ME_ONLY_EMPHASIZE"}, -- Depth Charge
405953, -- Torrential Downpour
},nil,{
[404806] = CL.bomb, -- Depth Charge (Bomb)
}
end

function mod:OnRegister()
self.displayName = L.bossName
end

function mod:OnBossEnable()
self:Log("SPELL_AURA_APPLIED", "DepthChargeApplied", 404806)
self:Log("SPELL_AURA_REMOVED", "DepthChargeRemoved", 404806)

self:Log("SPELL_AURA_APPLIED", "TorrentialDownpourDamage", 405953)
self:Log("SPELL_PERIODIC_DAMAGE", "TorrentialDownpourDamage", 405953)
self:Log("SPELL_PERIODIC_MISSED", "TorrentialDownpourDamage", 405953)

self:Death("Win", 202699)
end

--------------------------------------------------------------------------------
-- Event Handlers
--

function mod:DepthCharge(args)
if self:Me(args.destGUID) then
self:PlaySound(args.spellId, "warning", nil, args.destName)
self:Say(args.spellId, CL.bomb)
self:SayCountdown(args.spellId, 8)
end
self:PrimaryIcon(args.spellId, args.destName)
self:TargetMessage(args.spellId, "yellow", args.destName, CL.bomb)
end

function mod:DepthChargeRemoved(args)
if self:Me(args.destGUID) then
self:CancelSayCountdown(args.spellId)
end
self:PrimaryIcon(args.spellId)
end

do
local prev = 0
function mod:TorrentialDownpourDamage(args)
if self:Me(args.destGUID) and args.time - prev > 3 then
prev = args.time
self:PlaySound(args.spellId, "underyou")
self:PersonalMessage(args.spellId)
end
end
end
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/deDE.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
--L.bossName = "Baron Aquanis"
end
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/esES.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
L.bossName = "Barón Aquanis"
end
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/esMX.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
L.bossName = "Barón Aquanis"
end
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/frFR.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
--L.bossName = "Baron Aquanis"
end
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/itIT.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
--L.bossName = "Baron Aquanis"
end
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/koKR.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
L.bossName = "군주 아쿠아니스"
end
15 changes: 15 additions & 0 deletions BlackfathomDeeps_Classic/Locales/locales.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">

<Script file="deDE.lua"/>
<Script file="esES.lua"/>
<Script file="esMX.lua"/>
<Script file="frFR.lua"/>
<Script file="itIT.lua"/>
<Script file="koKR.lua"/>
<Script file="ptBR.lua"/>
<Script file="ruRU.lua"/>
<Script file="zhCN.lua"/>
<Script file="zhTW.lua"/>

</Ui>
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/ptBR.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
L.bossName = "Barão Aquanis"
end
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/ruRU.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
L.bossName = "Барон Акванис"
end
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/zhCN.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
L.bossName = "阿奎尼斯男爵"
end
5 changes: 5 additions & 0 deletions BlackfathomDeeps_Classic/Locales/zhTW.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
if not L then return end
if L then
--L.bossName = "Baron Aquanis"
end
Empty file.
Empty file.
7 changes: 7 additions & 0 deletions BlackfathomDeeps_Classic/Options/options.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">

<Script file="Colors.lua"/>
<Script file="Sounds.lua"/>

</Ui>
15 changes: 15 additions & 0 deletions BlackfathomDeeps_Classic/modules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">

<Script file="BaronAquanis.lua"/>
<!--<Script file="Ghamoo-ra.lua"/>-->
<!--<Script file="LadySarevess.lua"/>-->
<!--<Script file="Gelihast.lua"/>-->
<!--<Script file="LorgusJett.lua"/>-->
<!--<Script file="TwilightLordKelris.lua"/>-->
<!--<Script file="Akumai.lua"/>-->

<Include file="Locales\locales.xml"/>
<Include file="Options\options.xml"/>

</Ui>

0 comments on commit 2b823a3

Please sign in to comment.