LogoutDelay
class LogoutDelay() : Component()on_npc_option(Assets.Npc.goblin.id, "Attack") { player -> val delay = player.findComponent<LogoutDelay>() ?: LogoutDelay().also { player.addComponent(it) } delay.bump(10) target.showHitsplat("damage", 1, source = player as? Actor)}active
Section titled “active”val active: Booleanfun bump(cycles: Int)