Open Aldori15 opened 3 months ago
We'll have to see how it's supposed to work? Does the player have to click on the item to pick up and then the server sends it by mail? Or does the server send everything by mail?
I think how's it's supposed to work would be up to you. Since this would be a new feature and not something that exists in the game.
Eluna has a method for sending mail to the player: https://elunaluaengine.github.io/Global/SendMail.html
The game has an option for loot called 'Auto Loot'. If 'Auto Loot' is disabled, players have to click each item in the loot window. if 'Auto Loot' is enabled, once players click the corpse, all of the loot automatically goes into the player's bags.
The general idea would be that when a player loots a corpse, if they don't have 'Auto Loot' enabled and have to manually click items in the loot window, when they click an item it goes into the bag. But if the bags are full, clicking on an item could instead call that Eluna method to mail to the player instead.
Same idea if the player loots a corpse when they have 'Auto Loot' enabled. Instead of them manually clicking each item, once they click the dead corpse, it attempts to put all of the items in the player's bags. But if the bags are full, it would just send whatever items that couldn't go into the bags via mail using the Eluna method.
Maybe there would need to be limitations such a quest items, but i'm not sure.
That would be the general idea I think, but I'm sure you're way better at it than I am :)
Normally in WoW if you loot a corpse and your bags are full, it won't let you loot the item. You either have to leave the item or discard an item from your bags to pick it up.
A feature request would be to mail the excess loot to your character when your bags are full.
Not sure if you like this idea or not, but could make it a true/false configurable setting.