forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
SlotSelectSpell
JasperLorelai edited this page May 19, 2024
·
6 revisions
spell-class: ".targeted.SlotSelectSpell"
Value | Supported |
---|---|
entity |
true |
location |
false |
entity_from_location |
false |
This is a targeted spell that forces the target to select the slot configured by the options below.
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Options | Description | Type | Default |
---|---|---|---|
ignore-slot-bounds |
This spell will send errors in the console if the bounds of slots are not respected. This property can be set to true for the error to be ignored. | Boolean | false |
slot |
This property can be a pure integer of the slot, or it can be a string - a variable name. If it's a variable, the spell will set the selected slot to the target's value of the variable. | Integer for the slot, Variable name, or String expression |