Skip to content

Commit

Permalink
mage cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nandor committed Jan 10, 2024
1 parent e3c214b commit ed38ed8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion class_configs/mag_class_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -877,10 +877,12 @@ _ClassConfig = {
end,
handle_pet_toys = function(self)
if mq.TLO.Me.FreeInventory() < 2 or mq.TLO.Me.Level() < 73 then return false end
if mq.TLO.Me.Pet.Equipment("Primary")() ~= nil then return false end

if mq.TLO.Me.CombatState():lower() ~= "combat" then
self.ClassConfig.HelperFunctions.give_pet_toys(self, mq.TLO.Me.Pet.ID())
return self.ClassConfig.HelperFunctions.give_pet_toys(self, mq.TLO.Me.Pet.ID())
end
return false
end,
group_toys = function(self)
-- first Things first see if i can even Make Pet toys. if i am To Low Level or have no Inventory Return
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 = '46163a9 2024-01-09' }
return { commitId = 'e3c214b 2024-01-09' }

0 comments on commit ed38ed8

Please sign in to comment.