*Procflag patch by DiSlord.
--HG-- branch : trunk
This commit is contained in:
+2
-1
@@ -4849,6 +4849,7 @@ void Player::UpdateWeaponSkill (WeaponAttackType attType)
|
||||
|
||||
void Player::UpdateCombatSkills(Unit *pVictim, WeaponAttackType attType, MeleeHitOutcome outcome, bool defence)
|
||||
{
|
||||
/* Not need, this checked on call this func from trigger system
|
||||
switch(outcome)
|
||||
{
|
||||
case MELEE_HIT_CRIT:
|
||||
@@ -4861,7 +4862,7 @@ void Player::UpdateCombatSkills(Unit *pVictim, WeaponAttackType attType, MeleeHi
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
*/
|
||||
uint32 plevel = getLevel(); // if defense than pVictim == attacker
|
||||
uint32 greylevel = Trinity::XP::GetGrayLevel(plevel);
|
||||
uint32 moblevel = pVictim->getLevelForTarget(this);
|
||||
|
||||
Reference in New Issue
Block a user