<abilities>
  <ability>
    <name>Low Grip</name>
    <key>low_grip</key>
    <skill>staffs</skill>
    <icon>low_grip</icon>
    <tagline>"You think yourself safe from my staff? Think again!"</tagline>
    <description>
      Shift the grasp on your staff down to one end, increasing your basic attack range by 1
      but reducing attack speed by 20.
      [p]
      Whenever you attack, ⮃+40%⮃ chance to gain [b]Movement Advantage[/b] on your next turn.
      [p]
      [b]Movement Advantage[/b] grants a free tile of movement.
    </description>
    <type>toggle</type>
    <subType>2_Abilities</subType>
    <cost>0.0</cost>
    <cooldown>3</cooldown>
    <toggleInfo>
      <actionText>
        Whenever you attack, +40% chance to gain Movement Advantage on your next turn.
      </actionText>
      <modifiers>
        <modifiers>
          <type>AttackSpeedBonus</type>
          <amount>-20.0</amount>
        </modifiers>
        <modifiers>
          <type>Range</type>
          <amount>1.0</amount>
        </modifiers>
        <modifiers>
          <type>AttackCost</type>
          <amount>5.0</amount>
        </modifiers>
      </modifiers>
      <triggers>
        <triggers>
          KEY low_grip_1;
          WHEN PlayerAttacks -> chance:0.40;
          THEN GrantMovementAdvantage -> target:player, nextTurn:true;
        </triggers>
      </triggers>
    </toggleInfo>
    <unlockInfo>
      <autoDiscover>0</autoDiscover>
      <unlockRequirements>
        <requiredPoints>2</requiredPoints>
        <requires>fluid_technique</requires>
      </unlockRequirements>
    </unlockInfo>
    <extraTexts>
      <extraTexts>
        {{upgrade_text -> ability:applied_leverage,
            text:Melee attacks more than 1 tile away gain +25% crit chance.}}
      </extraTexts>
    </extraTexts>
    <requirements>
      <requirements>
        <type>Weapon</type>
        <params>
          <params type="weapon">Staff</params>
        </params>
      </requirements>
    </requirements>
  </ability>
</abilities>
