This commit is contained in:
aozhiwei 2021-04-27 11:46:15 +08:00
commit 734473ad4c
2 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,9 @@ void InternalShot(Creature* c,
return; 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) { for (auto& tuple : weapon_meta->bullet_born_offset) {
a8::Vec2 bullet_born_offset = a8::Vec2(std::get<0>(tuple), std::get<1>(tuple)); 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)); bullet_born_offset.Rotate(c->attack_dir.CalcAngle(a8::Vec2::UP));

View File

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