神将分解返回礼物

master_ob2
PC-202302260912\Administrator 2023-09-26 10:47:35 +08:00
parent 58bf6f0375
commit c5d92afaf4
1 changed files with 5 additions and 0 deletions

View File

@ -4418,6 +4418,11 @@ public class HeroLogic {
}
hero.setFaxiang(faxiangList);
}
// 礼物装备
Set<Integer> giftEquipList = hero.getHeroGiftEquipList();
if (giftEquipList != null && !giftEquipList.isEmpty()) {
giftEquipList.forEach(v -> returnItemMap.put(v, returnItemMap.getOrDefault(v, 0) + 1));
}
}
int breakId = hero.getBreakId();
int templateId = hero.getTemplateId();