Skip to content

AttackOption

enum class AttackOption
Example
on_login { player ->
val attack = player.findComponent<AttackSettings>() ?: return@on_login
attack.players = AttackOption.HIDDEN
attack.npcs = AttackOption.RIGHT_CLICK
}
DEPENDS_ON_COMBAT_LEVEL
RIGHT_CLICK
LEFT_CLICK
HIDDEN