feat(currency_wars): complete systems, settlement Rank SS, damage report, camera and recovery fixes
This commit is contained in:
1 parent
c008243f11
commit
0995055296
78 files changed
+33840
-9525
No files matched your search
@@ -49,8 +49,11 @@ func TestLightconeSwapAndUnequipPersistAssignments(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRelicSwapUnequipAndSlotValidationPersistAssignments(t *testing.T) {
|
||||
if _, err := supportedRelicIDs(); err != nil {
|
||||
t.Fatalf("preload inventory items: %v", err)
|
||||
}
|
||||
t.Chdir(t.TempDir())
|
||||
writeEquipmentFixture(t, `{"lightcones":[],"relics":[{"relic_id":31012,"internal_uid":11,"equip_avatar":1201},{"relic_id":32012,"internal_uid":12,"equip_avatar":1202}]}`)
|
||||
writeEquipmentFixture(t, `{"lightcones":[],"relics":[{"relic_id":31012,"internal_uid":11,"equip_avatar":1201},{"relic_id":31022,"internal_uid":12,"equip_avatar":1202}]}`)
|
||||
|
||||
player := &common.FreesrData{
|
||||
Avatars: map[uint32]*common.AvatarJson{
|
||||
@@ -59,7 +62,7 @@ func TestRelicSwapUnequipAndSlotValidationPersistAssignments(t *testing.T) {
|
||||
},
|
||||
Relics: []common.Relic{
|
||||
{RelicID: 31012, InternalUID: 11, EquipAvatar: 1201},
|
||||
{RelicID: 32012, InternalUID: 12, EquipAvatar: 1202},
|
||||
{RelicID: 31022, InternalUID: 12, EquipAvatar: 1202},
|
||||
},
|
||||
}
|
||||
session := &Session{json: player}
|
||||
|
||||
Reference in new issue
Block a user