CFlaahgra: Fix stun issues

This commit is contained in:
Luke Street 2020-08-24 01:58:30 -04:00
parent fb1c2b95a2
commit a0e1864312
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ void CFlaahgra::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateM
if (!IsDizzy(mgr, 0.f) && x450_bodyController->HasBodyState(pas::EAnimationState::LoopReaction)) { if (!IsDizzy(mgr, 0.f) && x450_bodyController->HasBodyState(pas::EAnimationState::LoopReaction)) {
TakeDamage({}, 0.f); 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)); x450_bodyController->GetCommandMgr().DeliverCmd(CBCLoopHitReactionCmd(pas::EReactionType::One));
} else if (uid == x80c_headActor && } else if (uid == x80c_headActor &&
(proj->GetDamageInfo().GetWeaponMode().IsCharged() || (proj->GetDamageInfo().GetWeaponMode().IsCharged() ||