This commit is contained in:
aozhiwei 2022-10-26 09:52:03 +08:00
parent 5d2688d268
commit f973e53374

View File

@ -1271,7 +1271,7 @@ void Buff::ProcCallFunc()
if (weapon_meta) { if (weapon_meta) {
for (int i = 0; i < 6; ++i) { for (int i = 0; i < 6; ++i) {
a8::Vec2 bullet_dir = a8::Vec2::UP; a8::Vec2 bullet_dir = a8::Vec2::UP;
bullet_dir.Rotate(60 * i); bullet_dir.Rotate(60 * i / 180.f);
a8::Vec2 bullet_born_pos = owner->GetPos() + bullet_dir * 20; a8::Vec2 bullet_born_pos = owner->GetPos() + bullet_dir * 20;
int bullet_uniid = owner->room->AllocUniid(); int bullet_uniid = owner->room->AllocUniid();
owner->room->frame_event.AddBullet owner->room->frame_event.AddBullet