<abilities>
  <ability>
    <hideHitSplash>true</hideHitSplash>
    <isFriendly>true</isFriendly>
    <name>Calming Touch</name>
    <key>calming_touch</key>
    <skill>nature_magic</skill>
    <color>81a57d</color>
    <icon>naturemagic_2</icon>
    <tagline>"Look to your stillness. Only then can they see their own."</tagline>
    <description>
      Touch target animal, causing them to become peaceful for 10 turns.
    </description>
    <type>Target</type>
    <subType>1_Abilities</subType>
    <abilitySoundPack>spell_calm</abilitySoundPack>
    <cost>30.0</cost>
    <cooldown>20</cooldown>
    <targetInfo>
      <type>TileSelection</type>
      <aoeTargeting>
        <selectionArea>
          <type>square</type>
          <allowTargets>
            <requiredTag>animal</requiredTag>
            <allowCreature>true</allowCreature>
            <allowEmpty>false</allowEmpty>
            <allowPlayer>false</allowPlayer>
          </allowTargets>
          <params>
            <params type="width">1</params>
            <params type="height">1</params>
          </params>
        </selectionArea>
        <targetArea>
          <type>square</type>
          <params>
            <params type="width">0</params>
            <params type="height">0</params>
          </params>
        </targetArea>
        <fromCenter>true</fromCenter>
      </aoeTargeting>
      <usesAmmo>false</usesAmmo>
      <abilityUseTime>
        <type>standard</type>
      </abilityUseTime>
    </targetInfo>
    <unlockInfo>
      <autoUnlock>-1</autoUnlock>
      <autoDiscover>0</autoDiscover>
      <unlockRequirements>
        <requiredLevel>0</requiredLevel>
        <requiredPoints>1</requiredPoints>
      </unlockRequirements>
    </unlockInfo>
    <requirements>
      <requirements>
        <type>HasStat</type>
        <params>
          <params type="key">EnaliaAttunement</params>
          <params type="amount">1</params>
        </params>
      </requirements>
    </requirements>
    <attacks>
      <attacks>
        <count>0</count>
        <animation>calming</animation>
        <debuffs>
          <debuffs>
            <turns>10</turns>
            <name>At Peace</name>
            <resistedBy>MagicWarding</resistedBy>
            <modifiers>
              <modifiers>
                <type>IsPeaceful</type>
                <amount>1.0</amount>
              </modifiers>
            </modifiers>
          </debuffs>
        </debuffs>
        <specialModifiers>
          <specialModifiers>
            <type>EffectsOnly</type>
            <amount>0</amount>
          </specialModifiers>
          <specialModifiers>
            <type>NonPhysical</type>
            <amount>0</amount>
          </specialModifiers>
        </specialModifiers>
      </attacks>
    </attacks>
  </ability>
</abilities>
