2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 07:45:26 +00:00

Minor fixes from decomp

This commit is contained in:
2022-11-02 22:31:16 -07:00
parent 84724906a2
commit d180c253d1
4 changed files with 18 additions and 3 deletions

View File

@@ -275,6 +275,9 @@ void CChozoGhost::DoUserAnimEvent(CStateManager& mgr, const CInt32POINode& node,
LaunchProjectile(xf, mgr, 5, EProjectileAttrib::DamageFalloff | EProjectileAttrib::StaticInterference, true,
{x640_projectileVisor}, x650_sound_ProjectileVisor, false, zeus::skOne3f);
if (proj) {
if (GetProjectileInfo()->GetProjectileSpeed() > 0.f) {
proj->SetDamageFalloffSpeed(80.f / GetProjectileInfo()->GetProjectileSpeed());
}
proj->AddAttrib(EProjectileAttrib::BigStrike);
proj->SetDamageDuration(x62c_);
proj->AddAttrib(EProjectileAttrib::StaticInterference);