Definition Type Element
Name modify-on-roll
Abstract False
MinOccurs 0
MaxOccurs unbounded
Documentation This clause instructs the program where to look to determine what fields should have their contents modified when this expression is evaluated.
XSD Schema Character Sheet Definition.xsd
XSD Schema Diagram
XSD Schema Code
<xs:element minOccurs="0" maxOccurs="unbounded" name="modify-on-roll" >
  <xs:annotation>
    <xs:documentation>This clause instructs the program where to look to determine what fields should have their contents modified when this expression is evaluated.</xs:documentation>
  </xs:annotation>

  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" name="memorized" type="xs:string">
        <xs:annotation>
          <xs:documentation>The ID of the field where the program can find information about the number of this expression that is available.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="cost" type="xs:string">
        <xs:annotation>
          <xs:documentation>The ID of the field where the program can find the &quot;cost&quot; of evaluating this expression.  This &quot;cost&quot; will be deducted from the value contained in the &quot;memorized&quot; field.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="cost-value" type="xs:string">
        <xs:annotation>
          <xs:documentation>A literal value for &quot;cost&quot; that is always used instead of a value contained in the character sheet data.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="compare-from" type="xs:string">
        <xs:annotation>
          <xs:documentation>The ID of a field where the program can find comparison information.

For availablity that does not rely on a particular number of the expression being &quot;memorized,&quot; this value refers to a &quot;pool&quot; of resources from which multiple expressions can draw.
</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="compare-to" type="xs:string">
        <xs:annotation>
          <xs:documentation>The ID of a field which contains data that must match data contained in the &quot;compare-from&quot; field.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="modify-field" type="xs:string">
        <xs:annotation>
          <xs:documentation>The ID of the field to be modified.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" default="false" name="can-cast-up" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Flag that indicates whether modification fails if there are no matching data available.

Essentially, this covers the instance where the user can elect to use a slot where he has data available in exchange for a slot where he does not.
</xs:documentation>
        </xs:annotation>

      </xs:element>

    </xs:sequence>

  </xs:complexType>

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