<abilities>
  <ability>
    <hideHitSplash>true</hideHitSplash>
    <name>Counter Strike</name>
    <key>counter_strike</key>
    <skill>Swords</skill>
    <tagline>"The student stops at his own blade. The master expands to fill the world."</tagline>
    <description>
      Study your surrounding opponents, preparing a counter to their next attack.
      [p]If a countered enemy would deal damage to you, the damage of their attack is dealt to themselves
      instead.
      [p]Counter damage is dealt as true damage and cannot be dodged or blocked by armor.
    </description>
    <type>Target</type>
    <subType>2_Abilities</subType>
    <abilitySoundPack>blade</abilitySoundPack>
    <cost>25.0</cost>
    <cooldown>11</cooldown>
    <targetInfo>
      <type>AutoSelf</type>
      <autoSelfTargeting>
        <targetArea>
          <type>square</type>
          <allowTargets>
            <allowCreature>true</allowCreature>
            <allowEmpty>false</allowEmpty>
            <allowPlayer>false</allowPlayer>
          </allowTargets>
          <params>
            <params type="width">0</params>
            <params type="height">0</params>
            <params type="expandStat">Range</params>
          </params>
        </targetArea>
      </autoSelfTargeting>
      <usesAmmo>false</usesAmmo>
      <abilityUseTime>
        <type>standard</type>
      </abilityUseTime>
    </targetInfo>
    <unlockInfo>
      <autoDiscover>0</autoDiscover>
      <unlockRequirements>
        <requiredLevel>7</requiredLevel>
        <requiredPoints>2</requiredPoints>
      </unlockRequirements>
    </unlockInfo>
    <requirements>
      <requirements>
        <type>Weapon</type>
        <params>
          <params type="weapon">Sword</params>
        </params>
      </requirements>
    </requirements>
    <attacks>
      <attacks>
        <count>0</count>
        <debuffs>
          <debuffs>
            <turns>1</turns>
            <name>Countered</name>
            <resistedBy>PhysicalWarding</resistedBy>
            <modifiers>
              <modifiers>
                <type>IsCountered</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>
