Skip to content

Commit

Permalink
sk fix for no mainhand weapon
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Mar 22, 2024
1 parent f59bc7e commit c9496aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions class_configs/shd_class_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ local _ClassConfig = {
tooltip = Tooltips.Blade,
cond = function(self)
return RGMercUtils.GetTargetID() > 0 and RGMercUtils.GetTargetPctHPs() > 5 and
RGMercUtils.GetTargetDistance() < 35 and (mq.TLO.Me.Inventory("mainhand").Type():find("2H"))
RGMercUtils.GetTargetDistance() < 35 and ((mq.TLO.Me.Inventory("mainhand").Type() or ""):find("2H"))
end,
},
{
Expand All @@ -1019,7 +1019,7 @@ local _ClassConfig = {
tooltip = Tooltips.Crimson,
cond = function(self)
return RGMercUtils.GetTargetID() > 0 and RGMercUtils.GetTargetPctHPs() > 5 and
RGMercUtils.GetTargetDistance() < 35 and (mq.TLO.Me.Inventory("mainhand").Type():find("2H"))
RGMercUtils.GetTargetDistance() < 35 and ((mq.TLO.Me.Inventory("mainhand").Type() or ""):find("2H"))
end,
},
},
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 = '037a63b 2024-03-21' }
return { commitId = 'f59bc7e 2024-03-21' }

0 comments on commit c9496aa

Please sign in to comment.