Skip to content

Commit

Permalink
Satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
shrianshChari committed Apr 13, 2024
1 parent 7a43fbd commit 9b817c8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/js/shared_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,12 +536,11 @@ $(".move-selector").change(function () {
moveHits = 10;
} else if (pokemon.find('.ability').val() === 'Skill Link') {
moveHits = 5;
}
else if (pokemon.find(".item").val() === 'Loaded Dice') {
} else if (pokemon.find(".item").val() === 'Loaded Dice') {
moveHits = 4;
}

moveGroupObj.children(".move-hits").val(moveHits)
moveGroupObj.children(".move-hits").val(moveHits);
} else if (dropsStats) {
moveGroupObj.children(".move-hits").hide();
moveGroupObj.children(".stat-drops").show();
Expand All @@ -568,8 +567,7 @@ $(".item").change(function () {
moveHits = 10;
} else if ($(this).closest(".poke-info").find(".ability").val() === 'Skill Link') {
moveHits = 5;
}
else if (itemName === 'Loaded Dice') {
} else if (itemName === 'Loaded Dice') {
moveHits = 4;
}

Expand Down

0 comments on commit 9b817c8

Please sign in to comment.