TARGET (a child element of SPELL) defines the type of target that the spell or weapon aims.
TARGET supports the use of any one of the following text string as value.
- Self
- Single Ally
- Single or All Allies
- All Allies
- Single Enemy
- Single or All Enemies
- All Enemies
If TARGET is not used, the target type of any weapon is Single Enemy by default. However, skills with no TARGET becomes "passive". A passive skill cannot be used directly by the player, even though some of the effects may still be in effect.
Enemies always follow the target type specified by the value of TARGET to choose targets for the spell or weapon. However, in the case of player characters the player may override the specified target type. For example, a spell of target type Single Enemy can still be used on an ally (ie. another player character).
When a character is affected by a confusion-type spell, the target type of the skill or weapon used by the affected character may be reversed.
- <SPELL>
- <GROUP>Elemental Spells</GROUP>
- <NAME>Fire</NAME>
- <TARGET>Single Enemy</TARGET>
- ......
- </SPELL>