Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Contender

Hierarchy

Implements

Index

Constructors

constructor

Properties

Optional after

after: Milestone[]

Readonly id

Optional Readonly imagePath

imagePath: undefined | string

isGlobal

isGlobal: boolean = false

Whether this milestone modifier is host-exclusive, IE, clients connecting to a server can't select this modifier.

Modifiers with custom options: IGameOptions are always host-exclusive.

Readonly random

Methods

getGroup

getOptions

  • getOptions(resolve?: boolean): undefined | ({} & { milestoneModifiers?: undefined })
  • Parameters

    • Default value resolve: boolean = false

    Returns undefined | ({} & { milestoneModifiers?: undefined })

getRandom

initialize

  • initialize(): void

isEnabledForPlayer

  • isEnabledForPlayer(entity: Entity): any

uninitialize

  • uninitialize(): void

Object literals

options

options: object

player

player: object

statusEffects

statusEffects: Map<Bleeding | Poisoned | Burned, { startWith: true }> = new Map([[StatusType.Bleeding, {startWith: true,}],[StatusType.Poisoned, {startWith: true,}],[StatusType.Burned, {startWith: true,}],])

inventory

inventory: object

additionalItems

additionalItems: RandomItem[] = [new RandomItem(this.random, ItemType.Sailboat)]

Generated using TypeDoc