Наверное так будет лучше:
Код:
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 583ba81..6108a64 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6445,6 +6445,13 @@ uint32 Unit::SpellDamageBonusDone(Unit *pVictim, SpellEntry const *spellProto, u
if (Aura *aur = GetAura(55692, EFFECT_INDEX_0))
DoneTotalMod *= (aur->GetModifier()->m_amount+100.0f) / 100.0f;
}
+ // Glyph of Shadow word: Death
+ if (spellProto->SpellFamilyFlags & UI64LIT(0x0000000200000000))
+ {
+ if (pVictim->HasAuraState(AURA_STATE_HEALTHLESS_35_PERCENT))
+ if (Aura* aur = GetAura(55682, EFFECT_INDEX_0))
+ DoneTotalMod *= (aur->GetModifier()->m_amount + 100.0f) / 100.0f;
+ }
break;
}
case SPELLFAMILY_DRUID: