神将回退bug

back_recharge
jiahuiwen 2021-12-27 16:09:56 +08:00
parent 9c998b86e6
commit 5f04e68e3d
1 changed files with 3 additions and 1 deletions

View File

@ -4108,7 +4108,9 @@ public class HeroLogic {
}
ItemUtil.itemCost(user, cost, BIReason.HERO_RETURN, hero.getTemplateId());
CommonProto.Drop.Builder drop = ItemUtil.drop(user, ItemUtil.mapToArray(dropMap), BIReason.HERO_RETURN);
ItemUtil.drop(user, ItemUtil.mapToArray(hunying), BIReason.HERO_RETURN);
if (hunying != null) {
ItemUtil.drop(user, ItemUtil.mapToArray(hunying), BIReason.HERO_RETURN);
}
hero.setLevel(1);
hero.setBreakId(0);
hero.setStar(5);