<abilities>
  <ability>
    <hideHitSplash>true</hideHitSplash>
    <name>Bond</name>
    <key>bond</key>
    <skill>nature_magic</skill>
    <icon>naturemagic_10</icon>
    <tagline>"United in spirit, our connection transcends the physical realm."</tagline>
    <description>
      Form a bond with target summoned animal.
      [p]Bonded creatures never vanish and have +0.5 health recovery per turn.
      [p]A maximum of one creature can be bonded at a time.
    </description>
    <type>Target</type>
    <subType>3_Animal Bonds</subType>
    <abilitySoundPack>spell_calm</abilitySoundPack>
    <cost>15.0</cost>
    <cooldown>0</cooldown>
    <targetInfo>
      <type>TileSelection</type>
      <aoeTargeting>
        <selectionArea>
          <type>square</type>
          <allowTargets>
            <requiredTag>summoned_animal</requiredTag>
            <allowCreature>true</allowCreature>
            <allowEmpty>false</allowEmpty>
            <allowPlayer>false</allowPlayer>
          </allowTargets>
          <params>
            <params type="width">4</params>
            <params type="height">4</params>
          </params>
        </selectionArea>
        <targetArea>
          <type>square</type>
          <params>
            <params type="width">0</params>
            <params type="height">0</params>
          </params>
        </targetArea>
      </aoeTargeting>
      <usesAmmo>false</usesAmmo>
      <abilityUseTime>
        <type>standard</type>
      </abilityUseTime>
    </targetInfo>
    <unlockInfo>
      <autoDiscover>0</autoDiscover>
      <unlockRequirements>
        <requiredLevel>3</requiredLevel>
        <requiredPoints>2</requiredPoints>
      </unlockRequirements>
    </unlockInfo>
    <requirements>
      <requirements>
        <type>status_effect_not_active</type>
        <params>
          <params type="status_key">bond_formed</params>
          <params type="status_name">Bond</params>
        </params>
      </requirements>
    </requirements>
    <attacks>
      <attacks>
        <count>0</count>
        <animation>calming</animation>
        <specialModifiers>
          <specialModifiers>
            <type>EffectsOnly</type>
            <amount>0</amount>
          </specialModifiers>
          <specialModifiers>
            <type>NonAggressive</type>
            <amount>0</amount>
          </specialModifiers>
          <specialModifiers>
            <type>NonPhysical</type>
            <amount>0</amount>
          </specialModifiers>
        </specialModifiers>
        <targetEffects>
          <targetEffects>
            apply_status_effect -> key:bonded_animal;
          </targetEffects>
        </targetEffects>
        <selfEffects>
          <selfEffects>
            apply_status_effect -> key:bond_formed;
          </selfEffects>
        </selfEffects>
      </attacks>
    </attacks>
  </ability>
</abilities>
