Skip to content

Commit 3118780

Browse files
authored
max range balls deal +50% damage
1 parent d49067a commit 3118780

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

game/shared/tf/tf_weapon_bat.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,7 @@ void CTFStunBall::ApplyBallImpactEffectOnVictim( CBaseEntity *pOther )
735735
flStunDuration += 2.0; // Extra two seconds of effect time if we're a critical hit.
736736
int iStunFlags = TF_STUN_MOVEMENT;
737737

738-
bool bOldStun = tf_scout_stunball_old_stun.GetBool();
739-
if ( bOldStun )
738+
if ( tf_scout_stunball_old_stun.GetBool() )
740739
{
741740
if ( flLifeTimeRatio >= 1.f )
742741
{
@@ -761,7 +760,7 @@ void CTFStunBall::ApplyBallImpactEffectOnVictim( CBaseEntity *pOther )
761760
}
762761
else if ( flLifeTimeRatio >= 0.8f )
763762
{
764-
flDamage *= 2;
763+
flDamage *= 1.5;
765764
flStunDuration += 1.0;
766765
iStunFlags |= TF_STUN_SPECIAL_SOUND;
767766
CTF_GameStats.Event_PlayerStunBall( pOwner, false );

0 commit comments

Comments
 (0)