Core/Unit: fix weapon skill up.

Closes #18044
This commit is contained in:
ariel-
2016-10-05 13:07:44 -03:00
committed by roc13x
parent a7a024d1d6
commit c6aa63536e

View File

@@ -1966,7 +1966,8 @@ void Unit::AttackerStateUpdate(Unit* victim, WeaponAttackType attType, bool extr
DealDamageMods(victim, damageInfo.damage, &damageInfo.absorb);
SendAttackStateUpdate(&damageInfo);
TriggerAurasProcOnEvent(damageInfo);
DamageInfo dmgInfo(damageInfo);
ProcSkillsAndAuras(damageInfo.target, damageInfo.procAttacker, damageInfo.procVictim, PROC_SPELL_TYPE_NONE, PROC_SPELL_PHASE_NONE, dmgInfo.GetHitMask(), nullptr, &dmgInfo, nullptr);
DealMeleeDamage(&damageInfo, true);