-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BlackfathomDeeps_Classic: Import, starting with Baron Aquanis
- Loading branch information
Showing
17 changed files
with
166 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |