Active Ability
Types
WandAction
Link copied to clipboard
Functions
checkEnabled
Link copied to clipboard
fun checkEnabled()
Content copied to clipboard
checkState
Link copied to clipboard
fun checkState()
Content copied to clipboard
onCast
Link copied to clipboard
abstract fun onCast(event: PlayerEvent, action: ActiveAbility.WandAction, target: Any?)
Content copied to clipboard
onInitialize
Link copied to clipboard
onInterrupt
Link copied to clipboard
psychicDamage
Link copied to clipboard
fun LivingEntity.psychicDamage(damage: Damage = requireNotNull(concept.damage) { "Damage is not defined" }, knockbackLocation: Location? = esper.player.location, knockback: Double = concept.knockback)
Content copied to clipboard
psychicHeal
Link copied to clipboard
fun LivingEntity.psychicHeal(heal: EsperStatistic = requireNotNull(concept.healing) { "Healing is not defined" })
Content copied to clipboard
test
Link copied to clipboard
tryCast
Link copied to clipboard
open fun tryCast(event: PlayerEvent, action: ActiveAbility.WandAction, castingTime: Long = concept.castingTime, cost: Double = concept.cost, targeter: () -> Any?? = this.targeter): TestResult
Content copied to clipboard