Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/game/shared/tf/tf_weapon_grenade_pipebomb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,9 @@ void CTFGrenadePipebombProjectile::PipebombTouch( CBaseEntity *pOther )
float flDistanceSq = (pOther->GetAbsOrigin() - pAttacker->GetAbsOrigin()).LengthSqr();
float flImpactDamage = RemapValClamped( flDistanceSq, 512 * 512, 1024 * 1024, 50, 25 );

// Scale impact damage with damage attribute
CALL_ATTRIB_HOOK_FLOAT_ON_OTHER( m_hLauncher, flImpactDamage, mult_dmg );

CTakeDamageInfo info( this, pAttacker, m_hLauncher, vec3_origin, vOrigin, flImpactDamage, GetDamageType(), TF_DMG_CUSTOM_CANNONBALL_PUSH );
pOther->TakeDamage( info );

Expand Down