<abilities>
  <ability>
    <name>Wall Jump</name>
    <key>wall_jump</key>
    <skill>athletics</skill>
    <icon>wall_jump</icon>
    <tagline>"When your back's to the wall, don't wait for death."</tagline>
    <description>
      If adjacent to a wall, jump up to {{stat -> key:JumpRangeBoost, add:3, pluralize:tile}} perpendicular to that wall.
      [p]Upon landing, gain +15 move speed for 5 turns.
      [p]This ability is very fast, taking only 25 time.
    </description>
    <type>Target</type>
    <cost>25.0</cost>
    <cooldown>12</cooldown>
    <targetInfo>
      <type>TileSelection</type>
      <aoeTargeting>
        <selectionArea>
          <type>cross</type>
          <allowTargets>
            <allowCreature>false</allowCreature>
            <allowEmpty>true</allowEmpty>
            <allowPlayer>false</allowPlayer>
          </allowTargets>
          <params>
            <params type="thickness">1</params>
            <params type="length">3</params>
            <params type="requiresAdjacentWall">true</params>
            <params type="expandStat">JumpRangeBoost</params>
          </params>
        </selectionArea>
        <targetArea>
          <type>square</type>
          <params>
            <params type="width">0</params>
            <params type="height">0</params>
          </params>
        </targetArea>
      </aoeTargeting>
      <usesAmmo>false</usesAmmo>
      <xpGain>
        <skill>athletics</skill>
        <amount>5.0</amount>
        <amountToDisplay>0.0</amountToDisplay>
      </xpGain>
      <abilityUseTime>
        <type>override</type>
        <overrideTime>25</overrideTime>
      </abilityUseTime>
      <isJump>true</isJump>
      <effects>
        <effect>
          ApplyStatusEffect -> key:wall_jump_status, target:player;
        </effect>
      </effects>
      <jumpEffects>
        <jumpEffect>
          ShowAnimation -> key:dustring;
          PlaySound -> key:dash;
        </jumpEffect>
      </jumpEffects>
    </targetInfo>
    <unlockInfo>
      <autoUnlock>-1</autoUnlock>
      <autoDiscover>0</autoDiscover>
      <unlockRequirements>
        <requiredPoints>2</requiredPoints>
        <requires>situational_awareness AND aerialist</requires>
      </unlockRequirements>
    </unlockInfo>
    <requirements>
      <requirements>
        <type>AdjacentWall</type>
      </requirements>
      <requirements>
        <type>MobilityEnabled</type>
      </requirements>
    </requirements>
  </ability>
</abilities>
