case object SpikerChargeDamage extends Mod with Product with Serializable
If the projectile has charging properties, and the weapon that produced the projectile has charging mechanics, calculate the current value of the damage as a sum of some minimum damage and scaled normal damage. The projectile quality has information about the "factor" of damage scaling.
- Source
- ProjectileDamageModifierFunctions.scala
- See also
ChargeDamage
ChargeFireModeDefinition
ProjectileQuality
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SpikerChargeDamage
- Serializable
- Product
- Equals
- Mod
- Mod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def calculate(damage: Int, data: DamageInteraction, cause: ProjectileReason): Int
- Definition Classes
- SpikerChargeDamage → Mod
- def calculate(damage: Int, data: DamageInteraction, cause: DamageReason): Int
- final def calculate(damage: Int, data: DamageInteraction): Int
Perform the underlying calculations, returning a modified value from the input value.
Perform the underlying calculations, returning a modified value from the input value.
- Definition Classes
- Mod
- 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()
- 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()
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()