Skip to content

Commit

Permalink
Core/Player: Fixed Weapon Skillup on low level mobs
Browse files Browse the repository at this point in the history
Closes #15998

Removed block for skill up on grey level mobs.
  • Loading branch information
Rockz1152 committed Dec 15, 2015
1 parent 39001aa commit 60311e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/server/game/Entities/Player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5837,8 +5837,6 @@ void Player::UpdateCombatSkills(Unit* victim, WeaponAttackType attType, bool def
uint8 plevel = getLevel(); // if defense than victim == attacker
uint8 greylevel = Trinity::XP::GetGrayLevel(plevel);
uint8 moblevel = victim->getLevelForTarget(this);
if (moblevel < greylevel)
return;

if (moblevel > plevel + 5)
moblevel = plevel + 5;
Expand Down

0 comments on commit 60311e0

Please sign in to comment.