Skip to content

Commit

Permalink
Add correct bedwars games played (slothpixel#662)
Browse files Browse the repository at this point in the history
* Update docs with new /skyblock/profile data

Add floatLevel and averageSkillLevel to endpoint docs

* Add total_dragon_kills to docs

- Add total_dragon_kills
- Change averageSkillLevel to average_skill_level

* Make lint happy

-Make lint happy
-Change float to number so OpenAPI doesn't hurt me

* Update tiered achievement data

Added: 
-the current tier level of a user
-the amount of that tiered achievement they have
-The max level of the tiered achievement
-The required amount to achieve that max tier

* Add various additons to parse achievements

Added:
-Total of legacy points a user has
-Array of legacy achievements a user has in a game
-Added legacy points of a specific game

* Update documentation

Added new achievement data to documentation

* Change to camel_case

* change to camel_case

* Add ingame bedwars games played
  • Loading branch information
SomeRandom-WhoLikesCode authored and ChristianDobbie committed Jan 10, 2022
1 parent 7fb3ed3 commit 8a673dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions processors/games/Bedwars.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = ({
wins_bedwars = 0,
losses_bedwars = 0,
games_played_bedwars_1 = 0,
games_played_bedwars = 0,
kills_bedwars = 0,
deaths_bedwars = 0,
Experience = 0,
Expand Down Expand Up @@ -73,6 +74,7 @@ module.exports = ({
wins: wins_bedwars,
losses: losses_bedwars,
games_played: games_played_bedwars_1,
ingame_games_played: games_played_bedwars,
kills: kills_bedwars,
deaths: deaths_bedwars,
k_d: getRatio(kills_bedwars, deaths_bedwars),
Expand Down

0 comments on commit 8a673dc

Please sign in to comment.