undead_skeleton_bow.xml

<monsters>
  <monster>
    <range>1</range>
    <bones>bones_medium</bones>
    <alignment>undead</alignment>
    <level>17</level>
    <traits>-armor, -dodge, bloodless, critchance</traits>
    <variation>0.03</variation>
    <name>Skeletal Archer</name>
    <description>
      Somehow, this collection of bones can still shoot a bow.
    </description>
    <key>undead_skeleton_bow</key>
    <zoomImage>undead_skeleton_bow_fired</zoomImage>
    <spriteAttack>undead_skeleton_bow</spriteAttack>
    <lootTable>undead_skeleton_bow</lootTable>
    <lineofsight>7</lineofsight>
    <life>120</life>
    <speed>92</speed>
    <defaultAttackName>sword</defaultAttackName>
    <abilities>skeleton_bow_fire_hard, skeleton_bow_fire</abilities>
    <behavior>
      <type>simple</type>
      <canOpenDoors>true</canOpenDoors>
      <params>
        <params type="stepBackChance">0.08</params>
        <params type="preferredDistance">2</params>
        <params type="preferredDistanceStepBackChance">0.15</params>
        <params type="doorCheese">0.30</params>
      </params>
    </behavior>
    <monsterSoundPack>skeleton_bow_soundpack</monsterSoundPack>
    <modifiers>
      <modifiers>
        <type>Dodge</type>
        <amount>25.0</amount>
      </modifiers>
      <modifiers>
        <type>PhysicalResist</type>
        <amount>0.5</amount>
      </modifiers>
      <modifiers>
        <type>Protection</type>
        <amount>5.0</amount>
      </modifiers>
      <modifiers>
        <type>MinimumDamage</type>
        <amount>5.0</amount>
      </modifiers>
      <modifiers>
        <type>MaximumDamage</type>
        <amount>18.0</amount>
      </modifiers>
      <modifiers>
        <type>CritChance</type>
        <amount>0.12</amount>
      </modifiers>
      <modifiers>
        <type>CritDamage</type>
        <amount>0.25</amount>
      </modifiers>
      <modifiers>
        <type>ArmorPen</type>
        <amount>0.12</amount>
      </modifiers>
      <modifiers>
        <type>Accuracy</type>
        <amount>150.0</amount>
      </modifiers>
      <modifiers>
        <type>RepeatAttackChance</type>
        <amount>0.1</amount>
      </modifiers>
      <modifiers>
        <type>PoisonChance</type>
        <amount>0.025</amount>
      </modifiers>
      <modifiers>
        <type>AttackSpeed</type>
        <amount>90.0</amount>
      </modifiers>
      <modifiers>
        <type>BleedResist</type>
        <amount>5.0</amount>
      </modifiers>
      <modifiers>
        <type>PoisonResist</type>
        <amount>5.0</amount>
      </modifiers>
    </modifiers>
  </monster>
</monsters>