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.
- Source
- DamageCalculations.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DamageCalculations
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Selector = (DamageProfile) => Int
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def AgainstAircraft(profile: DamageProfile): Int
- def AgainstBfr(profile: DamageProfile): Int
- def AgainstExoSuit(profile: DamageProfile): Int
- def AgainstMaxSuit(profile: DamageProfile): Int
- def AgainstNothing(profile: DamageProfile): Int
- def AgainstVehicle(profile: DamageProfile): Int
- def Raw(selector: (DamageProfile) => Int, data: DamageInteraction): Int
Get the damage value.
Get the damage value.
- selector
the function that recovers the damage value
- data
na
- returns
the raw damage value
- def WithModifiers(selector: (DamageProfile) => Int, data: DamageInteraction): Int
Get the damage value after it has been modified by context-related operations.
Get the damage value after it has been modified by context-related operations. Used as the default modifier function for
DamageResistanceCalculations
.- selector
the function that recovers the damage value
- data
the interaction being processed
- returns
the accumulated damage value
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()