Mark new vampire survivor cards

This commit is contained in:
Melledy
2025-11-14 19:12:23 -08:00
parent aad9a5da89
commit fe712e9d2d
9 changed files with 59 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ public class HandlerVampireSurvivorRewardChestReq extends NetHandler {
for (int cardId : chest) {
var card = CardInfo.newInstance()
.setId(cardId)
.setNew(true);
.setNew(game.isNewCard(cardId));
rsp.addChestCards(card);
}

View File

@@ -18,7 +18,7 @@ public class HandlerVampireTalentDetailReq extends NetHandler {
// Build response
var rsp = VampireTalentDetailResp.newInstance()
.setNodes(manager.getTalents().toByteArray())
.setActiveCount(manager.getTalentPoints());
.setActiveCount(manager.getProgress().getVampireCards().size());
// Encode and send
return session.encodeMsg(NetMsgId.vampire_talent_detail_succeed_ack, rsp);