Skip to content

Commit

Permalink
resolve conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires committed May 16, 2024
1 parent ad92e23 commit 0c2af97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/creatures/players/player.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ class Player final : public Creature, public Cylinder, public Bankable {
void addList() override;
void removePlayer(bool displayEffect, bool forced = true);

static uint64_t getExpForLevel(const uint64_t lv) {
return (((lv - 6ULL) * lv + 17ULL) * lv - 12ULL) / 6ULL * 100ULL;
static uint64_t getExpForLevel(const uint32_t level) {
return (((level - 6ULL) * level + 17ULL) * level - 12ULL) / 6ULL * 100ULL;
}

uint16_t getStaminaMinutes() const {
Expand Down

0 comments on commit 0c2af97

Please sign in to comment.