Core/Spell: Fix logic fail in 96ae4caf62
This commit is contained in:
1 parent
d39b36b50f
commit
79a2a0c434
4 files changed
+5
-8
No files matched your search
@@ -1498,9 +1498,8 @@ public:
|
||||
|
||||
// Ravenous Dead. Check just if owner has Ravenous Dead since it's effect is not an aura
|
||||
if (AuraEffect const* aurEff = owner->GetAuraEffect(SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELLFAMILY_DEATHKNIGHT, 3010, 0))
|
||||
{
|
||||
mod += aurEff->GetSpellInfo()->Effects[EFFECT_1].CalcValue()/100; // Ravenous Dead edits the original scale
|
||||
}
|
||||
|
||||
// Glyph of the Ghoul
|
||||
if (AuraEffect const* aurEff = owner->GetAuraEffect(SPELL_DEATH_KNIGHT_GLYPH_OF_GHOUL, 0))
|
||||
mod += aurEff->GetAmount()/100;
|
||||
|
||||
Reference in new issue
Block a user