This commit is contained in:
aozhiwei 2024-02-02 17:26:21 +08:00
parent b24c5768fa
commit af84f142b1

View File

@ -3396,17 +3396,20 @@ void Room::GMFastForward()
}
});
GetIncubator()->Clear(5);
for (auto& pair : human_hash_) {
if (pair.second->IsAndroid() &&
!a8::HasBitFlag(pair.second->status, CS_Disable)) {
Human* hum = pair.second;
hum->BeKill(VP_Gas,
TEXT("battle_server_killer_gas", "毒圈"),
VW_Gas,
VP_Gas,
TEXT("battle_server_killer_gas", "毒圈"));
}
}
TraverseHumanList
(
[] (Human* ele_hum) -> bool
{
if (ele_hum->IsAndroid() &&
!a8::HasBitFlag(ele_hum->status, CS_Disable)) {
Human* hum = ele_hum;
hum->BeKill(VP_Gas,
TEXT("battle_server_killer_gas", "毒圈"),
VW_Gas,
VP_Gas,
TEXT("battle_server_killer_gas", "毒圈"));
}
});
xtimer.SetTimeoutEx
(
1,