ModernUO/Projects/UOContent.Tests/Tests/Items/TreasureChests
Kamron Batman 819c6ff341
fix: Stop treasure chest guardian spawn farming via stack splits
Lifting a partial amount from a stack in a TreasureMapChest re-adds the
remainder as a brand-new item (Mobile.LiftItemDupe bypasses CheckHold), so
the instance-keyed _lifted set never recognized it. Pulling the gold stack
coin by coin with an organizer agent granted a fresh 10% guardian spawn
roll per pull -- ~400 farmable spawns from a single level 4 chest.

Mark every item that enters the chest after the initial fill as already
lifted: stack-split remainders, bounce-backs, and packed-in items all lose
spawn-roll eligibility, while the original loot keeps its one legitimate
roll per item.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-10 08:38:39 -07:00
..
TreasureChestDecayTests.cs fix: Items dropped on the ground never decay (#2536) 2026-07-16 18:51:04 -07:00
TreasureMapChestLiftTests.cs fix: Stop treasure chest guardian spawn farming via stack splits 2026-08-10 08:38:39 -07:00