|
|
Active (or on-use) spells can be cast in a variety of ways depending on how you configure them.
|
|
|
|
|
|
_Not all casting methods are implemented yet_
|
|
|
|
|
|
[[_TOC_]]
|
|
|
|
|
|
# Casting Spells
|
|
|
## by Command
|
|
|
Any active learned spell can be cast by using the `/cast` command as long as the player has permission to use the command.
|
|
|
|
|
|
While not the fastest way to cast, it's the most basic and does not require any skill binding.
|
|
|
|
|
|
## Quickcasting
|
|
|
Spells can be configured to be castable via a quickcast bar that can be quickly toggled on by hitting certain keys (the `SwapItem` key by default).
|
|
|
|
|
|
This allows players to quickly cast certain spells they've bound to the quickcast bar by tapping F and then the number of the binding, which will cast the spell that is bound to that slot if one is present.
|
|
|
|
|
|
Players can bind spells for quickcasting by opening the [Spellbook](Spellbook) (`/spellbook`) and right-clicking a usable spell, which will open the binding window.
|
|
|
|
|
|
### Quickcast Options
|
|
|
Quickcasting can be configured to work in a variety of ways inside the `config-spells.yml` config file.
|
|
|
|
|
|
Planned types are:
|
|
|
- `CAST_BAR` - Player taps the number of a binding to cast that spell
|
|
|
- `CLICK_COMBO` - Player performs a click-combo to cast a certain spell.
|
|
|
|
|
|
#### Cast Bar
|
|
|
The cast bar can be configured with up to 8 different spells (the maximum). When the castbar is toggled on, the player simply taps the corresponding button to cast the spell
|
|
|
|
|
|
If configured to show spells in the `ITEMS` slot, spell icons will appear overlayed in the player's hotbar.
|
|
|
|
|
|
If configured to show spells in the `ACTION_BAR` slot, spell icons will appear as an action bar message using unicode icons.
|
|
|
|
|
|
#### Click Combos
|
|
|
_coming soon_
|
|
|
|
|
|
## Spellbook
|
|
|
Active spells can be cast from the spellbook directly, which is a special menu opened using the `/spellbook` command.
|
|
|
|
|
|
When the spellbook is open, left-clicking a spell will cause the player to cast it.
|
|
|
|
|
|
## Wands
|
|
|
_coming soon_ |