final case class TriggerUsedReason(user: PlayerSource, item_guid: PlanetSideGUID) extends DamageReason with Product with Serializable
A wrapper for a "damage source" in damage calculations
that parameterizes information necessary to explain a BoomerDeployable
being detonated
using its complementary trigger.
Should be applied as the reason applied to the Boomer
in DamageInteractions
that lead up to the Boomer exploding
which will carry the trigger as the reason and the user as the culprit.
Due to faction affiliation complicity between the user and the Boomer, however,
normal Damageable
functionality would have to interject in a way where the trigger works anyway.
- user
the player who is holding the trigger
- item_guid
the trigger
- Source
- TriggerUsedReason.scala
- See also
BoomerDeployable
BoomerTrigger
DamageCalculations
VitalityDefinition.DamageableByFriendlyFire
- Alphabetic
- By Inheritance
- TriggerUsedReason
- Serializable
- Product
- Equals
- DamageReason
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TriggerUsedReason(user: PlayerSource, item_guid: PlanetSideGUID)
- user
the player who is holding the trigger
- item_guid
the trigger
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 adversary: Option[SourceEntry]
lay the blame on the player who caused this explosion to occur
lay the blame on the player who caused this explosion to occur
- Definition Classes
- TriggerUsedReason → DamageReason
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attribution: Int
while weird, the trigger was accredited as the method of death on Gemini Live; even though its icon looks like an misshapen AMS
while weird, the trigger was accredited as the method of death on Gemini Live; even though its icon looks like an misshapen AMS
- returns
defaults to 0
- Definition Classes
- TriggerUsedReason → DamageReason
- def calculate(data: DamageInteraction, dtype: base.DamageType.Value): Output
Perform the modified damage value and the basic resistance value allocations to be used against a given valid target.
Perform the modified damage value and the basic resistance value allocations to be used against a given valid target.
- data
the damaging interaction to be evaluated
- dtype
custom damage property for resistance allocation
- returns
an application function that takes a target and returns a result
- Definition Classes
- DamageReason
- def calculate(data: DamageInteraction): Output
Perform the modified damage value and the basic resistance value allocations to be used against a given valid target.
Perform the modified damage value and the basic resistance value allocations to be used against a given valid target.
- data
the damaging interaction to be evaluated
- returns
an application function that takes a target and returns a result
- Definition Classes
- DamageReason
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def damageModel: DamageAndResistance
The functionality that is necessary for interaction of a vital game object with the rest of the hostile game world.
The functionality that is necessary for interaction of a vital game object with the rest of the hostile game world.
- Definition Classes
- TriggerUsedReason → DamageReason
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- val item_guid: PlanetSideGUID
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- def resolution: base.DamageResolution.Value
An indication about how the damage was or will be processed.
An indication about how the damage was or will be processed.
- Definition Classes
- TriggerUsedReason → DamageReason
- def same(test: DamageReason): Boolean
Determine whether two damage sources are equivalent.
Determine whether two damage sources are equivalent.
- test
the damage source to compare against
- returns
true
, if equivalent;false
, otherwise
- Definition Classes
- TriggerUsedReason → DamageReason
- def source: DamageProperties
A direct connection to the damage information, numbers and properties.
A direct connection to the damage information, numbers and properties.
- Definition Classes
- TriggerUsedReason → DamageReason
- def staticModifiers: List[DamageProfile]
Modifiers to the raw/modified damage value that are additive in nature.
Modifiers to the raw/modified damage value that are additive in nature. These modifiers use a selector function to extract the damage value from the profile, a process required to acquire the raw damage value, outlined elsewhere.
- returns
a list of modifications to apply (in order)
- Definition Classes
- DamageReason
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def unstructuredModifiers: List[Mod]
Modifiers to the raw/modified damage value that are multiplicative or provide disjoint modification.
Modifiers to the raw/modified damage value that are multiplicative or provide disjoint modification.
- returns
a list of modifications to apply (in order)
- Definition Classes
- DamageReason
- val user: PlayerSource
- 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()