mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[8986] Implement resilience on periodic crits
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
cbb5143348
commit
b59052ab42
2 changed files with 5 additions and 1 deletions
|
|
@ -6639,7 +6639,11 @@ void Aura::PeriodicTick()
|
|||
|
||||
// send critical in hit info for threat calculation
|
||||
if (isCrit)
|
||||
{
|
||||
cleanDamage.hitOutCome = MELEE_HIT_CRIT;
|
||||
// Resilience - reduce crit damage
|
||||
pdamage -= m_target->GetSpellCritDamageReduction(pdamage);
|
||||
}
|
||||
|
||||
// only from players
|
||||
// FIXME: need use SpellDamageBonus instead?
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8985"
|
||||
#define REVISION_NR "8986"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue