mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 18:24:55 +00:00
CFlaahgra: Fix stun issues
This commit is contained in:
@@ -195,7 +195,7 @@ void CFlaahgra::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateM
|
||||
if (!IsDizzy(mgr, 0.f) && x450_bodyController->HasBodyState(pas::EAnimationState::LoopReaction)) {
|
||||
TakeDamage({}, 0.f);
|
||||
|
||||
if ((x56c_data.x140_ - proj->GetDamageInfo().GetDamage()) >= x810_) {
|
||||
if (x56c_data.x140_ - proj->GetDamageInfo().GetDamage() <= x810_) {
|
||||
x450_bodyController->GetCommandMgr().DeliverCmd(CBCLoopHitReactionCmd(pas::EReactionType::One));
|
||||
} else if (uid == x80c_headActor &&
|
||||
(proj->GetDamageInfo().GetWeaponMode().IsCharged() ||
|
||||
|
||||
Reference in New Issue
Block a user