Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

twine / AbilityOpts

Interface: AbilityOpts โ€‹

Defined in: twine/src/boss/builder.ts:34

One boss attack. The framework handles cooldown and selection; body runs as and at the boss.

Properties โ€‹

body โ€‹

body: BossBody

Defined in: twine/src/boss/builder.ts:39


cooldown โ€‹

cooldown: number

Defined in: twine/src/boss/builder.ts:36

Ticks before this ability can be picked again.


weight? โ€‹

optional weight?: number

Defined in: twine/src/boss/builder.ts:38

Relative likelihood against the other off-cooldown abilities. Default 1.

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.