Skip to content

Commit

Permalink
Added recoil check for Reckless to tooltips (smogon#743)
Browse files Browse the repository at this point in the history
Added support for Jump Kick and High Jump Kick
  • Loading branch information
hvk3 authored and Zarel committed Jul 16, 2016
1 parent 23df10e commit c68fca7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/client-battle-tooltips.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ var BattleTooltips = (function () {
if ('bite' in move.flags && (myPokemon.baseAbility === 'strongjaw' || pokemon.ability === "Strong Jaw")) {
text += '<p class="movetag">&#x2713; Bite <small>(boosted by Strong Jaw)</small></p>';
}
if ((move.recoil || move.hasCustomRecoil) && (myPokemon.baseAbility === 'reckless' || pokemon.ability === "Reckless")) {
text += '<p class="movetag">&#x2713; Recoil <small>(boosted by Reckless)</small></p>';
}
if ('bullet' in move.flags) {
text += '<p class="movetag">&#x2713; Ballistic <small>(doesn\'t affect Bulletproof pokemon)</small></p>';
}
Expand Down

0 comments on commit c68fca7

Please sign in to comment.