添加毒品圈判断
This commit is contained in:
parent
97920b847e
commit
4f9da03f43
@ -2154,7 +2154,7 @@ void Room::ProcDieAndroid(int die_time, int die_num)
|
||||
alive_humans_copy.erase(alive_humans_copy.begin() + i);
|
||||
break;
|
||||
}
|
||||
if (killer && (rand() % 100 < 70)) {
|
||||
if (killer && ((rand() % 100 < 70) || !gas_data.old_area_meta)) {
|
||||
hum->BeKill(killer->entity_uniid,
|
||||
killer->name,
|
||||
killer->curr_weapon->weapon_id);
|
||||
@ -2174,7 +2174,7 @@ void Room::ProcDieAndroid(int die_time, int die_num)
|
||||
++dead_num;
|
||||
break;
|
||||
}
|
||||
} while(++try_count < 40 && dead_num < die_num && !alive_humans.empty());
|
||||
} while(++try_count < 10 && dead_num < die_num && !alive_humans.empty());
|
||||
}
|
||||
|
||||
void Room::CheckAutoDie(Human* target,
|
||||
|
Loading…
x
Reference in New Issue
Block a user