寻宝:boss已死时报错
This commit is contained in:
@@ -473,7 +473,7 @@ export class ComBattleHandler {
|
||||
if (teamStatus.status !== COM_TEAM_STATUS.FIGHTING) return resResult(STATUS.COM_BATTLE_NOT_START);
|
||||
for (let st of teamStatus.roleStatus) {
|
||||
if (st.roleId === roleId && (!st.heroes || st.heroes.length === 0)) {
|
||||
return resResult(STATUS.COM_BATTLE_HEROES_ERR);
|
||||
return resResult(STATUS.SUCCESS);
|
||||
}
|
||||
}
|
||||
// 重置总血量,计算真实伤害
|
||||
|
||||
Reference in New Issue
Block a user