fix: Fixes tests for armor/weapons

This commit is contained in:
Kamron Batman 2026-07-02 21:48:28 -07:00
parent 0bfbdd0764
commit c5bc097c6c
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ public class AosArmorAttributesPropertiesTests
var attrs = new AosArmorAttributes(null) { MageArmor = 1, LowerStatReq = 50 };
var opl = new ObjectPropertyList(null);
attrs.GetProperties(opl, lowerStatReq: 77); // computed value passed by the consumer, not the raw 50
attrs.GetProperties(opl); // computed value passed by the consumer, not the raw 50
var map = Decode(opl);
Assert.Equal("77", map[1060435]); // emitted from the param, not the container's 50

View file

@ -65,7 +65,7 @@ public class AosWeaponAttributesPropertiesTests
var attrs = new AosWeaponAttributes(null) { MageWeapon = 25 };
var opl = new ObjectPropertyList(null);
attrs.GetProperties(opl, lowerStatReq: 40); // computed value passed by the weapon
attrs.GetProperties(opl); // computed value passed by the weapon
var map = Decode(opl);
Assert.Equal("40", map[1060435]); // lower requirements, in cliloc order before MageWeapon