Trait

net.psforever.objects.vital

DamageResistanceModel

Related Doc: package vital

Permalink

trait DamageResistanceModel extends AnyRef

The functionality that is necessary for interaction of a vital game object with the rest of the game world.

A vital object can be hurt or damaged or healed or repaired (HDHR). The actual implementation of how that works is left to the specific object and its interfaces, however. The more involved values that are applied to the vital object are calculated by a series of functions that contribute different values, e.g., the value for being damaged. "Being damaged" is also not the same for all valid targets: some targets don't utilize the same kinds of values in the same way as another, and some targets utilize a different assortment of values than either of the first two examples. The damage model is a common interface for producing those values and reconciling those values with a valid target object without much fuss.

By default, nothing should do anything of substance.

Source
DamageResistanceModel.scala
See also

Vitality

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DamageResistanceModel
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistanceModel to any2stringadd[DamageResistanceModel] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DamageResistanceModel, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistanceModel to ArrowAssoc[DamageResistanceModel] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def Calculate(data: ResolvedProjectile, resolution: ballistics.ProjectileResolution.Value): Output

    Permalink

    Magic stuff.

    Magic stuff.

    data

    the historical ResolvedProjectile information

    resolution

    an explicit damage resolution overriding the one in the ResolvedProjectile object

    returns

    a function literal that encapsulates delayed modification instructions for certain objects

  7. def Calculate(data: ResolvedProjectile): Output

    Permalink

    Magic stuff.

    Magic stuff.

    data

    the historical ResolvedProjectile information

    returns

    a function literal that encapsulates delayed modification instructions for certain objects

  8. def Damage: DamageSelection

    Permalink
  9. def Damage_=(selector: DamageSelection): DamageSelection

    Permalink
  10. def Model: Form

    Permalink
  11. def Model_=(selector: Form): Form

    Permalink
  12. def Resistance: ResistanceSelection

    Permalink
  13. def Resistance_=(selector: ResistanceSelection): ResistanceSelection

    Permalink
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def ensuring(cond: (DamageResistanceModel) ⇒ Boolean, msg: ⇒ Any): DamageResistanceModel

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistanceModel to Ensuring[DamageResistanceModel] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (DamageResistanceModel) ⇒ Boolean): DamageResistanceModel

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistanceModel to Ensuring[DamageResistanceModel] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): DamageResistanceModel

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistanceModel to Ensuring[DamageResistanceModel] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): DamageResistanceModel

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistanceModel to Ensuring[DamageResistanceModel] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistanceModel to StringFormat[DamageResistanceModel] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def [B](y: B): (DamageResistanceModel, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistanceModel to ArrowAssoc[DamageResistanceModel] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DamageResistanceModel to any2stringadd[DamageResistanceModel]

Inherited by implicit conversion StringFormat from DamageResistanceModel to StringFormat[DamageResistanceModel]

Inherited by implicit conversion Ensuring from DamageResistanceModel to Ensuring[DamageResistanceModel]

Inherited by implicit conversion ArrowAssoc from DamageResistanceModel to ArrowAssoc[DamageResistanceModel]

Ungrouped