public virtual void BlowBack(Vector3 direction, float magnitude, float coolDownTime) { ApplyFreezeFrames(5); if (hasHoverArmor && hovering) { return; } hovering = false; //targetVelocityX = (direction.normalized * magnitude * weightFactor).x; velocity = (direction.normalized * magnitude * weightFactor); //hat.currentThrowCount = 999; GetStunned(coolDownTime); if (hat.isCurrentlyAttached) { hat.BlowBack(-direction, magnitude * weightFactor * 0.0125f / 1.5f); //what % of player blow back is applied to the hat } //v.Vibrate (10f, 10f, 0.25f); hat.DisableRepeatedClickAbility(); }