high_grip.xml

<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, increasing speed but reducing damage.
      [p]⮃+30 Attack Speed⮃
      [n]⮃-2 Attack Energy Cost⮃
      [n]-40% Damage
    </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:«LINK: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) for each hit\, up to 10 stacks.}}
      </extraTexts>
      <extraTexts>
        {{upgrade_text -> ability:swift_economy,
            text:Melee weapon abilities cost 20% less Energy.}}
      </extraTexts>
    </extraTexts>
    <requirements>
      <requirements>
        <type>Weapon</type>
        <params>
          <params type="weapon">Mace</params>
        </params>
      </requirements>
    </requirements>
  </ability>
</abilities>