This commit is contained in:
aozhiwei 2021-05-11 14:35:46 +08:00
parent 80183f1db2
commit a4a690fe6f

View File

@ -77,6 +77,9 @@ void Bullet::OnHit(std::set<Entity*>& objects)
continue;
}
#endif
if (meta->buff_meta) {
hum->MustBeAddBuff(hum, meta->i->buffid());
}
hum->DecHP(finaly_dmg, sender.Get()->GetEntityUniId(), sender.Get()->GetName(), gun_meta->i->id());
#ifdef DEBUG
sender.Get()->SendDebugMsg(a8::Format("bullet weapon_id:%d atk:%f",