Bag_subscriber_bank
Hello,
This new bag come in addition to BAG_BANK if IsESOPlusSubscriber(). Few things : - Assume user has maxed his bank (240). Non subscriber :
Subscriber :
Everyone :
Few snippets of mass transfer / handling are in BankManager if needed. |
The but shouldn't the second one of FindFirstEmptySlotInBag be like this:
Lua Code:
|
I wonder why they did it in that convoluted way. It could have been much easier to introduce GetBagSize(BAG_BANK) and GetUsableBagSize(BAG_BANK), where the former one indicates the slot range and the latter one the number of slots that can be filled at the same time, like
Without ESO+: GetBagSize(BAG_BANK) = 500 GetUsableBagSize(BAG_BANK) = 250 Then, with ESO+: GetBagSize(BAG_BANK) = 500 GetUsableBagSize(BAG_BANK) = 500 Then, deny transfers to the bank if the fill state reached or exceeded GetUsableBagSize(BAG_BANK). Mission accomplished. Or, simply leave it with GetBagSize(BAG_BANK), have its return value doubled when ESO+ is active, but lift the constraint that the slot table indices are numbered 1..(size). |
Quote:
|
All times are GMT -6. The time now is 07:48 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI