Welcome Guest, you are in: Login

Chummer Wiki

RSS RSS

Navigation







Search the wiki
»
spells.xml (and custom_spells.xml, see Custom Data Files) contains all of the information on the Spells that are available to Magicians.

Structure

<chummer>
   <categories>
      <category />
   </categories>
   <spells>
      <spell />
   </spells>
</chummer>

categories describes the different Categories of Spells.

spell nodes describe individual Spells.

categories Node

<categories>
   <category />
</categories>

category (required): the name of the Category. This list populates the Category list found in the Select Spell window. Categories are used to group Spells into groups such as Combat and Manipulation.

spell Node

<spell>
   <id />
   <name />
   <descriptor />
   <category />
   <type />
   <range />
   <damage />
   <duration />
   <dv />
   <bonus />
   <source />
   <page />
</program>

id (required): a unique identifier (GUID) for the Spell.

name (required): the name of the Spell.

descriptor (required): the Descriptors for the Spell, such as Active, Directional.

category (required): the Category that this Spell belongs to, such as Combat or Detection. This must match one of the Categories defined in the categories Node.

type (required): the Spell's Type, typically M or P.

range (required): the Spells Range.

damage (required): the amount of Damage the Spell deals. For non-combat Spells, this value should be 0.

duration (required): the Spell's Duration.

dv (required): the Drain Value of the Spell.

bonus (optional): a bonus node that describes any bonuses this entry grants. Only selecttext entries are allowed to prompt users to select specific items like an Object or Critter. All other values are ignored. See Improvement Manager for more information.

source (required): the code for the Sourcebook that this entry comes from. See books.xml.

page (required): the page number this item can be found on in the Sourcebook.

© ChummerGen.com, 2013