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); GetIncubator()->Clear(5);
for (auto& pair : human_hash_) { TraverseHumanList
if (pair.second->IsAndroid() && (
!a8::HasBitFlag(pair.second->status, CS_Disable)) { [] (Human* ele_hum) -> bool
Human* hum = pair.second; {
hum->BeKill(VP_Gas, if (ele_hum->IsAndroid() &&
TEXT("battle_server_killer_gas", "毒圈"), !a8::HasBitFlag(ele_hum->status, CS_Disable)) {
VW_Gas, Human* hum = ele_hum;
VP_Gas, hum->BeKill(VP_Gas,
TEXT("battle_server_killer_gas", "毒圈")); TEXT("battle_server_killer_gas", "毒圈"),
} VW_Gas,
} VP_Gas,
TEXT("battle_server_killer_gas", "毒圈"));
}
});
xtimer.SetTimeoutEx xtimer.SetTimeoutEx
( (
1, 1,