*Levelling Weapon Skill patch (Author: Menia), thanks Sorken :)
--HG-- branch : trunk
This commit is contained in:
1 parent
88d632d153
commit
00409c67cf
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -12592,8 +12592,8 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
|
||||
((Player*)this)->UpdateCombatSkills(pTarget, attType, isVictim);
|
||||
}
|
||||
// Update defence if player is victim and parry/dodge/block
|
||||
if (isVictim && procExtra&(PROC_EX_DODGE|PROC_EX_PARRY|PROC_EX_BLOCK))
|
||||
((Player*)this)->UpdateDefense();
|
||||
else if (isVictim && procExtra&(PROC_EX_DODGE|PROC_EX_PARRY|PROC_EX_BLOCK))
|
||||
((Player*)this)->UpdateCombatSkills(pTarget, attType, MELEE_HIT_DODGE);
|
||||
}
|
||||
// If exist crit/parry/dodge/block need update aura state (for victim and attacker)
|
||||
if (procExtra & (PROC_EX_CRITICAL_HIT|PROC_EX_PARRY|PROC_EX_DODGE|PROC_EX_BLOCK))
|
||||
|
||||
Reference in new issue
Block a user