Bug - Not A Bug "Remove this effect" purchased 30 SGEEAs

r18906: Right clicked on the effect Tranquilized Mind in the Active Effects list, chose "Remove this effect":

In gCLI:
Tranquilized Mind cannot be removed with an available item or skill...
Searching for "soft green echo eyedrop antidote"...
Search complete.
Purchasing soft green echo eyedrop antidote (5 @ 549)...
Purchasing soft green echo eyedrop antidote (5 @ 550)...
Purchasing soft green echo eyedrop antidote (20 @ 600)...
Purchases complete.
Using soft green whatever...
Tranquilized Mind removed.

In session log:
mall.php?category=allitems&consumable_byme=0&weaponattribute=3&wearable_byme=0&nolimits=0&max_price=0&sortresultsby=price&justitems=0&x_cheapest=0&pudnuggler=%22soft+green+echo+eyedrop+antidote%22

buy 5 soft green echo eyedrop antidote for 549 each from shop #1709404 on 20180925

buy 5 soft green echo eyedrop antidote for 550 each from shop #1370232 on 20180925

buy 20 soft green echo eyedrop antidote for 600 each from shop #1536550 on 20180925

uneffect Tranquilized Mind

Normally this buys just one SGEEA.
 

Darzil

Developer
This is deliberate, and there is code added specifically for it.

In aftercore, certain items (Soft green, Tiny House, Drastic Healing, Antidote, any restore if autoadventuring) are purchased in bulk (30).

It is done to reduce server hits.

InventoryManager.shouldBulkPurchase() is the code, called by InventoryManager.getPurchaseCount().
 
Thanks. Was that added recently?

edit: nevermind, found it - rev. 5729. Wow, I must *really* not be paying attention.
 
Last edited:

Darzil

Developer
No. It was there in Feb 2008, when InventoryManager.java was added. I didn't check any further back.
 
Top