*Do not allow spells having damage to break root casted by the spell.
*Typohunt: wand skill gain, Improved spell reflection aura drop from party. --HG-- branch : trunk
This commit is contained in:
1 parent
96cd58bd37
commit
87ca52c2a9
3 files changed
+6
-2
No files matched your search
@@ -12819,6 +12819,10 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
|
||||
case SPELL_AURA_MOD_ROOT:
|
||||
if (isVictim && damage)
|
||||
{
|
||||
// Damage is dealt after proc system - lets ignore auras which wasn't updated yet
|
||||
// to make spell not remove its own aura
|
||||
if (i->aura->GetAuraDuration() == i->aura->GetAuraMaxDuration())
|
||||
break;
|
||||
int32 damageLeft = triggeredByAura->GetAmount();
|
||||
// No damage left
|
||||
if (damageLeft < damage )
|
||||
|
||||
Reference in new issue
Block a user