Skip to content

Commit

Permalink
Core/Scaling Creatures will levelup at 25% xp of player (down from 50%)
Browse files Browse the repository at this point in the history
  • Loading branch information
Traesh committed Aug 16, 2018
1 parent c6907cc commit 0159407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/game/Entities/Player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2497,8 +2497,8 @@ void Player::SetXP(uint32 xp)

int32 playerLevelDelta = 0;

// If XP < 50%, player should see scaling creature with -1 level except for level max
if (getLevel() < MAX_LEVEL && xp < (GetUInt32Value(PLAYER_NEXT_LEVEL_XP) / 2))
// If XP < 25%, player should see scaling creature with -1 level except for level max
if (getLevel() < MAX_LEVEL && xp < (GetUInt32Value(PLAYER_NEXT_LEVEL_XP) / 4))
playerLevelDelta = -1;

SetInt32Value(PLAYER_FIELD_SCALING_PLAYER_LEVEL_DELTA, playerLevelDelta);
Expand Down

0 comments on commit 0159407

Please sign in to comment.