僵尸模式添加倒计时
This commit is contained in:
parent
0a1ce78fd6
commit
c72727da0c
@ -1332,6 +1332,11 @@ void Room::AirDrop(int appear_time, int box_id)
|
||||
box_id = spec_box_id;
|
||||
}
|
||||
}
|
||||
if (GetRoomMode() == kZombieMode) {
|
||||
for (auto& pair : accountid_hash_) {
|
||||
pair.second->SendShowCountdown("距离物资箱抵达还有%d秒", appear_time / 1000);
|
||||
}
|
||||
}
|
||||
if (thing_meta && thing_meta->i->type() == 2) {
|
||||
a8::Vec2 dir = a8::Vec2::UP;
|
||||
dir.Rotate(a8::RandAngle());
|
||||
|
Loading…
x
Reference in New Issue
Block a user