Skip to content

Commit

Permalink
New "Boss Mod" triggers working with both DBM & BigWigs (#4537)
Browse files Browse the repository at this point in the history
These triggers will use BigWigs if installed
If not installed they will use DBM
BossMod Timer will always ignore "cast" timers for bigwigs and dbm
  • Loading branch information
mrbuds authored Aug 8, 2023
1 parent 82b7bd7 commit 1611294
Show file tree
Hide file tree
Showing 7 changed files with 1,607 additions and 1,088 deletions.
11 changes: 10 additions & 1 deletion WeakAuras/AuraEnvironment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,16 @@ local FakeWeakAurasMixin = {
clones = MakeDeprecated(Private.clones, "clones",
L["Using WeakAuras.clones is deprecated. Use WeakAuras.GetRegion(id, cloneId) instead."]),
regions = MakeDeprecated(Private.regions, "regions",
L["Using WeakAuras.regions is deprecated. Use WeakAuras.GetRegion(id) instead."])
L["Using WeakAuras.regions is deprecated. Use WeakAuras.GetRegion(id) instead."]),
GetAllDBMTimers = function() return Private.ExecEnv.BossMods.DBM:GetAllTimers() end,
GetDBMTimerById = function(...) return Private.ExecEnv.BossMods.DBM:GetTimerById(...) end,
GetDBMTimer = function(...) return Private.ExecEnv.BossMods.DBM:GetTimer(...) end,
GetBigWigsTimerById = function(...) return Private.ExecEnv.BossMods.BigWigs:GetTimerById(...) end,
GetAllBigWigsTimers = function() return Private.ExecEnv.BossMods.BigWigs:GetAllTimers() end,
GetBigWigsStage = function(...) return Private.ExecEnv.BossMods.BigWigs:GetStage(...) end,
RegisterBigWigsTimer = function() Private.ExecEnv.BossMods.BigWigs:RegisterTimer() end,
RegisterDBMCallback = function() Private.ExecEnv.BossMods.DBM:RegisterTimer() end,
GetBossStage = function() return Private.ExecEnv.BossMods.Generic:GetStage() end
},
blocked = blocked,
setBlocked = function()
Expand Down
Loading

0 comments on commit 1611294

Please sign in to comment.