This commit is contained in:
aozhiwei 2021-04-27 11:45:58 +08:00
commit 55e0450bfa
3 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,9 @@ void InternalShot(Creature* c,
return;
}
}
c->room->frame_event.AddShot(c);
if (skill_id == 0) {
c->room->frame_event.AddShot(c);
}
for (auto& tuple : weapon_meta->bullet_born_offset) {
a8::Vec2 bullet_born_offset = a8::Vec2(std::get<0>(tuple), std::get<1>(tuple));
bullet_born_offset.Rotate(c->attack_dir.CalcAngle(a8::Vec2::UP));

View File

@ -2195,6 +2195,7 @@ void Room::NotifyGameStart()
buff_meta,
1,
nullptr);
#endif
}
}
}

@ -1 +1 @@
Subproject commit 2b5f0d3b41e764d61181089b95c4fa568b1e1942
Subproject commit 8b6410826da2c0c667abdacadae6d7c00f70300d