Skip to content

Commit

Permalink
fixed dps mode conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Jan 13, 2024
1 parent 9aa7c69 commit 1b98e5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions class_configs/enc_class_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ local _ClassConfig = {
IsCharming = function() return RGMercUtils.IsModeActive("Charm") end,
},
['Modes'] = {
'Mori',
'Charm',
'Mez',
},
['ItemSets'] = {
Expand Down Expand Up @@ -841,8 +839,7 @@ local _ClassConfig = {
steps = 1,
targetId = function(self) return { RGMercConfig.Globals.AutoTargetID, } end,
cond = function(self, combat_state)
return combat_state == "Combat" and
self.ClassConfig.Modes[self.settings.Mode] == "Hybrid" and not RGMercUtils.Feigning()
return combat_state == "Combat" and not RGMercUtils.Feigning()
end,
},
{
Expand All @@ -851,8 +848,7 @@ local _ClassConfig = {
steps = 1,
targetId = function(self) return { RGMercConfig.Globals.AutoTargetID, } end,
cond = function(self, combat_state)
return combat_state == "Combat" and
RGMercUtils.BurnCheck() and self.ClassConfig.Modes[self.settings.Mode] == "Hybrid" and not RGMercUtils.Feigning()
return combat_state == "Combat" and RGMercUtils.BurnCheck() and not RGMercUtils.Feigning()
end,
},
{
Expand All @@ -861,7 +857,7 @@ local _ClassConfig = {
steps = 1,
targetId = function(self) return { RGMercConfig.Globals.AutoTargetID, } end,
cond = function(self, combat_state)
return combat_state == "Combat" and self.ClassConfig.Modes[self.settings.Mode] == "Hybrid" and not RGMercUtils.Feigning()
return combat_state == "Combat" and not RGMercUtils.Feigning()
end,
},

Expand Down Expand Up @@ -1431,7 +1427,7 @@ local _ClassConfig = {
},
},
['DefaultConfig'] = {
['Mode'] = { DisplayName = "Mode", Category = "Combat", Tooltip = "Select the Combat Mode for this Toon", Type = "Custom", RequiresLoadoutChange = true, Default = 1, Min = 1, Max = 3, },
['Mode'] = { DisplayName = "Mode", Category = "Combat", Tooltip = "Select the Combat Mode for this Toon", Type = "Custom", RequiresLoadoutChange = true, Default = 1, Min = 1, Max = 1, },
['DoLearners'] = { DisplayName = "Do Learners", Category = "Spells & Abilities", Tooltip = "Set to use the Learner's Aura instead of the Mana Regen Aura.", Default = false, },
['DoTash'] = { DisplayName = "Do Tash", Category = "Spells & Abilities", Tooltip = "Cast Tash Spells", Default = true, },
['DoTwincastDPS'] = { DisplayName = "Do Twincast DPS", Category = "Spells & Abilities", Tooltip = "Cast Twincast during DPS rotation", Default = true, },
Expand Down
2 changes: 1 addition & 1 deletion extras/version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return { commitId = '1aecb2a 2024-01-13' }
return { commitId = '9aa7c69 2024-01-13' }

0 comments on commit 1b98e5e

Please sign in to comment.