*Fix starfall.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-03-03 20:42:49 +01:00
parent 17cb5f5059
commit ffa68907cf
+7
View File
@@ -1313,6 +1313,7 @@ void Spell::EffectDummy(uint32 i)
{ {
int32 bp0 = damage; int32 bp0 = damage;
m_caster->CastCustomSpell(unitTarget, 50783, &bp0, NULL, NULL, true, 0); m_caster->CastCustomSpell(unitTarget, 50783, &bp0, NULL, NULL, true, 0);
return;
} }
// Execute // Execute
if(m_spellInfo->SpellFamilyFlags[0] & 0x20000000) if(m_spellInfo->SpellFamilyFlags[0] & 0x20000000)
@@ -1473,6 +1474,12 @@ void Spell::EffectDummy(uint32 i)
} }
break; break;
case SPELLFAMILY_DRUID: case SPELLFAMILY_DRUID:
// Starfall
if (m_spellInfo->SpellFamilyFlags[2] & 0x100)
{
m_caster->CastSpell(unitTarget, damage, true, NULL);
return;
}
break; break;
case SPELLFAMILY_ROGUE: case SPELLFAMILY_ROGUE:
switch(m_spellInfo->Id ) switch(m_spellInfo->Id )