添加爆炸效果
This commit is contained in:
parent
a39bab2e4b
commit
7fd65b85e7
@ -151,7 +151,8 @@ void Bullet::ProcBomb()
|
||||
{
|
||||
//榴弹炮
|
||||
a8::Vec2 bomb_pos = GetPos();
|
||||
room->frame_event.AddExplosionEx(player, 0, bomb_pos, 0);
|
||||
room->frame_event.AddExplosionEx(player, meta->i->id(), bomb_pos,
|
||||
meta->i->explosion_effect());
|
||||
OnHit(objects);
|
||||
}
|
||||
break;
|
||||
|
@ -91,6 +91,7 @@ message Equip
|
||||
optional float rad2 = 37;
|
||||
optional int32 buffid = 38;
|
||||
optional int32 drop_id = 40;
|
||||
optional int32 explosion_effect = 42;
|
||||
|
||||
optional string inventory_slot = 31; //库存槽位
|
||||
optional int32 _inventory_slot = 32; //库存槽位
|
||||
|
Loading…
x
Reference in New Issue
Block a user