Skip to content

Commit

Permalink
- Mage Cursor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Feb 26, 2024
1 parent 004397d commit 554c532
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions class_configs/mag_class_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,19 @@ _ClassConfig = {
end,
custom_func = function(self) return self.ClassConfig.HelperFunctions.summon_pet(self) end,
},
{
name = "Drop Cursor Items",
type = "CustomFunc",
cond = function(self)
return mq.TLO.Cursor() and mq.TLO.Cursor.ID() > 0
end,
custom_func = function(self)
if mq.TLO.Cursor() and mq.TLO.Cursor.ID() > 0 then
RGMercsLogger.log_info("Sending Item(%s) on Cursor to Bag", mq.TLO.Cursor())
RGMercUtils.DoCmd("/autoinventory")
end
end,
},
},
['Burn'] = {
{
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 = '11e0a61 2024-02-25' }
return { commitId = '004397d 2024-02-25' }

0 comments on commit 554c532

Please sign in to comment.