Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Feb 24, 2024
2 parents 78e86cc + 8dacbb3 commit c4d3e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ local function Main()

if ((os.clock() - RGMercConfig.Globals.LastPetCmd) > 2) then
RGMercConfig.Globals.LastPetCmd = os.clock()
if RGMercUtils.GetSetting('DoPet') and (RGMercUtils.GetTargetPctHPs() <= RGMercUtils.GetSetting('PetEngagePct')) then
if RGMercUtils.GetSetting('DoPet') and (RGMercUtils.GetTargetPctHPs(RGMercUtils.GetAutoTarget()) <= RGMercUtils.GetSetting('PetEngagePct')) then
RGMercUtils.PetAttack(RGMercConfig.Globals.AutoTargetID)
end
end
Expand Down

0 comments on commit c4d3e7c

Please sign in to comment.