1
This commit is contained in:
parent
67ef21a34e
commit
00affa6a3c
@ -235,17 +235,8 @@ void Bullet::ProcBomb()
|
||||
if (sender.Get() && sender.Get()->IsHuman()) {
|
||||
sender.Get()->AsHuman()->stats.IncWeaponUseTimes(gun_meta->id(), 1);
|
||||
}
|
||||
#if 1
|
||||
AddGunBuff();
|
||||
ProcSmokeBomb();
|
||||
#else
|
||||
a8::Vec2 bomb_pos = GetPos();
|
||||
float time_addition = 0;
|
||||
if (IsCurrWeapon() && sender.Get()) {
|
||||
time_addition += sender.Get()->GetAbility()->GetAttrAbs(kHAT_WeaponExplosionContinueTime);
|
||||
}
|
||||
room->frame_event.AddSmoke(this, meta->id(), bomb_pos, time_addition);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
case IS_POSION_GAS_BOMB:
|
||||
|
Loading…
x
Reference in New Issue
Block a user