4.空袭,挂服务器
This commit is contained in:
parent
31c1c73ec7
commit
62b560e3bf
@ -183,14 +183,16 @@ void RoomObstacle::SpecExplosion()
|
|||||||
bomb_born_offset.Rotate(a8::RandAngle());
|
bomb_born_offset.Rotate(a8::RandAngle());
|
||||||
bomb_born_offset = bomb_born_offset * a8::RandEx(1, std::max(2, meta->i->explosion_float()));
|
bomb_born_offset = bomb_born_offset * a8::RandEx(1, std::max(2, meta->i->explosion_float()));
|
||||||
a8::Vec2 bomb_pos = GetPos() + bomb_born_offset;
|
a8::Vec2 bomb_pos = GetPos() + bomb_born_offset;
|
||||||
Explosion explosion;
|
if (room->grid_service->CanAdd(bomb_pos.x, bomb_pos.y)) {
|
||||||
explosion.IndifferenceAttack(
|
Explosion explosion;
|
||||||
room,
|
explosion.IndifferenceAttack(
|
||||||
bomb_pos,
|
room,
|
||||||
meta->i->damage_dia(),
|
bomb_pos,
|
||||||
meta->i->explosion_effect(),
|
meta->i->damage_dia(),
|
||||||
meta->i->damage()
|
meta->i->explosion_effect(),
|
||||||
);
|
meta->i->damage()
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (explosion_times_ >= meta->i->explosion_times()) {
|
if (explosion_times_ >= meta->i->explosion_times()) {
|
||||||
room->xtimer.DeleteTimer(room->xtimer.GetRunningTimer());
|
room->xtimer.DeleteTimer(room->xtimer.GetRunningTimer());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user