Uses of Interface
dev.twilite.game.facade.Spell
Packages that use Spell
-
Uses of Spell in dev.twilite.game.common
Methods in dev.twilite.game.common with parameters of type SpellModifier and TypeMethodDescriptionbooleanInteractionScope.castSpellOnItem(Spell spell, int target) Casts a spell on an inventory item.booleanCasts a spell on an NPC, walking tofallbackif the NPC is not available.booleanInteractionScope.castSpellOnNpc(Spell spell, Function<NpcView, Optional<Npc>> query, Coord fallback, boolean skipReachableCheck) Casts a spell on an NPC with optional local reachability checks.booleanInteractionScope.castSpellOnObject(Spell spell, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback) Casts a spell on an object, walking tofallbackif the object is not available.booleanInteractionScope.castSpellOnObject(Spell spell, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, boolean skipReachableCheck) Casts a spell on an object with optional local reachability checks.booleanInteractionScope.castSpellOnPlayer(Spell spell, Function<PlayerView, Optional<Player>> query, Coord fallback) Casts a spell on a player, walking tofallbackif the player is not available.booleanInteractionScope.castSpellOnPlayer(Spell spell, Function<PlayerView, Optional<Player>> query, Coord fallback, boolean skipReachableCheck) Casts a spell on a player with optional local reachability checks.booleanInteractionScope.castSpellOnTileItem(Spell spell, Function<TileItemView, Optional<TileItem>> query, Coord fallback) Casts a spell on a ground item, walking tofallbackif the item is not available.booleanInteractionScope.castSpellOnTileItem(Spell spell, Function<TileItemView, Optional<TileItem>> query, Coord fallback, boolean skipReachableCheck) Casts a spell on a ground item with optional local reachability checks. -
Uses of Spell in dev.twilite.game.facade
Classes in dev.twilite.game.facade that implement SpellModifier and TypeClassDescriptionstatic enumAncient spellbook spells.static enumArceuus spellbook spells.static enumLunar spellbook spells.static enumStandard spellbook spells.Methods in dev.twilite.game.facade that return SpellModifier and TypeMethodDescriptionstatic SpellMagic.autocasted()Returns the currently autocasted spell, ornullif none is selected.Methods in dev.twilite.game.facade with parameters of type SpellModifier and TypeMethodDescriptionstatic voidSelects a spell for autocasting.static booleanMagic.autocasted(Spell spell) Returns whether the supplied spell is currently selected for autocasting.static voidCasts a spell from the current spellbook interface.static voidMagic.cast(Spell spell, Interactable target) Casts a spell on an interactable target.static booleanReturns whether the player currently has the runes and level required forspell.static booleanReturns whether the supplied equipment context has the runes and level required forspell.