升级器解锁图鉴

This commit is contained in:
hahwu 2025-03-17 09:50:14 +08:00
parent b8146dcd8c
commit 7b61cb479a

View File

@ -741,6 +741,8 @@ func ReqUpgradeChess(player *Player, buf []byte) error {
})
return err
}
Handbook := player.PlayMod.getHandbookMod()
Handbook.SetHandbook(NewChess)
triggerComposeChess(player, NewChess, player.PlayMod.getBaseMod().EnergyMul, player.PlayMod.getChessMod().GetEmitList())
player.PlayMod.save()
player.PushClientRes(ChessMod.BackData())