Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
* Add avoidable damage for SL s4 dungeons
Browse files Browse the repository at this point in the history
* Add avoidable debuffs for SL s4 dungeons
* Add spells to interrupts for SL s4 dungeons
* Add Dispel menu-item to WA-menu (page - Buffs and Debuffs on enemies)
* Use correct spec ids for Enrage WA
* Add WA-templates for spell cast start/success
  • Loading branch information
onechiporenko committed Aug 8, 2022
1 parent c30c160 commit 0885e37
Show file tree
Hide file tree
Showing 17 changed files with 1,078 additions and 31 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,12 @@
* Show dispel-type on the "Dispels"-tab
* Save player's secondary stats changes
* Add SL S4 affix "Shrouded"
* Add avoidable damage for SL s4 dungeons
* Add avoidable debuffs for SL s4 dungeons
* Add spells to interrupts for SL s4 dungeons
* Add Dispel menu-item to WA-menu (page - Buffs and Debuffs on enemies)
* Use correct spec ids for Enrage WA
* Add WA-templates for spell cast start/success

### v2.21.0

Expand Down
6 changes: 6 additions & 0 deletions Core.lua
Expand Up @@ -58,6 +58,12 @@ function MyDungeonsBook:OnInitialize()
if (data.type == "PARTY_AURA") then
MyDungeonsBook:WA_PartyAura_Aura_Create(data.auraData, data.instanceId, data.bossId, data.affixId, customText);
end
if (data.type == "CUSTOM_ACTION_ON_SPELL_CAST_START") then
MyDungeonsBook:WA_CustomActionOnSpellStart_Aura_Create(data.auraData, data.instanceId, data.bossId, data.affixId, customText);
end
if (data.type == "CUSTOM_ACTION_ON_SPELL_CAST_SUCCESS") then
MyDungeonsBook:WA_CustomActionOnSpellSuccess_Aura_Create(data.auraData, data.instanceId, data.bossId, data.affixId, customText);
end
end,
whileDead = true,
hideOnEscape = true,
Expand Down
1 change: 1 addition & 0 deletions Locales/enUS.lua
Expand Up @@ -189,6 +189,7 @@ L["Weak Auras"] = "Weak Auras";
L["Kickable"] = "Kickable";
L["Secondaries"] = "Secondaries";
L["Personal"] = "Personal";
L["All Debuffs"] = "All Debuffs";
-- UI end

-- Help start
Expand Down
1 change: 1 addition & 0 deletions Locales/ruRU.lua
Expand Up @@ -190,6 +190,7 @@ L["Weak Auras"] = "Weak Auras";
L["Kickable"] = "Сбиваемо";
L["Secondaries"] = "Вторичные навыки";
L["Personal"] = "Личное";
L["All Debuffs"] = "Все дебафы";
-- UI end

-- Help start
Expand Down
236 changes: 236 additions & 0 deletions Mechanics/Spells.lua
Expand Up @@ -11,6 +11,29 @@ local L = LibStub("AceLocale-3.0"):GetLocale("MyDungeonsBook");

