This commit is contained in:
xinian
2026-04-05 07:30:55 +08:00
committed by cnb
parent 2ee0cbc094
commit 7ec6381cf1
3 changed files with 26 additions and 4 deletions

View File

@@ -101,7 +101,11 @@ func Initfile() {
})
PetMAP = utils.ToMap[PetInfo, int](getXml[Monsters](path+"226.xml").Monsters, func(m PetInfo) int {
pets := getXml[Monsters](path + "226.xml").Monsters
for i := range pets {
pets[i].YieldingEVValues = parseYieldingEV(pets[i].YieldingEV)
}
PetMAP = utils.ToMap[PetInfo, int](pets, func(m PetInfo) int {
return m.ID
})