1
This commit is contained in:
parent
164a0b0a3d
commit
d90a60a00f
@ -226,6 +226,9 @@ void Bullet::ProcBomb()
|
|||||||
case IS_C4:
|
case IS_C4:
|
||||||
{
|
{
|
||||||
//c4
|
//c4
|
||||||
|
if (block) {
|
||||||
|
delay_time = gun_meta->i->missiles_time();
|
||||||
|
}
|
||||||
ProcC4Bomb(c4_target, delay_time);
|
ProcC4Bomb(c4_target, delay_time);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -537,6 +540,7 @@ void Bullet::ProcC4Bomb(Car* target, int delay_time)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
task->explosion_range = GetExplosionRange();
|
||||||
task->gun_meta = gun_meta;
|
task->gun_meta = gun_meta;
|
||||||
task->meta = meta;
|
task->meta = meta;
|
||||||
task->atk = GetAtk();
|
task->atk = GetAtk();
|
||||||
|
@ -211,6 +211,7 @@ void RoomObstacle::SpecExplosion()
|
|||||||
[this, &target_list, &bomb_pos] (Creature* c, bool& stop)
|
[this, &target_list, &bomb_pos] (Creature* c, bool& stop)
|
||||||
{
|
{
|
||||||
if (master.Get()->team_id != c->team_id &&
|
if (master.Get()->team_id != c->team_id &&
|
||||||
|
!c->dead &&
|
||||||
bomb_pos.Distance(c->GetPos()) < meta->i->damage_dia()) {
|
bomb_pos.Distance(c->GetPos()) < meta->i->damage_dia()) {
|
||||||
target_list.insert(c);
|
target_list.insert(c);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user