This commit is contained in:
aozhiwei 2022-08-29 14:33:38 +08:00
parent ff6ad94b13
commit 6973bf987f
2 changed files with 8 additions and 2 deletions

View File

@ -291,7 +291,7 @@ void Incubator::SpawnWaveMon(int wave)
for (int i = 0; i < content->enemys.size(); ++i) {
room->xtimer.AddDeadLineTimerAndAttach
(
room->IsDestoryRoom() ? 0 : SERVER_FRAME_RATE * 2,
i == 0 ? 0 : 1000 / FRAME_RATE_MS,
a8::XParams()
.SetSender(this)
.SetParam1(content)

View File

@ -1659,7 +1659,13 @@ namespace MetaData
void PveGeminiContent::Init()
{
{
std::vector<std::string> strings;
a8::Split(pb->enemy_id(), strings, '|');
for (auto& str : strings) {
enemys.push_back(a8::XValue(str));
}
}
}
void PveGeminiMode::Init()