local Spells = {

-----------------------------
---- Warlords of Draenor ----
-----------------------------

-- Iron Docks
[164632] = true,
[165152] = true, -- Lava Sweep
[168148] = true,
[168390] = true,
[168514] = true,
[173349] = true, -- Trampled
[173517] = true,
[173489] = true,

-- Grimrail Depot
[162513] = true,
[171902] = true,
[167038] = true,
[160963] = true,
[176025] = true,
[162065] = true,
[161588] = true,

----------------
---- LEGION ----
----------------
Expand Down Expand Up @@ -80,6 +103,12 @@ local Spells = {
[191743] = true, -- Deafening Screech
[197541] = true, -- Detonation

-- Karazhan Lower
[228625] = true,
[228019] = true,

-- Karazhan Upper

-------------
---- BfA ----
-------------
Expand Down Expand Up @@ -294,6 +323,9 @@ local Spells = {
[366409] = true, -- Fusion Beam (Season 3)
[366288] = true, -- Force Slam (Season 3)
[366566] = true, -- Burst (Season 3)
[373429] = true, -- Season 4
[373513] = true, -- Season 4

-- Plaguefall
[319898] = true, -- Vile Spit (Slime Tentacle)
[328501] = true, -- Plague Bomb (Rigged Plagueborer)
Expand Down Expand Up @@ -493,6 +525,32 @@ local Spells = {

local SpellsNoTank = {

-----------------------------
---- Warlords of Draenor ----
-----------------------------

-- Iron Docks
[165122] = true,
[161256] = true,
[162281] = true,
[164734] = true,
[167095] = true,
[167120] = true,
[167233] = true,
[167815] = true,
[169413] = true,
[178411] = true,

-- Grimrail Depot
[164218] = true,
[164163] = true,
[163536] = true,
[176039] = true,
[161089] = true,
[164102] = true,
[164188] = true,
[176033] = true,

----------------
---- LEGION ----
----------------
Expand Down Expand Up @@ -532,6 +590,28 @@ local SpellsNoTank = {
[361313] = true, -- Leeching Bite
[363073] = true, -- Darkstrikes

-- Karazhan Lower
[228603] = true,
[228995] = true,
[227493] = true,
[228986] = true,
[227339] = true,
[227636] = true,
[238566] = true,
[227638] = true,
[241774] = true,
[228252] = true,
[228252] = true,
[241809] = true,
[228637] = true,
[228396] = true,
[29581] = true,
[29930] = true,
[29665] = true,
[29667] = true,

-- Karazhan Upper


-------------
---- BfA ----
Expand Down Expand Up @@ -687,10 +767,26 @@ local SpellsNoTank = {
[355644] = true, -- Hyperlight Salvo
[356967] = true, -- Hyperlight Backhand (Cartel Muscle)
[359028] = true, -- Security Slam (Zo'gron)

-- AFFIXES
[373364] = true, -- Vampiric Claws (Season 4)
[373509] = true, -- Season 4
};

local Auras = {

-----------------------------
---- Warlords of Draenor ----
-----------------------------

-- Iron Docks
[163390] = true,
[164504] = true,
[172636] = true,

-- Grimrail Depot
[166340] = true,

----------------
---- LEGION ----
----------------
Expand All @@ -711,6 +807,10 @@ local Auras = {

-- Vault of the Wardens

-- Karazhan Lower

-- Karazhan Upper

-------------
---- BfA ----
-------------
Expand Down Expand Up @@ -812,10 +912,23 @@ local Auras = {
[346297] = true, -- Unstable Explosion
[346329] = true, -- Spilled Liquids
[347728] = true, -- Flock!

-- Affixes
[373391] = true, -- Season 4
};

local AurasNoTank = {

-----------------------------
---- Warlords of Draenor ----
-----------------------------

-- Iron Docks

-- Grimrail Depot
[164241] = true,


----------------
---- LEGION ----
----------------
Expand All @@ -833,6 +946,15 @@ local AurasNoTank = {

-- Vault of the Wardens

-- Karazhan Lower
[227493] = true,
[241774] = true,
[29574] = true,
[230297] = true,
[227832] = true,

-- Karazhan Upper

-------------
---- BfA ----
-------------
Expand All @@ -859,6 +981,20 @@ local AurasNoTank = {

local SpellsToInterrupt = {

-----------------------------
---- Warlords of Draenor ----
-----------------------------

-- Iron Docks
[165122] = true,
[178154] = true,

-- Grimrail Depot
[164192] = true,
[166335] = true,
[163966] = true,


----------------
---- LEGION ----
----------------
Expand Down Expand Up @@ -906,6 +1042,17 @@ local SpellsToInterrupt = {
-- Vault of the Wardens
[193069] = true, -- Nightmares (Felsworn Infester)

-- Karazhan Lower
[227542] = true,
[228606] = true,
[227987] = true,
[228254] = true,
[227800] = true,
[227823] = true,
[227616] = true,

-- Karazhan Upper

-------------
---- BfA ----
-------------
Expand Down Expand Up @@ -1103,6 +1250,22 @@ local SpecificBuffOrDebuffOnPartyMembers = {

local SpecificBuffOrDebuffOnUnit = {

-----------------------------
---- Warlords of Draenor ----
-----------------------------

-- Iron Docks

-- Grimrail Depot

----------------
---- LEGION ----
----------------

-- Karazhan Lower

-- Karazhan Upper

-------------
---- BfA ----
-------------
Expand Down Expand Up @@ -1143,6 +1306,14 @@ local SpecificBuffOrDebuffOnUnit = {

local SpecificCastsDoneByPartyMembers = {

-----------------------------
---- Warlords of Draenor ----
-----------------------------

-- Iron Docks

-- Grimrail Depot

-------------
---- BfA ----
-------------
Expand Down Expand Up @@ -1329,6 +1500,65 @@ local SpecificItemsUsedByPartyMembers = {

local DamageDoneToSpecificUnits = {

-----------------------------
---- Warlords of Draenor ----
-----------------------------

-- Iron Docks
[79852] = {
type = "BOSS"
},
[83612] = {
type = "BOSS"
},
[80816] = {
type = "BOSS"
},
[83616] = {
type = "BOSS"
},
[80805] = {
type = "BOSS"
},
[80808] = {
type = "BOSS"
},
[81297] = {
type = "BOSS"
},
[81305] = {
type = "BOSS"
},
[83613] = {
type = "BOSS"
},
[89011] = {
type = "ADD"
},

-- Grimrail Depot

[79545] = {
type = "BOSS"
},
[77816] = {
type = "BOSS"
},
[77803] = {
type = "BOSS"
},
[80005] = {
type = "BOSS"
},

----------------
---- LEGION ----
----------------

-- Karazhan Lower

-- Karazhan Upper

-------------
---- BfA ----
-------------
Expand Down Expand Up @@ -1434,6 +1664,12 @@ local DamageDoneToSpecificUnits = {
[184910] = {
type = "AFFIX"
}, -- Wo Drifter
[190128] = {
type = "AFFIX"
},
[189878] = {
type = "AFFIX"
},

-- Plaguefall
[164362] = {
Expand Down

0 comments on commit 0885e37

Please sign in to comment.