<abilities>
  <ability>
    <name>High Grip</name>
    <key>high_grip</key>
    <skill>maces</skill>
    <icon>high_grip</icon>
    <tagline>"With power such as mine, a full swing is wasted on the likes of you."</tagline>
    <description>
      Shift the grasp on your mace further towards the head, reducing damage by 40% but increasing
      attack speed by ⮃30⮃ and reducing attack energy cost by ⮃2⮃.
    </description>
    <type>toggle</type>
    <subType>2_Abilities</subType>
    <cost>0.0</cost>
    <cooldown>2</cooldown>
    <toggleInfo>
      <modifiers>
        <modifiers>
          <type>AttackSpeedBonus</type>
          <amount>30.0</amount>
        </modifiers>
        <modifiers>
          <type>damage</type>
          <amount>-0.4</amount>
        </modifiers>
        <modifiers>
          <type>AttackCost</type>
          <amount>-2.0</amount>
        </modifiers>
      </modifiers>
      <offEffects>
        <offEffects>
          ModifyGlobalFlag -> global_flag:blurring_speed_stacks, operation:set, amount:0;
          RemoveStatusEffect -> key:blurring_speed_status;
        </offEffects>
      </offEffects>
      <onEffects>
        <onEffects>
          ModifyGlobalFlag -> global_flag:blurring_speed_stacks, operation:set, amount:0;
        </onEffects>
      </onEffects>
    </toggleInfo>
    <unlockInfo>
      <autoDiscover>0</autoDiscover>
      <unlockRequirements>
        <requiredPoints>3</requiredPoints>
        <requires>bake_and_shake</requires>
      </unlockRequirements>
    </unlockInfo>
    <extraTexts>
      <extraTexts>
        {{upgrade_text -> ability:blurring_speed,
            text:Gain 1 stack of Blurring Speed (+3 dodge) per hit\, up to 10 stacks.}}
      </extraTexts>
      <extraTexts>
        {{upgrade_text -> ability:swift_economy,
            text:-20% melee ability energy cost reduction.}}
      </extraTexts>
    </extraTexts>
    <requirements>
      <requirements>
        <type>Weapon</type>
        <params>
          <params type="weapon">Mace</params>
        </params>
      </requirements>
    </requirements>
  </ability>
</abilities>
