fix: Fixes tests for armor/weapons (#2511)

This commit is contained in:
Kamron Batman 2026-07-02 21:49:33 -07:00 committed by GitHub
parent 0bfbdd0764
commit e42a62b1d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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