forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 69
Valid Target List
JasperLorelai edited this page Jan 18, 2025
·
9 revisions
With this version, you can use either the string-based or list-based target lists.
This version should contain target elements separated by a comma in a string/text form.
can-target: element1,element2,element3
This version should contain target elements in a YAML string list.
can-target:
- element1
- element2
- element3
# same as
can-target: [element1,element2,element3]
-
self
orcaster
-
player
orplayers
-
invisible
orinvisibles
-
nonplayer
ornonplayers
-
monster
ormonsters
-
animal
oranimals
-
mount
ormounts
-
rider
,riders
,passenger
orpassengers
-
castermount
orselfmount
-
casterpassenger
orselfpassenger
-
entitytarget
ormobtarget
-
markerstand
,markerstands
,markerarmorstand
, ormarkerarmorstands
- Since 4.0 Beta 16. - Entity Type
-
Entity Type Tags - Since 4.0 Beta 16. Must start with
#
(e.g.#undead
). -
Game Mode - Since 4.0 Beta 14. When listed, players in that game mode will be valid targets for these spells. This does not change the behaviour of the
player
/players
options, which still only allow players in adventure and survival.