踏碎凌霄战斗

back_recharge
xuexinpeng 2021-04-28 01:19:28 +08:00
parent 697f129301
commit 8264a1e0ad
1 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,9 @@ public class TasuilingxiaoHandler extends BaseHandler<ActivityProto.Tasuilingxia
//输
double lessBlood = 0.0;
if (checkResult[0] == 1){
if(checkResult[0]==-1){
throw new ErrorCodeException(ErrorCode.FIGHT_EXCEPTION);
}else if (checkResult[0] == 1){
lessBlood = bossBlood;
}else {
// 输 checkResult第三位开始为血量下标0开始