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 committed 2011-06-26 00:29:12 +02:00
1 parent b54b72ba54
commit 2bcf63d387
5 files changed
+103 -84

No files matched your search

+1 -1
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;