1
This commit is contained in:
parent
98891d41fd
commit
79533ff90f
@ -266,23 +266,13 @@ void Incubator::OnEnterNewWave(int wave)
|
||||
if (wave >= room->pve_mode_meta->waves.size()) {
|
||||
abort();
|
||||
}
|
||||
if ((
|
||||
if (
|
||||
room->pve_data.refreshed_mon > 0 &&
|
||||
room->pve_data.mon_num > 0 &&
|
||||
room->IsDestoryRoom()
|
||||
) ||
|
||||
(
|
||||
room->IsSurvivalRoom() &&
|
||||
room->pve_mode_meta->waves.size() == wave + 1)
|
||||
){
|
||||
room->pve_data.mon_num > 0
|
||||
) {
|
||||
timeout_ = true;
|
||||
return;
|
||||
}
|
||||
#if 0
|
||||
if (wave > 0 && room->IsSurvivalRoom()) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
if (wave + 1 < room->pve_mode_meta->waves.size()) {
|
||||
SpawnWaveMon(wave + 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user