Core/Spells: don't allow spells which hit target only with SPELL_EFFECT_DUMMY to execute spell triggers on that targets, also cleanup related code a bit.

This commit is contained in:
QAston
2011-06-26 00:29:12 +02:00
parent b54b72ba54
commit 2bcf63d387
5 changed files with 103 additions and 84 deletions

View File

@@ -1248,7 +1248,7 @@ void Spell::EffectDummy(SpellEffIndex effIndex)
m_caster->CastSpell(m_caster, 65156, true);
return;
}
//Slam
// Slam
if (m_spellInfo->SpellFamilyFlags[0] & SPELLFAMILYFLAG_WARRIOR_SLAM && m_spellInfo->SpellIconID == 559)
{
int32 bp0 = damage;