package damage
- Alphabetic
- Public
- Protected
Type Members
- 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.
- 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
. - class SpecificDamageProfile extends DamageProfile
A static modifier for damage.
- 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 forDamage1
ifDamage3 == None
andDamage2 == None
butDamage1
is defined.
Value Members
- 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.
- object DamageModifierFunctions
- 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. - case object SameHit extends Mod with Product with Serializable
The input value is the same as the output value.
- object SpecificDamageProfile
- object StandardDamageProfile