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

Commit

Permalink
v2.23.0
Browse files Browse the repository at this point in the history
* Add WA-template GTFO
* Improve custom code for PartyAura
* Update meta-info for SL S4 dungeons
* Bump game-version
  • Loading branch information
onechiporenko committed Aug 17, 2022
1 parent 0885e37 commit fbc1dec
Show file tree
Hide file tree
Showing 9 changed files with 499 additions and 6 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
@@ -1,4 +1,11 @@
### v2.22.0
### v2.23.0

* Add WA-template GTFO
* Improve custom code for PartyAura
* Update meta-info for SL S4 dungeons
* Bump game-version

### v2.22.0

* Add kicked casts to the "Own Casts By Enemies"-tab
* Show dispel-type on the "Dispels"-tab
Expand Down
3 changes: 3 additions & 0 deletions Core.lua
Expand Up @@ -52,6 +52,9 @@ function MyDungeonsBook:OnInitialize()
if (data.type == "AURA") then
MyDungeonsBook:WA_Aura_Aura_Create(data.auraData, data.instanceId, data.bossId, data.affixId, customText);
end
if (data.type == "GTFO") then
MyDungeonsBook:WA_GTFO_Aura_Create(data.auraData, data.instanceId, data.bossId, data.affixId, customText);
end
if (data.type == "CAST_ON_ME") then
MyDungeonsBook:WA_CastOnMe_Aura_Create(data.auraData, data.instanceId, data.bossId, data.affixId, customText);
end
Expand Down
5 changes: 4 additions & 1 deletion Mechanics/Common.lua
Expand Up @@ -628,13 +628,16 @@ Track all passed casts done by enemies.
function MyDungeonsBook:TrackAllEnemiesPassedCasts(unitName, unitGUID, unitFlags, spellId)
local isPlayer = strfind(unitGUID, "Player");
local isPet = strfind(unitGUID, "Pet");
if (isPlayer or isPet) then
local petOwnerName = self:GetSummonedUnitOwner(unitName, unitGUID);
if (isPlayer or isPet or petOwnerName) then
return;
end
--[[
local isEnemy = bit.band(unitFlags, COMBATLOG_OBJECT_REACTION_HOSTILE) ~= 0;
if (not isEnemy) then
return;
end
]]
local KEY = "ALL-ENEMY-PASSED-CASTS";
local id = self.db.char.activeChallengeId;
self:InitMechanics2Lvl(KEY, spellId, true);
Expand Down
183 changes: 183 additions & 0 deletions Mechanics/Spells.lua
Expand Up @@ -24,6 +24,7 @@ local Spells = {
[173349] = true, -- Trampled
[173517] = true,
[173489] = true,
[172963] = true,

-- Grimrail Depot
[162513] = true,
Expand All @@ -33,6 +34,7 @@ local Spells = {
[176025] = true,
[162065] = true,
[161588] = true,
[163971] = true,

----------------
---- LEGION ----
Expand Down Expand Up @@ -106,8 +108,36 @@ local Spells = {
-- Karazhan Lower
[228625] = true,
[228019] = true,
[227542] = true,
[227776] = true,
[227473] = true,
[227977] = true,
[29579] = true,
[232115] = true,
[227925] = true,
[228001] = true,
[227341] = true,
[241784] = true,

-- Karazhan Upper
[242894] = true,
[228262] = true,
[229988] = true,
[227285] = true,
[229597] = true,
[227806] = true,
[229083] = true,
[229298] = true,
[229544] = true,
[229567] = true,
[229248] = true,
[229285] = true,
[229151] = true,
[229384] = true,
[229161] = true,
[229427] = true,
[230067] = true,
[229905] = true,

-------------
---- BfA ----
Expand Down Expand Up @@ -283,6 +313,8 @@ local Spells = {
[293861] = true, --- Anti-Personnel Squirrel (Anti-Personnel Squirrel)
[295168] = true, --- Capacitor Discharge (Blastatron X-80)
[294954] = true, --- Self-Trimming Hedge (Head Machinist Sparkflux)
[293827] = true,
[293986] = true,


-- Mechagon Junkyard
Expand Down Expand Up @@ -506,6 +538,7 @@ local Spells = {
[358947] = true, -- Burning Tar (Hourglass Cannon)
[357228] = true, -- Drifting Star (Adorned Starseer)
[356260] = true, -- Tidal Burst (Hourglass Tidesage)
[346960] = true, -- Tidal Burst (Hourglass Tidesage)
-- Tazavesh: Streets of Wonder
[346028] = true, -- Interrogation
[347481] = true, -- Shuri (So'azmi)
Expand Down Expand Up @@ -609,8 +642,12 @@ local SpellsNoTank = {
[29930] = true,
[29665] = true,
[29667] = true,
[227965] = true,

-- Karazhan Upper
[230050] = true,
[230161] = true,
[230002] = true,


-------------
Expand Down Expand Up @@ -756,6 +793,10 @@ local SpellsNoTank = {
[355225] = true, -- Waterbolt (Murkbrine Fishmancer)
[357281] = true, -- Energy Slash (Devoted Accomplice)
[366297] = true, -- Deconstruct (Urh Dismantler)
[356843] = true,
[355048] = true,
[368662] = true,
[346877] = true,
-- Tazavesh: Streets of Wonder
[347635] = true, -- Energy Star (So'azmi)
[347636] = true, -- Energy Star
Expand Down Expand Up @@ -1050,6 +1091,12 @@ local SpellsToInterrupt = {
[227800] = true,
[227823] = true,
[227616] = true,
[232115] = true,
[228025] = true,
[241784] = true,
[228279] = true,
[29580] = true,
[227545] = true,

-- Karazhan Upper

Expand Down Expand Up @@ -1080,6 +1127,9 @@ local SpellsToInterrupt = {
[300087] = true, -- Repair
[300171] = true, -- Repair Protocol
[300514] = true, -- Stoneskin
[300414] = true,
[284219] = true,
[301629] = true,
-- MH WS
[293827] = true, -- Giga-Wallop
[293930] = true, -- Overclock
Expand Down Expand Up @@ -1535,6 +1585,9 @@ local DamageDoneToSpecificUnits = {
[89011] = {
type = "ADD"
},
[89012] = {
type = "ADD"
},

-- Grimrail Depot

Expand All @@ -1556,8 +1609,80 @@ local DamageDoneToSpecificUnits = {
----------------

-- Karazhan Lower
[113971] = {
type = "BOSS",
},
[114251] = {
type = "BOSS",
},
[114284] = {
type = "BOSS",
},
[114312] = {
type = "BOSS",
},
[114262] = {
type = "BOSS",
},
[114264] = {
type = "BOSS",
},
[114319] = {
type = "ADD",
},
[114320] = {
type = "ADD",
},
[114317] = {
type = "ADD",
},
[114316] = {
type = "ADD",
},
[114321] = {
type = "ADD",
},
[114318] = {
type = "ADD",
},
[114328] = {
type = "BOSS",
},
[114522] = {
type = "ADD",
},
[114329] = {
type = "ADD",
},
[114330] = {
type = "ADD",
},
[114324] = {
type = "ADD",
},

-- Karazhan Upper
[114790] = {
type = "BOSS",
},
[114247] = {
type = "BOSS",
},
[114252] = {
type = "BOSS",
},
[114350] = {
type = "BOSS",
},
[114249] = {
type = "ADD",
},
[114675] = {
type = "ADD",
},
[115730] = {
type = "ADD",
},

-------------
---- BfA ----
Expand Down Expand Up @@ -1632,6 +1757,53 @@ local DamageDoneToSpecificUnits = {
[135552] = {
name = L["Deathtouched Slaver"]
},
-- MECHAGON JUNKYARD
[150159] = {
type = "BOSS",
},
[150712] = {
type = "BOSS",
},
[150222] = {
type = "BOSS",
},
[150190] = {
type = "BOSS",
},
[153755] = {
type = "BOSS",
},
[150295] = {
type = "BOSS",
},
[153756] = {
type = "BOSS",
},
-- MECHAGON MASTERY
[144248] = {
type = "BOSS",
},
[144246] = {
type = "BOSS",
},
[144249] = {
type = "BOSS",
},
[145185] = {
type = "BOSS",
},
[144244] = {
type = "BOSS",
},
[150397] = {
type = "BOSS",
},
[150396] = {
type = "BOSS",
},
[152033] = {
type = "ADD",
},

---------------------
---- SHADOWLANDS ----
Expand Down Expand Up @@ -1860,6 +2032,7 @@ local DamageDoneToSpecificUnits = {
[170234] = {
type = "ADD"
}, -- Oppressive Banner

-- Tazavesh: So'leah's Gambit
[175663] = {
type = "BOSS"
Expand All @@ -1870,6 +2043,16 @@ local DamageDoneToSpecificUnits = {
[175546] = {
type = "BOSS"
}, -- Timecap'n Hooktail
[176551] = {
type = "ADD",
},
[177500] = {
type = "ADD",
},
[177716] = {
type = "ADD",
},

-- Tazavesh: Streets of Wonder
[175646] = {
type = "BOSS"
Expand Down
5 changes: 3 additions & 2 deletions MyDungeonsBook.toc
@@ -1,8 +1,8 @@
## Title: MyDungeonsBook
## Notes: Addon to collect and store specific information about your myth+ challenges.
## Version: 2.22.0
## Version: 2.23.0
## Author: GelioS
## Interface: 90205
## Interface: 90207
## OptionalDeps: LibStub, CallbackHandler-1.0, Ace3, LibCompress, LibGroupInSpecT-1.1
## SavedVariables: MyDungeonsBookDB
## SavedVariablesPerCharacter: MyDungeonsBookData
Expand Down Expand Up @@ -114,5 +114,6 @@ Utils/Integrations/WA/Auras/Dodge.lua
Utils/Integrations/WA/Auras/EnemyShield.lua
Utils/Integrations/WA/Auras/Fixate.lua
Utils/Integrations/WA/Auras/Frontal.lua
Utils/Integrations/WA/Auras/Gtfo.lua
Utils/Integrations/WA/Auras/Interrupt.lua
Utils/Integrations/WA/Auras/PartyAura.lua
Expand Up @@ -30,6 +30,7 @@ local function getAllBuffsAndDebuffsSpellMenu(rows, index, cols, type, name, cha
hasArrow = true,
menuList = {
MyDungeonsBook:Wa_ContextMenuItem_Aura_Create(spellId, instanceId, bosses, affixes),
MyDungeonsBook:Wa_ContextMenuItem_GTFO_Create(spellId, instanceId, bosses, affixes),
MyDungeonsBook:Wa_ContextMenuItem_Fixate_Create(spellId, instanceId, bosses, affixes),
}
}
Expand Down
Expand Up @@ -25,7 +25,9 @@ local function getAllDebuffsSpellMenu(rows, index, cols, challengeId)
menuList = {
MyDungeonsBook:Wa_ContextMenuItem_Aura_Create(spellId, instanceId, bosses, affixes),
MyDungeonsBook:Wa_ContextMenuItem_PartyAura_Create(spellId, instanceId, bosses, affixes),
MyDungeonsBook:Wa_ContextMenuItem_PartyDispelAura_Create(spellId, instanceId, bosses, affixes)
MyDungeonsBook:Wa_ContextMenuItem_PartyDispelAura_Create(spellId, instanceId, bosses, affixes),
MyDungeonsBook:Wa_ContextMenuItem_Fixate_Create(spellId, instanceId, bosses, affixes),
MyDungeonsBook:Wa_ContextMenuItem_GTFO_Create(spellId, instanceId, bosses, affixes),
}
}
};
Expand Down

0 comments on commit fbc1dec

Please sign in to comment.