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:
attribute
indicates that an attribute is used as the spell's target
number, with the content of the tag defining which attribute.number
indicates that the spell has a fixed target number, with
the content of the tag indicating what number it is..objectresistance
indicates that the spell uses the object
resistance table to determine the target number. This tag is empty.other
indicates that some other method is used to determine
the spell's target number. The contents of the tag decscribe how the
target number is determined.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>