*Shadow Mark target requirement - by PrinceCreed

*Spiritual attunemennt heal amount fix - by beberlescaraber

--HG--
branch : trunk
This commit is contained in:
QAston
2010-02-24 21:38:51 +01:00
parent aea3151d7b
commit 1e7f50b3f6
2 changed files with 8 additions and 1 deletions

View File

@@ -402,6 +402,13 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
damage = (distance > radius) ? 0 : int32(m_spellInfo->EffectBasePoints[0]*((radius - distance)/radius));
break;
}
// TODO: add spell specific target requirement hook for spells
// Shadowbolts only affects targets with Shadow Mark (Gothik)
case 27831:
case 55638:
if(!unitTarget->HasAura(27825))
return;
break;
// Cataclysmic Bolt
case 38441:
{