1
This commit is contained in:
parent
c0d5174c5b
commit
0e3e53fa0a
@ -184,7 +184,11 @@ void Bullet::ProcBomb()
|
|||||||
{
|
{
|
||||||
//烟雾弹
|
//烟雾弹
|
||||||
a8::Vec2 bomb_pos = GetPos();
|
a8::Vec2 bomb_pos = GetPos();
|
||||||
room->frame_event.AddSmoke(this, meta->i->id(), bomb_pos, 1000 * 30);
|
float time_addition = 0;
|
||||||
|
if (IsCurrWeapon() && sender.Get()) {
|
||||||
|
time_addition += sender.Get()->GetAbility()->GetAttrAbs(kHAT_WeaponExplosionContinueTime);
|
||||||
|
}
|
||||||
|
room->frame_event.AddSmoke(this, meta->i->id(), bomb_pos, time_addition);
|
||||||
ProcSmokeBomb();
|
ProcSmokeBomb();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user