diff --git a/add-ons/hpoke-exceptions.js b/add-ons/hpoke-exceptions.js index 40725c9b..b1ad4519 100644 --- a/add-ons/hpoke-exceptions.js +++ b/add-ons/hpoke-exceptions.js @@ -38,7 +38,7 @@ exports.setup = function (App) { } App.saveConfig(); App.logServerAction(context.user.id, "Changed hpoke exceptions."); - ok = "Hashpoke exceptions saved sucessfully."; + ok = "Hashpoke exceptions saved successfully."; } let exceptions = []; diff --git a/src/bot-modules/battle-log/main.js b/src/bot-modules/battle-log/main.js index 97e26309..c1f17dad 100644 --- a/src/bot-modules/battle-log/main.js +++ b/src/bot-modules/battle-log/main.js @@ -258,7 +258,7 @@ exports.setup = function (App) { let la = room.lastIndexOf("-"); if (la < 0) { - ws.send("a" + JSON.stringify(["|popup|The battle you requested does not exists"])); + ws.send("a" + JSON.stringify(["|popup|The battle you requested does not exist"])); ws.close(); // Not found return; } diff --git a/src/bot-modules/battle/data/gen1/moves.js b/src/bot-modules/battle/data/gen1/moves.js index 052aeb33..ff1a6f2c 100644 --- a/src/bot-modules/battle/data/gen1/moves.js +++ b/src/bot-modules/battle/data/gen1/moves.js @@ -343,7 +343,7 @@ exports.BattleMovedex = { }, focusenergy: { inherit: true, - desc: "If the attack deals critical hits sometimes, then the chance of its happening is quartered. If a move has a high chance of dealing a critical hit, if the user iis currently faster than the opposing Pokemon its critical hit ratio is not decreased. If it's slower, its chances of dealing a critical hit is cut by 50%. If the user is significantly slower than the opposing Pokemon, then the user will be unable to deal critical hits to the opposing Pokemon.", + desc: "If the attack deals critical hits sometimes, then the chance of its happening is quartered. If a move has a high chance of dealing a critical hit, if the user is currently faster than the opposing Pokemon its critical hit ratio is not decreased. If it's slower, its chances of dealing a critical hit is cut by 50%. If the user is significantly slower than the opposing Pokemon, then the user will be unable to deal critical hits to the opposing Pokemon.", shortDesc: "Reduces the user's chance for a critical hit.", effect: { onStart: function (pokemon) { diff --git a/src/data-access/mysql.js b/src/data-access/mysql.js index ed6d76a1..05f5c87d 100644 --- a/src/data-access/mysql.js +++ b/src/data-access/mysql.js @@ -88,7 +88,7 @@ class DataAccessManager { } } if (!file) { - throw new Error("The file with name \"" + filename + "\" does not exists"); + throw new Error("The file with name \"" + filename + "\" does not exist"); } else { let data = ''; file = file.sort((a, b) => {