Hierarchy

Constructors

Properties

effectiveTemperature: Temperature = Temperature.Neutral
event: IEventEmitter<default, IStatusEvents>

Accessors

  • get context(): default
  • Returns default

  • get description(): undefined | IStatusDescription
  • Returns undefined | IStatusDescription

Methods

  • Parameters

    • reason: StatusChangeReason = StatusChangeReason.Gained
    • level: number = 1
    • force: boolean = false
    • oldLevel: number = ...

    Returns default

  • Creates particle events from the 2-value tuple provided.

    Particle tuple parameters:

    Parameters

    • __namedParameters: [number, IRGB] | [0] = ...

    Returns void

  • Parameters

    • damage: number
    • deathMessage: default
    • Optional blood: boolean

    Returns undefined | number

  • Returns number

  • Returns boolean

  • Parameters

    Returns void

  • Event handler for when the status effect passes.

    Parameters

    • level: number

    Returns void

  • Event handler for every tick that the human has the status effect.

    Returns void

  • Returns void

  • Returns void

  • Whether the status effect should pass (be removed from the human).

    Returns boolean

  • Parameters

    Returns void

Generated using TypeDoc