root/rpgcharacter/powers/power
Back
Namespace:
Filename:
Content: ( refid (type: string) | name (type: string) ), value (type: int) ?, initial (type: int) ?, initialcost (type: float) ?, additionalcost (type: float) ?, variation (type: string) *
Description: The advantage
tag describes one of the
character's advantages, disadvantages, racial abilities, racial drawbacks, etc.
refid
references the definition of the basic power. This tag is
used in cases where a given game system has defined standard data describing
the powers used by that game system. This data (usually held in a database)
is referenced by this tag, preventing the need for full details of the standard
power being stored with the character.name
describes the name of the power. Generally, a given
game system will standardize the values allowed in this tag, but these
are not enforced by this standard. This tag is used in place of the
refid
tag and is only used in cases where there is no externally
referenced data describing powers.value
describes the level, value or rating of the power, if any.initial
describes the initial value of the power when the
character was first created. This information may be irrelivant to some
game systems and may be omitted in those cases.initialcost
records the initial character development cost of
this attribute, if any.additionalcost
records the the number of "improvement points"
(e.g. XP, Legend Points, Karma, Character Points) that have been used to raise
this power since character creation, if any.variation
describes any power variations, proficiencies or
maneuvers learned along with this power. A power my have zero or more
variations.Code Fragment
<xs:complexType name="power">
<xs:sequence>
<xs:choice>
<xs:element type="xs:string" name="refid"/>
<xs:element type="xs:string" name="name"/>
</xs:choice>
<xs:element type="xs:int" name="value"/>
<xs:element type="xs:int" name="initial" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:float" name="initialcost" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:float" name="additionalcost" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="variation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>