<?xml version="1.0" encoding="UTF-8" ?>
<oakxmlfile>
  <struct name="damage_definition">
    <short_enum name="type">
      <member text="NONE" value="-1" />
      <member text="Explosion" value="0" />
      <member text="Magical" value="1" />
      <member text="Holding" value="2" />
      <member text="Healing" value="3" />
      <member text="Kinetic" value="4" />
      <member text="Slashing Metal" value="5" />
      <member text="Stoning" value="6" />
      <member text="Slashing Claws" value="7" />
      <member text="Explosive Electricity" value="8" />
      <member text="Fire" value="9" />
      <member text="Gas" value="10" />
      <member text="Charm" value="11" />
    </short_enum>
    <short name="flags" />
    <short_fixed name="damage_lower_bound" />
    <short_fixed name="damage_delta" lower_bound="damage_lower_bound" />
    <short_world name="radius_lower_bound" />
    <short_world name="radius_delta" lower_bound="radius_lower_bound" />
    <short_world name="rate_of_expansion" />
    <short_fixed name="damage_to_velocity" />
  </struct>
  <structedit struct="damage_definition">
    <frame layout="horizontal">
      <frame align="right" text=""> <!-- left column -->
        <frame layout="horizontal">
          <label text="Type:"/>
          <item target="type"/>
        </frame>
        <frame layout="horizontal">
          <label text="Damage:"/>
          <item target="damage_lower_bound"/>
          <label text="to"/>
          <item target="damage_delta"/>
        </frame>
        <frame layout="horizontal">
          <label text="Radius:"/>
          <item target="radius_lower_bound"/>
          <label text="to"/>
          <item target="radius_delta"/>
        </frame>
        <frame layout="horizontal">
          <label text="Rate of Expansion:"/>
          <item target="rate_of_expansion"/>
        </frame>
        <frame layout="horizontal">
          <label text="Damage to Velocity:"/>
          <item target="damage_to_velocity"/>
        </frame>
      </frame>
      <frame align="left" text="Damage Flags"> <!-- right column-->
        <item target="flags" text="Proportional to Velocity" bit="0" />
        <item target="flags" text="Area of Effect" bit="1" />
        <item target="flags" text="Does Not Interrupt Events" bit="2" />
        <!--<item target="flas" text="Damage Is Long Range" bit="3" /> -->
        <item target="flags" text="Cannot Be Healed" bit="7" />
        <item target="flags" text="Can Cause Paralysis" bit="4" />
        <item target="flags" text="Can Stun" bit="5" />
        <item target="flags" text="Cannot be Blocked" bit="6" />
        <item target="flags" text="Does Not Affect Monsters" bit="8" />
        <item target="flags" text="Detonates Explosive Immediately" bit="9" />
        <item target="flags" text="Proportional to Mana" bit="10" />
        <item target="flags" text="Can Destroy Large Objects" bit="11" />
        <item target="flags" text="Instantaneous" bit="12" />
        <item target="flags" text="Cannot Hurt Owner" bit="13" />
        <item target="flags" text="Does Not Make Monsters Flinch" bit="14" />
        <item target="flags" text="Can Cause Confusion" bit="15" />
      </frame>
    </frame>
  </structedit>
</oakxmlfile>