PHP код:
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index b6957d0..18352f0 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6441,6 +6441,12 @@ uint32 Unit::SpellDamageBonusDone(Unit *pVictim, SpellEntry const *spellProto, u
}
case SPELLFAMILY_PRIEST:
{
+ // Improved Mind Flay and Smite (itemset bonus)
+ if (spellProto->SpellFamilyFlags & UI64LIT(0x00800080))
+ {
+ if (Aura* aur = GetAura(37571, EFFECT_INDEX_0))
+ DoneTotalMod *= (aur->GetModifier()->m_amount + 100.0f) / 100.0f;
+ }
// Glyph of Smite
if (spellProto->SpellFamilyFlags & UI64LIT(0x00000080))
{