<abilities>
  <ability>
    <name>Shield Bash</name>
    <key>shield_bash</key>
    <skill>warrapt</skill>
    <icon>shield_bash</icon>
    <tagline>"Get out of my way!"</tagline>
    <description>
      Shield bash target enemy, dealing 5-10 damage with 100% knockback chance and a ⮃50% chance to stun⮃.
      [p]Damage is increased by ⮃+1 per protection⮃ on your character.
    </description>
    <type>Target</type>
    <subType>4_shield_specialization</subType>
    <abilitySoundPack>bash</abilitySoundPack>
    <cost>10.0</cost>
    <cooldown>20</cooldown>
    <targetInfo>
      <type>TileSelection</type>
      <aoeTargeting>
        <selectionArea>
          <type>square</type>
          <allowTargets>
            <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>
      </aoeTargeting>
      <abilityUseTime>
        <type>standard</type>
      </abilityUseTime>
    </targetInfo>
    <unlockInfo>
      <autoDiscover>0</autoDiscover>
      <unlockRequirements>
        <requiredPoints>2</requiredPoints>
      </unlockRequirements>
    </unlockInfo>
    <requirements>
      <requirements>
        <type>Weapon</type>
        <params>
          <params type="weapon">Shield</params>
        </params>
      </requirements>
    </requirements>
    <attacks>
      <attacks>
        <count>0</count>
        <modifiers>
          <modifiers>
            <type>MinimumDamage</type>
            <amount>5.0</amount>
          </modifiers>
          <modifiers>
            <type>MinimumDamage</type>
            <amount>1.0</amount>
            <multiplierStat>Protection</multiplierStat>
          </modifiers>
          <modifiers>
            <type>MaximumDamage</type>
            <amount>10.0</amount>
          </modifiers>
          <modifiers>
            <type>MaximumDamage</type>
            <amount>1.0</amount>
            <multiplierStat>Protection</multiplierStat>
          </modifiers>
          <modifiers>
            <type>KnockbackChance</type>
            <amount>1.0</amount>
          </modifiers>
          <modifiers>
            <type>KnockbackMagnitude</type>
            <amount>1.0</amount>
          </modifiers>
          <modifiers>
            <type>StunChance</type>
            <amount>0.5</amount>
          </modifiers>
        </modifiers>
        <specialModifiers>
          <specialModifiers>
            <type>ModifiersOnly</type>
            <amount>0</amount>
          </specialModifiers>
          <specialModifiers>
            <type>AlwaysHit</type>
            <amount>0</amount>
          </specialModifiers>
        </specialModifiers>
      </attacks>
    </attacks>
  </ability>
</abilities>
