This commit is contained in:
aozhiwei 2022-10-11 10:25:48 +08:00
parent f9c023560c
commit d3796daa49
3 changed files with 5 additions and 0 deletions

View File

@ -1022,6 +1022,7 @@ void Buff::ProcMachineGun()
owner->room->xtimer.ModifyTimer
(remover_timer,
skill_meta->number_meta->float_time * 1000 / FRAME_RATE_MS);
}
break;
default:

View File

@ -405,6 +405,9 @@ void InternalShot(Creature* c,
}
#endif
InternalCreateBullet(bullet_info);
if (bullet_info.skill_meta && bullet_info.skill_meta->number_meta) {
}
}
}
c->GetTrigger()->Shot(weapon_meta);

View File

@ -35,6 +35,7 @@ enum EventId_e
kEndSwitchWeaponBuffEvent,
kStartFlyHookEvent,
kEndFlyHookEvent,
kSkillBulletCreateEvent,
};
class Weapon;