Skip to content

Commit

Permalink
improvement: update aura related options
Browse files Browse the repository at this point in the history
  • Loading branch information
ffainy committed Jan 20, 2023
1 parent 24c1778 commit 4f46f1e
Show file tree
Hide file tree
Showing 16 changed files with 1,393 additions and 2,107 deletions.
35 changes: 23 additions & 12 deletions src/core/staticpopups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,45 +49,56 @@ StaticPopupDialogs.ANDROMEDA_RESET_MAJOR_SPELLS_LIST = {
whileDead = 1,
}

StaticPopupDialogs.ANDROMEDA_RESET_PARTY_AURA_LIST = {
text = C.RED_COLOR .. L['Reset to default list?'],
StaticPopupDialogs.ANDROMEDA_RESET_ANNOUNCEABLE_SPELLS = {
text = C.RED_COLOR .. L['Reset to default list!'],
button1 = _G.YES,
button2 = _G.NO,
OnAccept = function()
_G.ANDROMEDA_ADB['PartyAurasList'] = {}
_G.ANDROMEDA_ADB['AnnounceableSpellsList'] = {}
_G.ReloadUI()
end,
whileDead = 1,
}

StaticPopupDialogs.ANDROMEDA_RESET_ANNOUNCEABLE_SPELLS = {
text = C.RED_COLOR .. L['Are you sure to restore default Announceable Spells List?'],
StaticPopupDialogs.ANDROMEDA_RESET_PARTY_SPELLS = {
text = C.RED_COLOR .. L['Reset to default list!'],
button1 = _G.YES,
button2 = _G.NO,
OnAccept = function()
_G.ANDROMEDA_ADB['AnnounceableSpellsList'] = {}
wipe(_G.ANDROMEDA_ADB['PartySpellsList'])
_G.ReloadUI()
end,
whileDead = 1,
}

StaticPopupDialogs.ANDROMEDA_RESET_PARTY_SPELLS = {
text = C.RED_COLOR .. L['Are you sure to restore default Party Spells List?'],
StaticPopupDialogs.ANDROMEDA_RESET_RAID_DEBUFFS_BLACK = {
text = C.RED_COLOR .. L['Reset to default list!'],
button1 = _G.YES,
button2 = _G.NO,
OnAccept = function()
wipe(_G.ANDROMEDA_ADB['PartySpellsList'])
_G.ANDROMEDA_ADB['RaidDebuffsBlackList'] = {}
_G.ReloadUI()
end,
whileDead = 1,
}

StaticPopupDialogs.ANDROMEDA_RESET_RAID_BUFFS_WHITE = {
text = C.RED_COLOR .. L['Reset to default list!'],
button1 = _G.YES,
button2 = _G.NO,
OnAccept = function()
_G.ANDROMEDA_ADB['RaidBuffsWhiteList'] = {}
_G.ReloadUI()
end,
whileDead = 1,
}

StaticPopupDialogs.ANDROMEDA_RESET_RAID_DEBUFFS = {
text = C.RED_COLOR .. L['Are you sure to restore default Raid Debuffs List?'],
StaticPopupDialogs.ANDROMEDA_RESET_CORNER_SPELLS = {
text = C.RED_COLOR .. L['Reset to default list!'],
button1 = _G.YES,
button2 = _G.NO,
OnAccept = function()
_G.ANDROMEDA_ADB['DebuffWatcherList'] = {}
_G.ANDROMEDA_ADB['CornerSpellsList'][C.MY_CLASS] = {}
_G.ReloadUI()
end,
whileDead = 1,
Expand Down
26 changes: 12 additions & 14 deletions src/gui/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -240,20 +240,22 @@ C.CharacterSettings = {

ShowRaidDebuff = true,
RaidDebuffSize = 14,
RaidDebuffScale = 1,
RaidDebuffClickThru = true,
ShowRaidBuff = true,
RaidBuffSize = 12,
RaidBuffClickThru = true,
RaidBuffScale = 1,
RaidBuffAuto = false,


CornerIndicator = true,
CornerIndicatorScale = 1,
CornerIndicatorSize = 6,
CornerSpell = true,
CornerSpellType = 1,
CornerSpellScale = 1,

InstanceAuras = true,
DispellType = 1,
RaidDebuffScale = 1,
AuraClickThru = true,
InstanceDebuff = true,
DebuffWatcherDispellType = 1,
DebuffWatcherScale = 1,
DebuffWatcherClickThru = true,



Expand All @@ -277,9 +279,7 @@ C.CharacterSettings = {
PartyWatcherSync = true,
PartyWatcherOnRight = false,
PartyWatcherSize = 26,
PartyAura = true,
PartyAuraSize = 26,
PartyAuraNum = 4,


RaidFrame = true,
RaidHealthColorStyle = 4,
Expand Down Expand Up @@ -667,14 +667,12 @@ C.AccountSettings = {
RaidDebuffsList = {},
CornerSpellsList = {},


DebuffWatcherList = {},
RaidAuraWatch = {},
MajorSpellsList = {},

PartySpellsList = {},
PartyAurasList = {},
AnnounceableSpellsList = {},

KeystoneInfo = {},
ProfileIndex = {},
ProfileNames = {},
Expand Down
Loading

0 comments on commit 4f46f1e

Please sign in to comment.