-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
2,068 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
------------------------------------------------------------------------------- | ||
-- Module Declaration | ||
|
||
local mod = BigWigs:NewBoss("Beauty", 753) | ||
if not mod then return end | ||
mod.partyContent = true | ||
mod:RegisterEnableMob(39700) | ||
mod.toggleOptions = { | ||
{76031, "ICON"}, --Magma Spit | ||
76028, --Terrifying Roar | ||
"bosskill", | ||
} | ||
|
||
------------------------------------------------------------------------------- | ||
-- Initialization | ||
|
||
function mod:OnBossEnable() | ||
self:Log("SPELL_AURA_APPLIED", "MagmaSpit", 76031) | ||
self:Log("SPELL_AURA_REMOVED", "MagmaSpitRemoved", 76031) | ||
self:Log("SPELL_CAST_SUCCESS", "Roar", 76028, 93586) | ||
self:Death("Win", 39700) | ||
end | ||
|
||
------------------------------------------------------------------------------- | ||
-- Event Handlers | ||
|
||
function mod:MagmaSpit(player, spellId, _, _, spellName) | ||
self:Message(76031, spellName..": "..player, "Urgent", spellId) | ||
self:Bar(76031, spellName..": "..player, 9, spellId) | ||
self:PrimaryIcon(76031, player) | ||
end | ||
|
||
function mod:MagmaSpitRemoved(player, _, _, _, spellName) | ||
self:SendMessage("BigWigs_StopBar", self, spellName..": "..player) | ||
self:PrimaryIcon(76031) | ||
end | ||
|
||
function mod:Roar(_, spellId, _, _, spellName) | ||
self:Bar(76028, spellName, 30, spellId) | ||
self:Message(76028, spellName, "Attention", spellId) | ||
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,49 @@ | ||
------------------------------------------------------------------------------- | ||
-- Module Declaration | ||
|
||
local mod = BigWigs:NewBoss("Corla, Herald of Twilight", 753) | ||
if not mod then return end | ||
mod.partyContent = true | ||
mod:RegisterEnableMob(39679) | ||
mod.toggleOptions = { | ||
{75610, "FLASHSHAKE"}, -- Evolution | ||
"bosskill", | ||
} | ||
|
||
------------------------------------------------------------------------------- | ||
-- Localization | ||
|
||
local L = mod:NewLocale("enUS", true) | ||
if L then--@do-not-package@ | ||
L["evolution_stacks"] = "YOU have %s stacks of Evolution"--@end-do-not-package@ | ||
--@localization(locale="enUS", namespace="BRC/Corla", format="lua_additive_table", handle-unlocalized="ignore")@ | ||
end | ||
L = mod:GetLocale() | ||
|
||
------------------------------------------------------------------------------- | ||
-- Initialization | ||
|
||
function mod:OnBossEnable() | ||
self:Log("SPELL_AURA_APPLIED_DOSE", "Evolution", 75610, 87378) | ||
self:Log("SPELL_AURA_REMOVED", "EvolutionRemoved", 75610, 87378) | ||
|
||
self:Death("Win", 39679) | ||
end | ||
|
||
------------------------------------------------------------------------------- | ||
-- Event Handlers | ||
|
||
function mod:Evolution(player, spellId, _, _, spellName, stack) | ||
if UnitIsUnit(player, "player") and stack > 75 and not warned then | ||
warned = true | ||
self:LocalMessage(75610, L["evolution_stacks"]:format(stack), "Personal", spellId, "Alarm") | ||
self:FlashShake(75610) | ||
end | ||
end | ||
|
||
function mod:EvolutionRemoved(player, _, _, _, spellName) | ||
if UnitIsUnit(player, "player") and warned then | ||
warned = nil | ||
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,53 @@ | ||
------------------------------------------------------------------------------- | ||
-- Module Declaration | ||
|
||
local mod = BigWigs:NewBoss("Karsh Steelbender", 753) | ||
if not mod then return end | ||
mod.partyContent = true | ||
mod:RegisterEnableMob(39698) | ||
mod.toggleOptions = { | ||
75842, -- Quicksilver Armor | ||
93567, -- Superheated Quicksilver Armor | ||
"bosskill", | ||
} | ||
|
||
------------------------------------------------------------------------------- | ||
-- Locals | ||
|
||
local superheated = GetSpellInfo(101305) | ||
|
||
------------------------------------------------------------------------------- | ||
-- Initialization | ||
|
||
function mod:OnBossEnable() | ||
self:Log("SPELL_AURA_APPLIED", "Armor", 75842) | ||
self:Log("SPELL_AURA_APPLIED", "HeatedArmor", 75846, 93567) | ||
self:Log("SPELL_AURA_APPLIED_DOSE", "HeatedArmorDose", 75846, 93567) | ||
|
||
self:Death("Win", 39698) | ||
end | ||
|
||
------------------------------------------------------------------------------- | ||
-- Event Handlers | ||
|
||
function mod:Armor(_, _, _, _, spellName) | ||
self:Message(75842, spellName, "Attention", 75842, "Alert") | ||
end | ||
|
||
do | ||
local function HeatedArmorBar(spellId, buffStack) | ||
if not buffStack then buffStack = 1 end | ||
mod:SendMessage("BigWigs_StopBar", mod, ("%dx %s"):format(buffStack - 1, superheated)) | ||
mod:Bar(93567, ("%dx %s"):format(buffStack, superheated), 17, spellId) | ||
end | ||
|
||
function mod:HeatedArmor(_, spellId, _, _, spellName, buffStack) | ||
mod:Message(93567, spellName, "Important", spellId, "Info") | ||
HeatedArmorBar(spellId, buffStack) | ||
end | ||
|
||
function mod:HeatedArmorDose(_, spellId, _, _, spellName, buffStack) | ||
HeatedArmorBar(spellId, buffStack) | ||
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,57 @@ | ||
------------------------------------------------------------------------------- | ||
-- Module Declaration | ||
|
||
local mod = BigWigs:NewBoss("Ascendant Lord Obsidius", 753) | ||
if not mod then return end | ||
mod.partyContent = true | ||
mod:RegisterEnableMob(39705) | ||
mod.toggleOptions = { | ||
93613, -- Twilight Corruption | ||
{76200, "ICON"}, -- Transformation | ||
76189, -- Veil | ||
"bosskill", | ||
} | ||
|
||
------------------------------------------------------------------------------- | ||
-- Initialization | ||
|
||
function mod:OnBossEnable() | ||
self:Log("SPELL_AURA_APPLIED", "Corruption", 76188, 93613) | ||
self:Log("SPELL_AURA_REMOVED", "CorruptionRemoved", 76188, 93613) | ||
self:Log("SPELL_AURA_APPLIED", "Change", 76200) | ||
self:Log("SPELL_AURA_APPLIED", "Veil", 76189) | ||
|
||
self:Death("Win", 39705) | ||
end | ||
|
||
------------------------------------------------------------------------------- | ||
-- Event Handlers | ||
|
||
function mod:Corruption(player, spellId, _, _, spellName) | ||
self:TargetMessage(93613, spellName, player, "Important", spellId, "Alarm") | ||
self:Bar(93613, spellName..": "..player, 12, spellId) | ||
end | ||
|
||
function mod:CorruptionRemoved(player, _, _, _, spellName) | ||
self:SendMessage("BigWigs_StopBar", self, spellName..": "..player) | ||
end | ||
|
||
do | ||
local changeThrottle = 0 | ||
function mod:Change(_, spellId, _, _, spellName) | ||
local time = GetTime() | ||
if (time - changeThrottle) > 2 then | ||
self:Message(76200, spellName, "Urgent", spellId) | ||
end | ||
self:PrimaryIcon(76200, mod.displayName) | ||
changeThrottle = time | ||
end | ||
end | ||
|
||
function mod:Veil(player, spellId, _, _, spellName) | ||
if UnitGroupRolesAssigned(player) == "TANK" then | ||
self:TargetMessage(76189, spellName, player, "Attention", spellId) | ||
self:Bar(76189, spellName..": "..player, 4, spellId) | ||
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,42 @@ | ||
------------------------------------------------------------------------------- | ||
-- Module Declaration | ||
|
||
local mod = BigWigs:NewBoss("Rom'ogg Bonecrusher", 753) | ||
if not mod then return end | ||
mod.partyContent = true | ||
mod:RegisterEnableMob(39665) | ||
mod.toggleOptions = { | ||
75543, -- The Skullcracker | ||
75272, -- Quake | ||
75539, -- Chains | ||
"bosskill", | ||
} | ||
|
||
------------------------------------------------------------------------------- | ||
-- Initialization | ||
|
||
function mod:OnBossEnable() | ||
self:Log("SPELL_CAST_START", "Skullcracker", 75543, 93453) | ||
self:Log("SPELL_CAST_START", "Quake", 75272) | ||
self:Log("SPELL_CAST_START", "Chains", 75539) | ||
self:Death("Win", 39665) | ||
end | ||
|
||
------------------------------------------------------------------------------- | ||
-- Event Handlers | ||
|
||
function mod:Skullcracker(_, spellId, _, _, spellName) | ||
local time = self:GetInstanceDifficulty() == 2 and 8 or 12 --8sec on heroic, 12 on normal | ||
self:Bar(75543, spellName, time, spellId) | ||
self:Message(75543, LW_CL["seconds"]:format(spellName, time), "Urgent", spellId) | ||
end | ||
|
||
function mod:Quake(_, spellId, _, _, spellName) | ||
--self:Bar(75272, LW_CL["next"]:format(spellName), 19, spellId) --innacurate? | ||
self:Message(75272, LW_CL["casting"]:format(spellName), "Attention", spellId) | ||
end | ||
|
||
function mod:Chains(_, spellId, _, _, spellName) | ||
self:Message(75539, LW_CL["casting"]:format(spellName), "Important", spellId, "Alert") | ||
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,11 @@ | ||
<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="Beauty.lua"/> | ||
<Script file="Corla.lua"/> | ||
<Script file="Karsh.lua"/> | ||
<Script file="Obsidius.lua"/> | ||
<Script file="Rom'ogg.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,31 @@ | ||
------------------------------------------------------------------------------- | ||
-- Module Declaration | ||
|
||
local mod = BigWigs:NewBoss("Ammunae", 759) | ||
if not mod then return end | ||
mod.partyContent = true | ||
mod:RegisterEnableMob(39731) | ||
mod.toggleOptions = {76043, 75790, "bosskill"} | ||
|
||
------------------------------------------------------------------------------- | ||
-- Initialization | ||
|
||
function mod:OnBossEnable() | ||
self:Log("SPELL_CAST_START", "Wither", 76043) | ||
self:Log("SPELL_CAST_START", "Growth", 75790, 89888) | ||
|
||
self:Death("Win", 39731) | ||
end | ||
|
||
------------------------------------------------------------------------------- | ||
-- Event Handlers | ||
|
||
|
||
function mod:Wither(_, spellId, _, _, spellName) | ||
self:Message(76043, LW_CL["casting"]:format(spellName), "Important", spellId) | ||
end | ||
|
||
function mod:Growth(_, spellId, _, _, spellName) | ||
self:Message(75790, LW_CL["casting"]:format(spellName), "Attention", spellId, "Alarm") | ||
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,40 @@ | ||
------------------------------------------------------------------------------- | ||
-- Module Declaration | ||
|
||
local mod = BigWigs:NewBoss("Temple Guardian Anhuur", 759) | ||
if not mod then return end | ||
mod.partyContent = true | ||
mod:RegisterEnableMob(39425) | ||
mod.toggleOptions = {74938, {75592, "ICON", "FLASHSHAKE"}, "bosskill"} | ||
|
||
------------------------------------------------------------------------------- | ||
-- Initialization | ||
|
||
function mod:OnBossEnable() | ||
self:Log("SPELL_AURA_APPLIED", "Shield", 74938) | ||
self:Log("SPELL_AURA_APPLIED", "Reckoning", 75592, 94949) | ||
self:Log("SPELL_AURA_REMOVED", "ReckoningRemoved", 75592, 94949) | ||
self:Death("Win", 39425) | ||
end | ||
|
||
------------------------------------------------------------------------------- | ||
-- Event Handlers | ||
|
||
function mod:Shield(_, spellId, _, _, spellName) | ||
self:Message(74938, spellName, "Important", spellId, "Long") | ||
end | ||
|
||
function mod:Reckoning(player, spellId, _, _, spellName) | ||
self:TargetMessage(75592, spellName, player, "Attention", spellId, "Alert") | ||
self:Bar(75592, spellName..": "..player, 8, spellId) | ||
self:PrimaryIcon(75592, player) | ||
if UnitIsUnit(player, "player") then | ||
self:FlashShake(75592) | ||
end | ||
end | ||
|
||
function mod:ReckoningRemoved(player, _, _, _, spellName) | ||
self:PrimaryIcon(75592) | ||
self:SendMessage("BigWigs_StopBar", self, spellName..": "..player) | ||
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,50 @@ | ||
------------------------------------------------------------------------------- | ||
-- Module Declaration | ||
|
||
local mod = BigWigs:NewBoss("Anraphet", 759) | ||
if not mod then return end | ||
mod.partyContent = true | ||
mod:RegisterEnableMob(39788) | ||
mod.toggleOptions = {{76184, "FLASHSHAKE"}, 75622, 75603, "bosskill"} | ||
|
||
------------------------------------------------------------------------------- | ||
-- Initialization | ||
|
||
function mod:OnBossEnable() | ||
self:Log("SPELL_CAST_START", "Alpha", 76184) | ||
self:Log("SPELL_AURA_APPLIED", "AlphaDebuff", 76956, 91177) | ||
self:Log("SPELL_CAST_START", "Omega", 75622, 91208) | ||
self:Log("SPELL_AURA_APPLIED", "Nemesis", 75603, 91174) | ||
|
||
self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus") | ||
|
||
self:Death("Win", 39788) | ||
end | ||
|
||
function mod:OnEngage() | ||
self:Bar(75622, LW_CL["next"]:format(GetSpellInfo(75622)), 45, 75622) | ||
end | ||
|
||
------------------------------------------------------------------------------- | ||
-- Event Handlers | ||
|
||
function mod:Alpha(_, spellId, _, _, spellName) | ||
self:Message(76184, LW_CL["casting"]:format(spellName), "Attention", spellId) | ||
end | ||
|
||
function mod:AlphaDebuff(player, spellId, _, _, spellName) | ||
if UnitIsUnit(player, "player") then | ||
self:LocalMessage(76184, LibStub("AceLocale-3.0"):GetLocale("Big Wigs: Common")["you"]:format(spellName), "Personal", spellId, "Alarm") | ||
self:FlashShake(76184) | ||
end | ||
end | ||
|
||
function mod:Omega(_, spellId, _, _, spellName) | ||
self:Message(75622, LW_CL["casting"]:format(spellName), "Important", spellId, "Alert") | ||
self:Bar(75622, LW_CL["next"]:format(spellName), 37, spellId) | ||
end | ||
|
||
function mod:Nemesis(player, spellId, _, _, spellName) | ||
self:TargetMessage(75603, spellName, player, "Urgent", spellId) | ||
end | ||
|
Oops, something went wrong.