Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a type of effect - like poison - that can be applied to an entity.
Methods
get
static "get"(identifier: string): EffectType | undefined
Effect type for the given identifier.
Parameters
identifier: string
The identifier for the effect.
Returns EffectType | undefined - Effect type for the given identifier or undefined if the effect does not exist.
Notes:
- This function can't be called in read-only mode.
getAll
static getAll(): EffectType[]
Gets all effects.
Returns EffectType[] - A list of all effects.
Notes:
- This function can't be called in read-only mode.