friendly_hawk.xml
<monsters>
<monster>
<bones>bones_small</bones>
<alignment>player</alignment>
<level>6</level>
<canSteal>false</canSteal>
<name>Friendly Hawk</name>
<description>
A loyal friend who will fight to the death to protect its master.
</description>
<key>friendly_hawk</key>
<tags>animal, bramble_immune, summoned_animal</tags>
<zoomImage>hawk_friendly</zoomImage>
<lootTable>nothing</lootTable>
<lineofsight>14</lineofsight>
<life>70</life>
<speed>120</speed>
<behavior>
<type>Summon</type>
<canOpenDoors>false</canOpenDoors>
<params>
<params type="MinimumTurns">80</params>
<params type="MaximumTurns">80</params>
<params type="Bonus">NatureMagicSummonDuration</params>
</params>
</behavior>
<monsterSoundPack>bird</monsterSoundPack>
<deathEffects>
<deathEffects>
RemoveStatusEffect -> key:hawk_summoning_cost, target:player, maximum:1;
</deathEffects>
<deathEffects>
AND HasStatusEffect -> key:bonded_animal;
THEN RemoveStatusEffect -> key:bond_formed, target:player;
</deathEffects>
</deathEffects>
<modifiers>
<modifiers>
<type>AttackSpeed</type>
<amount>80.0</amount>
</modifiers>
<modifiers>
<type>MinimumDamage</type>
<amount>8.0</amount>
</modifiers>
<modifiers>
<type>MaximumDamage</type>
<amount>16.0</amount>
</modifiers>
<modifiers>
<type>Dodge</type>
<amount>12.0</amount>
</modifiers>
<modifiers>
<type>RetreatChance</type>
<amount>0.35</amount>
</modifiers>
<modifiers>
<type>Accuracy</type>
<amount>90.0</amount>
</modifiers>
<modifiers>
<type>CritChance</type>
<amount>0.15</amount>
</modifiers>
<modifiers>
<type>CritDamage</type>
<amount>0.75</amount>
</modifiers>
<modifiers>
<type>IgnoreTraps</type>
<amount>1.0</amount>
</modifiers>
<modifiers>
<type>IsFlying</type>
<amount>1.0</amount>
</modifiers>
</modifiers>
</monster>
</monsters>