A Proposal for a Shadowrun XML Standard

spelltarget

root/spelldeflist/spelldef/spelltarget
Back

Namespace:
Filename:

Content: attribute (Type: attributetype) | number (Type: byte) | objectresistance (Type: empty) | other (Type: string)

Description: The spelltarget tag defines the target number of a spell. Only one of the following sub-tags is allowed per spell:


Code Fragment

<xs:elementtype name="spelltarget">
  <xs:model>
    <xs:choice>
      <xs:element type="attributetype" name="attribute"/>
      <xs:element type="xs:byte" name="number"/>
      <xs:element name="objectresistance">
        <xs:complexType>
          <xs:complexContent />
        </xs:complexType>
      </xs:element>
      <xs:element type="xs:string" name="other"/>
    </xs:choice>
  </xs:model>
</xs:elementtype>