1
This commit is contained in:
parent
245277a7be
commit
d09da157b0
@ -91,6 +91,7 @@ void PveData::OnBeKill(Hero* hero)
|
||||
});
|
||||
}
|
||||
if (room->IsDestoryRoom()) {
|
||||
if (GetWave() + 1 < max_wave) {
|
||||
if (GetWave() < room->pve_mode_meta->next_door.size()) {
|
||||
a8::Vec2 point = room->pve_mode_meta->next_door[room->pve_data.GetWave()];
|
||||
#if 0
|
||||
@ -98,12 +99,15 @@ void PveData::OnBeKill(Hero* hero)
|
||||
#endif
|
||||
FlyDoor(room, point, 50);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (GetWave() + 1 < max_wave) {
|
||||
room->GetIncubator()->NextWave();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void PveData::FlyDoor(Room* room, a8::Vec2& point, int radius)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user