1
This commit is contained in:
parent
80183f1db2
commit
a4a690fe6f
@ -77,6 +77,9 @@ void Bullet::OnHit(std::set<Entity*>& objects)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif
|
#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());
|
hum->DecHP(finaly_dmg, sender.Get()->GetEntityUniId(), sender.Get()->GetName(), gun_meta->i->id());
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
sender.Get()->SendDebugMsg(a8::Format("bullet weapon_id:%d atk:%f",
|
sender.Get()->SendDebugMsg(a8::Format("bullet weapon_id:%d atk:%f",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user