Interface IStatusDescription
Properties
applicability
Optional
effects
Optional
highlight
Optional
icon
Optional
interval
interval
?: SupplierOr<undefined | number, [default]>
Optional
levelledDictionary
Optional
listedLevels
listedLevels?: number[]
Optional
particles
Optional
relevantStat
Optional
renderer
Optional
sound
Optional
threatLevel
Methods
Optional
getDamageRange
- getDamageRange(status: default): undefined | IRange
-
Returns undefined | IRange
Optional
getLevel
- getLevel(status: default, entityStatusLevel: number): undefined | number
-
Parameters
-
-
entityStatusLevel: number
Returns undefined | number
Optional
getPassChance
- getPassChance(status: default): undefined | number
-
Returns undefined | number
Optional
isActive
- isActive(status: default): undefined | boolean
-
Returns undefined | boolean
Optional
onAdd
- onAdd(status: default): any
-
Returns any
Optional
onPassed
- onPassed(status: default, oldLevel: number): any
-
Returns any
Optional
onRemove
- onRemove(status: default, oldLevel: number, reason: StatusChangeReason): any
-
Returns any
Optional
onTreated
- onTreated(status: default, oldLevel: number): any
-
Returns any
Optional
shouldPass
- shouldPass(status: default): undefined | boolean
-
Returns undefined | boolean
An optional list of status effect levels that will be displayed in the
StatusInspection
for inspecting the status type itself