# PSF-LoginServer - master - net.psforever.objects.vital.damage
PSF - LoginServer - master - net.psforever.objects.vital.damage
Keywords: PSF LoginServer master net.psforever.objects.vital.damage

PSF-LoginServer - master < Back


# Packages

-  package root
  Definition Classes
    root
-  package net
  Definition Classes
    root
-  package psforever
  Definition Classes
    net
-  package objects
  Definition Classes
    psforever
-  package vital
  Definition Classes
    objects
-  package base
  Definition Classes
    vital
-  package collision
  Definition Classes
    vital
-  package damage
  Definition Classes
    vital
- DamageCalculations
- DamageModifierFunctions
- DamageProfile
- GalaxyGunshipReduction
- RadialDegrade
- SameHit
- SpecificDamageProfile
- StandardDamageProfile
-  package environment
  Definition Classes
    vital
-  package etc
  Definition Classes
    vital
-  package interaction
  Definition Classes
    vital
-  package projectile
  Definition Classes
    vital
-  package prop
  Definition Classes
    vital
-  package resistance
  Definition Classes
    vital
-  package resolution
  Definition Classes
    vital

p

net.psforever.objects.vital

# damage

#### package damage


Ordering

1. Alphabetic

Visibility

1. Public
2. Protected

### Type Members

1.  trait DamageProfile extends AnyRef

   The different values for five common types of damage that can be dealt, based on target and application.

   The different values for five common types of damage that can be dealt, based on target and application. In the same way, the five damage modifiers that are applied to the same kind of damage.

2.  final case class GalaxyGunshipReduction (multiplier: Float) extends Mod with Product with Serializable

   The input value degrades (lessens) to the percentage of its original value if the target is a vehicle with no shields.

   The input value degrades (lessens) to the percentage of its original value if the target is a vehicle with no shields. Specifically used for the `galaxy_gunship`.

3.  class SpecificDamageProfile extends DamageProfile

   A static modifier for damage.

4.  trait StandardDamageProfile extends DamageProfile

   A static modifier for damage.

   A static modifier for damage. Typically considered the "raw damage" when a part of the "damage source". The value determination cascades down to the first defined one. Requesting `Damage3` returns the value for `Damage1` if `Damage3 == None` and `Damage2 == None` but `Damage1` is defined.

### Value Members

1.  object DamageCalculations

   A series of methods for extraction of the base damage against a given target type as well as incorporating damage modifiers from the other aspects of the interaction.

2.  object DamageModifierFunctions
3.  case object RadialDegrade extends Mod with Product with Serializable

   The input value degrades (lessens) the further the distance between the point of origin (target position) and the point of encounter (`hitPos`) of its vector.

   The input value degrades (lessens) the further the distance between the point of origin (target position) and the point of encounter (`hitPos`) of its vector. If the value is encountered beyond its maximum radial distance, the value is zero'd.

4.  case object SameHit extends Mod with Product with Serializable

   The input value is the same as the output value.

5.  object SpecificDamageProfile
6.  object StandardDamageProfile

### Ungrouped