undead_lich.xml

<monsters>
  <monster>
    <alignment>undead</alignment>
    <level>23</level>
    <variation>0.05</variation>
    <name>Lich</name>
    <description>
      Waves of unnatural energy emanate from this undead.
    </description>
    <key>undead_lich</key>
    <tags>undead</tags>
    <zoomImage>undead_lich</zoomImage>
    <lootTable>pocket_change</lootTable>
    <lineofsight>10</lineofsight>
    <life>220</life>
    <speed>100</speed>
    <abilities>drain_bolt</abilities>
    <behavior>
      <type>simple</type>
      <canOpenDoors>true</canOpenDoors>
      <params>
        <params type="doorCheese">0.2</params>
      </params>
    </behavior>
    <monsterSoundPack>lich</monsterSoundPack>
    <deathEffects>
      <deathEffects>
        AND DungeonIs -> key:desert_crypt;
        play_music -> music_package:desert_crypt;
      </deathEffects>
    </deathEffects>
    <modifiers>
      <modifiers>
        <type>Dodge</type>
        <amount>15.0</amount>
      </modifiers>
      <modifiers>
        <type>PhysicalResist</type>
        <amount>0.2</amount>
      </modifiers>
      <modifiers>
        <type>Protection</type>
        <amount>3.0</amount>
      </modifiers>
      <modifiers>
        <type>MinimumHexDamage</type>
        <amount>4.0</amount>
      </modifiers>
      <modifiers>
        <type>MaximumHexDamage</type>
        <amount>14.0</amount>
      </modifiers>
      <modifiers>
        <type>Accuracy</type>
        <amount>135.0</amount>
      </modifiers>
      <modifiers>
        <type>AttackSpeed</type>
        <amount>110.0</amount>
      </modifiers>
      <modifiers>
        <type>RepeatAttackChance</type>
        <amount>0.05</amount>
      </modifiers>
      <modifiers>
        <type>OnTurnHealthGain</type>
        <amount>2.0</amount>
      </modifiers>
      <modifiers>
        <type>BlightChance</type>
        <amount>0.04</amount>
      </modifiers>
      <modifiers>
        <type>BleedResist</type>
        <amount>0.25</amount>
      </modifiers>
      <modifiers>
        <type>PoisonResist</type>
        <amount>0.25</amount>
      </modifiers>
      <modifiers>
        <type>FireResist</type>
        <amount>0.75</amount>
      </modifiers>
      <modifiers>
        <type>ThunderResist</type>
        <amount>0.75</amount>
      </modifiers>
      <modifiers>
        <type>CritResist</type>
        <amount>0.5</amount>
      </modifiers>
    </modifiers>
  </monster>
</monsters>