Definition Type Element
Name npc-dead-point
Abstract False
MinOccurs 0
MaxOccurs (1)
Documentation Definition of where the program can look to determine if an NPC Icon should be considered "dead" or not.  If not defined then the "dead-point" clause will be used for NPCs as well as PCs.
XSD Schema Character Sheet Definition.xsd
XSD Schema Diagram
XSD Schema Code
<xs:element minOccurs="0" name="npc-dead-point" >
  <xs:annotation>
    <xs:documentation>Definition of where the program can look to determine if an NPC Icon should be considered &quot;dead&quot; or not.  If not defined then the &quot;dead-point&quot; clause will be used for NPCs as well as PCs.</xs:documentation>
  </xs:annotation>

  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="1" name="field" type="xs:string">
        <xs:annotation>
          <xs:documentation>The ID of the field to compare against.  This is required.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="value" type="xs:string">
        <xs:annotation>
          <xs:documentation>The literal value to compare the value of &quot;field&quot; against.  Depending on whether hit points count up or down, if the data contained in &quot;field&quot; is either below or above this value, the Icon will be considered to be &quot;dead.&quot;

Instead of a literal value, you can use the &quot;compare&quot; clauses instead of a literal for more flexibility.
</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" maxOccurs="1" name="compare-field" type="xs:string">
        <xs:annotation>
          <xs:documentation>The ID of a field to compare against.

Instead of using a literal &quot;value,&quot; you can specify a &quot;compare-field&quot; and &quot;compare-multiplier.&quot;

If you do this, then the value of the &quot;compare-field&quot; will be multiplied by the &quot;compare-multiplier.&quot;  The result of this calculation will be compared to the value of &quot;field.&quot;  If the result of this calculation is below or above (depending on which way hit points count) the value contained in &quot;field,&quot; the Icon will be considered &quot;dead.&quot;
</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" maxOccurs="1" name="compare-multiplier" type="xs:double">
        <xs:annotation>
          <xs:documentation>A multiplier to apply to the value of the &quot;compare-field&quot; to retrieve a percentage scale at which point an Icon will be considered &quot;dead.&quot;</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" maxOccurs="unbounded" name="modifiers">
        <xs:annotation>
          <xs:documentation>A list of field IDs whose values can modify another field's value.</xs:documentation>
        </xs:annotation>

        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" maxOccurs="unbounded" name="modifier" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of a field whose contents will directly modify the value of the associated field.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" maxOccurs="unbounded" name="modifier-positive" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of a field which contains data whose absolute value will positively modify the value of the associated field.</xs:documentation>
              </xs:annotation>

            </xs:element>

            <xs:element minOccurs="0" maxOccurs="unbounded" name="modifier-negative" type="xs:string">
              <xs:annotation>
                <xs:documentation>The ID of a field which contains data whose absolute value will negatively modify the value of the associated field.</xs:documentation>
              </xs:annotation>

            </xs:element>

          </xs:sequence>

        </xs:complexType>

      </xs:element>

    </xs:sequence>

  </xs:complexType>

</xs:element>
Child Elements
Name Type Min Occurs Max Occurs
Derivation Tree
[No Sub Types]
npc-dead-point
    [No Super Types]
Generated using Liquid XML Studio by Liquid Technologies Ltd