This commit is contained in:
aozhiwei 2022-10-17 18:02:52 +08:00
parent 1af9968a5f
commit 39d5bd082f

View File

@ -286,9 +286,13 @@ void InternalShot(Creature* c,
return;
}
}
#if 1
c->room->frame_event.AddShot(c->GetWeakPtrRef());
#else
if (skill_meta || weapon_meta->i->equip_type() == EQUIP_TYPE_THROW) {
c->room->frame_event.AddShot(c->GetWeakPtrRef());
}
#endif
int invincible_buff_uniid = 0;
if (weapon_meta->lock_time > 0) {
int buff_uniid = c->TryAddBuff(c, kVertigoBuffId);