This commit is contained in:
aozhiwei 2021-03-11 13:57:14 +08:00
parent e06af25b29
commit df4f83fa0e

View File

@ -145,7 +145,14 @@ void RoomObstacle::UpdateTimerFunc()
); );
if (!human_list.empty()) { if (!human_list.empty()) {
for (Human* hum : human_list) { for (Human* hum : human_list) {
for (int buff_id : meta->buff_list) {
MetaData::Buff* buff_meta = MetaMgr::Instance()->GetBuff(buff_id);
if (buff_meta) {
hum->AddBuff(master,
buff_meta,
1);
}
}
} }
Explosion(); Explosion();
Die(room); Die(room);