mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
*Redefine attribute flag NO_INITIAL_AGGRO to make Mind Soothe and Soothe animal work
*Fix Glyph of Shadow Word: Death. --HG-- branch : trunk
This commit is contained in:
@@ -5381,7 +5381,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
case 56374:
|
||||
RemoveAurasByType(SPELL_AURA_MOD_HASTE, 0, 0, true, false);
|
||||
RemoveAurasByType(SPELL_AURA_MOD_DECREASE_SPEED);
|
||||
break;
|
||||
return true;
|
||||
// Ignite
|
||||
case 11119:
|
||||
case 11120:
|
||||
@@ -8967,6 +8967,16 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
|
||||
DoneTotalMod *= 3.0f;
|
||||
}
|
||||
|
||||
// Glyph of Shadow Word: Pain
|
||||
if (spellProto->SpellFamilyName == SPELLFAMILY_PRIEST && spellProto->SpellFamilyFlags[0] & 0x800000)
|
||||
{
|
||||
// Increase Mind Flay damage
|
||||
if (AuraEffect * aurEff = GetDummyAura(55687))
|
||||
// if Shadow Word: Pain present
|
||||
if (pVictim->GetAura(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_PRIEST, 0x8000, 0,0, GetGUID()))
|
||||
DoneTotalMod *= (aurEff->GetAmount() + 100.0f) / 100.f;
|
||||
}
|
||||
|
||||
// Torment the weak
|
||||
if (spellProto->SpellFamilyName== SPELLFAMILY_MAGE && (spellProto->SpellFamilyFlags[0]&0x20200021 || spellProto->SpellFamilyFlags[1]& 0x9000))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user