Skip to content

Commit

Permalink
first pass at SK Downtime logic
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Dec 28, 2023
1 parent 592c23b commit 8d7b247
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions class_configs/shd_class_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,6 @@ return {
[30] = { name="BiteTap", type="Spell", cond=function(self, spell) return mq.TLO.Me.PctHPs() <= self.settings.StartLifeTap end },
[31] = { name="LifeTap", type="Spell", cond=function(self, spell) return mq.TLO.Me.PctHPs() <= self.settings.StartLifeTap end },
},
['Downtime'] = {},
},
['Spells'] = {
[1] = { name="DireDot", gem=1 },
Expand Down Expand Up @@ -597,7 +596,6 @@ return {
[11] = { name="Dicho", type="Spell", cond=function(self, spell) return mq.TLO.Me.PctHPs() <= self.settings.StartBigTap end },
[12] = { name="LifeTap", type="Spell", cond=function(self, spell) return mq.TLO.Me.PctHPs() <= self.settings.StartLifeTap end },
},
['Downtime'] = {},
['Burn'] = {
[1] = { name="ReflexStrike", type="DISC", cond=function(self) return mq.TLO.Target.Named() == true end },
[2] = { name="Harm Touch", type="AA", cond=function(self) return (self.settings.BurnAuto and mq.TLO.Target.Named() == true) or RGMercUtils.BigBurn(self.settings) end },
Expand Down Expand Up @@ -655,7 +653,6 @@ return {
[25] = { name="BiteTap", type="Spell", cond=function(self, spell) return mq.TLO.Me.PctHPs() <= self.settings.StartLifeTap end },
[26] = { name="LifeTap", type="Spell", cond=function(self, spell) return mq.TLO.Me.PctHPs() <= self.settings.StartLifeTap end },
},
['Downtime'] = {},
['Burn'] = {
[1] = { name="Acrimony", type="DISC", cond=function(self) return mq.TLO.Target.Named() == true end },
[2] = { name="SpiteStrike", type="DISC", cond=function(self) return mq.TLO.Target.Named() == true end },
Expand Down
3 changes: 3 additions & 0 deletions modules/shd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ function Module:Render()
if ImGui.CollapsingHeader("Rotations") then
ImGui.Indent()
local mode = shdClassConfig.Modes[self.settings.Mode]
if self.settings.TLP then
mode = "TLP_"..mode
end
for k,v in pairs(shdClassConfig.Rotations[mode].Rotation) do
if ImGui.CollapsingHeader(k) then
ImGui.Indent()
Expand Down

0 comments on commit 8d7b247

Please sign in to comment.