Skip to content

Commit

Permalink
base stat fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TerraPrograms committed Feb 4, 2024
1 parent c1982bd commit 3e65b25
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 18 deletions.
6 changes: 3 additions & 3 deletions calc/src/data/species.ts
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ const GSC_PATCH: {[name: string]: DeepPartial<SpeciesData>} = {
},
Azumarill: {
types: ['Water'],
bs: {hp: 100, at: 65, df: 80, sa: 50, sd: 80, sp: 50},
bs: {hp: 100, at: 50, df: 80, sa: 60, sd: 80, sp: 50},
weightkg: 28.5,
},
Bayleef: {
Expand Down Expand Up @@ -5027,7 +5027,7 @@ const XY_PATCH: {[name: string]: DeepPartial<SpeciesData>} = {
Altaria: {otherFormes: ['Altaria-Mega']},
Ampharos: {bs: {df: 85}, otherFormes: ['Ampharos-Mega']},
Audino: {otherFormes: ['Audino-Mega']},
Azumarill: {types: ['Water', 'Fairy'], bs: {sa: 90}},
Azumarill: {types: ['Water', 'Fairy']},
Azurill: {types: ['Normal', 'Fairy']},
Banette: {otherFormes: ['Banette-Mega']},
Beautifly: {bs: {sa: 100}},
Expand Down Expand Up @@ -5275,7 +5275,7 @@ const XY_PATCH: {[name: string]: DeepPartial<SpeciesData>} = {
},
Diggersby: {
types: ['Normal', 'Ground'],
bs: {hp: 85, at: 71, df: 77, sa: 50, sd: 77, sp: 78},
bs: {hp: 85, at: 56, df: 77, sa: 50, sd: 77, sp: 78},
weightkg: 42.4,
abilities: {0: 'Pickup'},
},
Expand Down
2 changes: 1 addition & 1 deletion data/species.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/calc/data/species.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/calc/data/species.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/honkalculate.html
Original file line number Diff line number Diff line change
Expand Up @@ -882,8 +882,8 @@
</script>
<script type="text/javascript" src="./calc/util.js?8fa0c7ff"></script>
<script type="text/javascript" src="./calc/stats.js?9220179f"></script>
<script type="text/javascript" src="./calc/data/species.js?6662185c"></script>
<script type="text/javascript" src="./js/data/sets/gen9.js?43d2e31a"></script>
<script type="text/javascript" src="./calc/data/species.js?8d733abe"></script>
<script type="text/javascript" src="./js/data/sets/gen9.js?650f1d63"></script>
<script type="text/javascript" src="./js/data/sets/gen8.js?ecf43658"></script>
<script type="text/javascript" src="./js/data/sets/gen7.js?78168bde"></script>
<script type="text/javascript" src="./js/data/sets/gen6.js?2219279f"></script>
Expand Down Expand Up @@ -913,7 +913,7 @@
<script type="text/javascript" src="./calc/result.js?d5c7552b"></script>
<script type="text/javascript" src="./calc/adaptable.js?afeb3759"></script>
<script type="text/javascript" src="./calc/index.js?2377cbc8"></script>
<script type="text/javascript" src="./js/shared_controls.js?492fea5e"></script>
<script type="text/javascript" src="./js/shared_controls.js?08aec273"></script>
<script type="text/javascript" src="./js/honkalculate_controls.js?23c996e5"></script>

<div style="clear:both;padding:20px;text-align:left">Created by Honko, maintained by Austin and Kris
Expand Down
6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1668,8 +1668,8 @@ <h5>OHKO Colors</h5>
</script>
<script type="text/javascript" src="./calc/util.js?8fa0c7ff"></script>
<script type="text/javascript" src="./calc/stats.js?9220179f"></script>
<script type="text/javascript" src="./calc/data/species.js?6662185c"></script>
<script type="text/javascript" src="./js/data/sets/gen9.js?43d2e31a"></script>
<script type="text/javascript" src="./calc/data/species.js?8d733abe"></script>
<script type="text/javascript" src="./js/data/sets/gen9.js?650f1d63"></script>
<script type="text/javascript" src="./js/data/sets/gen8.js?ecf43658"></script>
<script type="text/javascript" src="./js/data/sets/gen7.js?78168bde"></script>
<script type="text/javascript" src="./js/data/sets/gen6.js?2219279f"></script>
Expand Down Expand Up @@ -1699,7 +1699,7 @@ <h5>OHKO Colors</h5>
<script type="text/javascript" src="./calc/result.js?d5c7552b"></script>
<script type="text/javascript" src="./calc/adaptable.js?afeb3759"></script>
<script type="text/javascript" src="./calc/index.js?2377cbc8"></script>
<script type="text/javascript" src="./js/shared_controls.js?492fea5e"></script>
<script type="text/javascript" src="./js/shared_controls.js?08aec273"></script>
<script type="text/javascript" src="./js/index_randoms_controls.js?34234c00"></script>
<script type="text/javascript" src="./js/moveset_import.js?7a7954dd"></script>
</div>
Expand Down
2 changes: 1 addition & 1 deletion dist/js/data/sets/gen9.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/js/shared_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ $(".set-selector").change(function () {
if (pok_name == "Pumpkaboo-Super") {
pok_name = "Pumpkaboo"
}
if (pok_name == "Mime Jr.") {
pok_name = "Mime%20Jr"
}
//this ruined my day
var pok = `<img class="trainer-pok right-side" src="https://raw.githubusercontent.com/May8th1995/sprites/master/${pok_name}.png" data-id="${CURRENT_TRAINER_POKS[i].split("]")[1]}" title="${next_poks[i]}, ${next_poks[i]} BP">`
trpok_html += pok
Expand Down
4 changes: 2 additions & 2 deletions dist/randoms.html
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@
</script>
<script type="text/javascript" src="./calc/util.js?8fa0c7ff"></script>
<script type="text/javascript" src="./calc/stats.js?9220179f"></script>
<script type="text/javascript" src="./calc/data/species.js?6662185c"></script>
<script type="text/javascript" src="./calc/data/species.js?8d733abe"></script>
<script type="text/javascript" src="https://data.pkmn.cc/randbats/js/gen9randombattle.js?"></script>
<script type="text/javascript" src="https://data.pkmn.cc/randbats/js/gen8randombattle.js?"></script>
<script type="text/javascript" src="https://data.pkmn.cc/randbats/js/gen7randombattle.js?"></script>
Expand Down Expand Up @@ -1568,7 +1568,7 @@
<script type="text/javascript" src="./calc/result.js?d5c7552b"></script>
<script type="text/javascript" src="./calc/adaptable.js?afeb3759"></script>
<script type="text/javascript" src="./calc/index.js?2377cbc8"></script>
<script type="text/javascript" src="./js/shared_controls.js?492fea5e"></script>
<script type="text/javascript" src="./js/shared_controls.js?08aec273"></script>
<script type="text/javascript" src="./js/index_randoms_controls.js?34234c00"></script>
<script type="text/javascript" src="./js/moveset_import.js?7a7954dd"></script>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/js/data/sets/gen9.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/js/shared_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ $(".set-selector").change(function () {
if (pok_name == "Pumpkaboo-Super") {
pok_name = "Pumpkaboo"
}
if (pok_name == "Mime Jr.") {
pok_name = "Mime%20Jr"
}
//this ruined my day
var pok = `<img class="trainer-pok right-side" src="https://raw.githubusercontent.com/May8th1995/sprites/master/${pok_name}.png" data-id="${CURRENT_TRAINER_POKS[i].split("]")[1]}" title="${next_poks[i]}, ${next_poks[i]} BP">`
trpok_html += pok
Expand Down

0 comments on commit 3e65b25

Please sign in to comment.