void CPlayerDamageTimeProxy::OnBind( void *pArg )
{
	C_BaseEntity *pEntity = BindArgToEntity( pArg );

	// NOTE: Player health max is not available on the server...
	C_BaseTFPlayer* pPlayer = dynamic_cast<C_BaseTFPlayer*>(pEntity);
	if (!pPlayer)
	{
		SetFloatResult( 10000 * m_Factor.GetFloat() );
		return;
	}

	Assert( m_pResult );
	float dt = gpGlobals->curtime - pPlayer->GetLastDamageTime();
	SetFloatResult( dt * m_Factor.GetFloat() );
}