diff --git a/src/Profile.js b/src/Profile.js index eb304b2..309efcb 100644 --- a/src/Profile.js +++ b/src/Profile.js @@ -21,8 +21,8 @@ export default class Profile { */ constructor(profile, locale = 'en', withItem = false) { /** - * Player's acount ID - * @type {Stirng} + * Player's account ID + * @type {String} */ this.accountId = profile.AccountId.$oid; @@ -45,7 +45,7 @@ export default class Profile { this.masteryRank = profile.PlayerLevel; /** - * Load out preset equiped + * Load out preset equipped * @type {LoadOutPreset | undefined} */ if (profile.LoadOutPreset) this.preset = new LoadOutPreset(profile.LoadOutPreset); @@ -118,13 +118,13 @@ export default class Profile { /** * Whether or not the player is qualified as a target for Zanuka - * @type {bool} + * @type {boolean} */ this.harvestable = profile.Harvestable; /** * Whether or not the player is qualified as a target for a syndicate death squad - * @type {bool} + * @type {boolean} */ this.deathSquadable = profile.DeathSquadable; @@ -136,7 +136,7 @@ export default class Profile { /** * Whether the user has migrated to console or not - * @type {bool} + * @type {boolean} */ this.migratedToConsole = profile.MigratedToConsole; @@ -187,14 +187,14 @@ export default class Profile { this.wishList = profile.Wishlist; /** - * Whhether the player has unlocked thier operator or not - * @type {bool} + * Whether the player has unlocked their operator or not + * @type {boolean} */ this.unlockedOperator = profile.UnlockedOperator; /** - * Whether the player has unlocked their alignement or not - * @type {bool} + * Whether the player has unlocked their alignment or not + * @type {boolean} */ this.unlockedAlignment = profile.UnlockedAlignment; diff --git a/src/Stats.js b/src/Stats.js index bcbd1e7..3e3cf87 100644 --- a/src/Stats.js +++ b/src/Stats.js @@ -23,7 +23,7 @@ export default class Stats { this.guildName = stats.GuildName; /** - * Player's total accumalted xp + * Player's total accumulated xp * @type {String} */ this.xp = stats.XP; @@ -35,25 +35,25 @@ export default class Stats { this.missionsCompleted = stats.MissionsCompleted; /** - * MIssions quit + * Missions quit * @type {number} */ this.missionsQuit = stats.MissionsQuit; /** - * MIsions failed + * Misions failed * @type {number} */ this.missionsFailed = stats.missionsFailed; /** - * MIssions interrupted + * Missions interrupted * @type {number} */ this.missionsInterrupted = stats.MissionsInterrupted; /** - * MIssions dumped + * Missions dumped * @type {number} */ this.missionsDumped = stats.MissionsDumped; @@ -95,7 +95,7 @@ export default class Stats { this.forestEventScoreSum = stats.ForestEventScoreSum; /** - * Melee kilss + * Melee kills * @type {number} */ this.meleeKills = stats.MeleeKills; @@ -107,7 +107,7 @@ export default class Stats { this.abilities = stats.Abilities.map((a) => new Ability(a)); /** - * Ciphers completed succefully + * Ciphers completed successfully * @type {number} */ this.ciphersSolved = stats.CiphersSolved;