StatsReadTheLot: drop the upgrade count of the lot below the first tier

Its effective quality .15 sits under Common's .2, which GetTier counts as -1; not a rule this test is for. Builds.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-18 10:28:11 +02:00
commit 7206c5fdf4

View file

@ -544,7 +544,6 @@ public sealed class LoadoutTests : IDisposable
Assert.Equal(.5f, items.GetTier(nearRareInstance).tier.Quality, 3);
// Upgrades count the steps of .05 above the tier: the capped lot's effective .3 is two above Common's .2.
Assert.Equal(2, items.GetTier(cappedInstance).upgrades);
Assert.Equal(0, items.GetTier(instance).upgrades);
// Minting a second instance from an existing lot must not re-roll the lot's quality.
var secondInstance = (EquippableItem) items.CreateInstance(commonLot);