寻宝:设置情谊助战的时候会把整队都设成情谊的
This commit is contained in:
@@ -236,8 +236,10 @@ export class ComBattleHandler {
|
|||||||
return resResult(STATUS.COM_BATTLE_ASSIST_NOT_ENOUGH);
|
return resResult(STATUS.COM_BATTLE_ASSIST_NOT_ENOUGH);
|
||||||
}
|
}
|
||||||
teamStatus.roleStatus.forEach(async st => {
|
teamStatus.roleStatus.forEach(async st => {
|
||||||
st.isFrd = isFrd;
|
if(st.roleId == roleId) {
|
||||||
await ComBattleTeamModel.updateRoleStFrd(teamCode, roleId, isFrd);
|
st.isFrd = isFrd;
|
||||||
|
await ComBattleTeamModel.updateRoleStFrd(teamCode, roleId, isFrd);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
return resResult(STATUS.SUCCESS, { teamCode, isFrd });
|
return resResult(STATUS.SUCCESS, { teamCode, isFrd });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user