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

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
- DamageModifiers
- DamageReason
- DamageResolution
- DamageType
-  package collision
  Definition Classes
    vital
-  package damage
  Definition Classes
    vital
-  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

# base

#### package base


Ordering

1. Alphabetic

Visibility

1. Public
2. Protected

### Type Members

1.  trait DamageModifiers extends AnyRef

   Adjustments performed on the subsequent manipulations of the "base damage" value of an attack vector (like a projectile).
   Unlike static damage modifications which are structured like other `DamageProfiles` and offer purely additive or subtractive effects on the base damage, these modifiers should focus on unstructured, scaled manipulation of the value.

   Adjustments performed on the subsequent manipulations of the "base damage" value of an attack vector (like a projectile).
   Unlike static damage modifications which are structured like other `DamageProfiles` and offer purely additive or subtractive effects on the base damage, these modifiers should focus on unstructured, scaled manipulation of the value. The most common modifiers change the damage value based on distance between two points, called "degrading". The list of modifiers must be allocated in a single attempt, overriding previously-set modifiers.

   See also

     `DamageCalculations.WithModifiers`

     `DamageModifiers.Mod`

     `DamageProfile`

2.  trait DamageReason extends AnyRef

   A wrapper for ambiguity of the "damage source" in damage calculations.

   A wrapper for ambiguity of the "damage source" in damage calculations. The base reason does not convey any specific requirements in regards to the interaction being described.

### Value Members

1.  object DamageModifiers
2.  object DamageResolution extends Enumeration

   An `Enumeration` of outcomes regarding what actually happened to the damage, complementing normal damage type distinction in directing damage calculations.
   Although some of the earlier states reflect what sort of damage might perform - `Hit`, `Splash`, etc.

   An `Enumeration` of outcomes regarding what actually happened to the damage, complementing normal damage type distinction in directing damage calculations.
   Although some of the earlier states reflect what sort of damage might perform - `Hit`, `Splash`, etc. - this state is more a communication about how that damage is interpreted by the server. For example, some projectiles: perform `Direct` damage, are reported by `HitMessage` packets, and resolve as `Hit`; or, perform `Direct` damage, are reported by `LashDamage` packets, and resolve as `Lash`. Furthermore, some projectiles: perform `Splash` damage, are reported by `SplashHitMessage` packets, and resolve as `Splash`; or, perform `Aggravated` damage, are reported by `SplashHitMessage` packets and resolve either as `AggravatedDirect` or as `AggravatedSplash`.

3.  object DamageType extends Enumeration

   An `Enumeration` of the damage types not only distinguishing damage being inflicted but, more importantly, what kind of resistance is brought to bare against that damage.

   An `Enumeration` of the damage types not only distinguishing damage being inflicted but, more importantly, what kind of resistance is brought to bare against that damage. For additional types exclusive to aggravation, refer to `Aura`.

### Ungrouped