*Fix the bug that startfall aoe damage also apply on direct target.

*Add starfall spell bonus for other ranks. By Uruviel and Nesocip.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-18 10:22:43 -05:00
parent a57d52fa28
commit e45c57f298
2 changed files with 14 additions and 1 deletions
+4 -1
View File
@@ -3281,9 +3281,12 @@ void SpellMgr::LoadSpellCustomAttr()
switch(spellInfo->SpellFamilyName)
{
case SPELLFAMILY_DRUID:
// starfall
// Starfall Target Selection
if(spellInfo->SpellFamilyFlags[2] & 0x100)
spellInfo->MaxAffectedTargets = 2;
// Starfall AOE Damage
else if(spellInfo->SpellFamilyFlags[2] & 0x800000)
mSpellCustomAttr[i] |= SPELL_ATTR_CU_EXCLUDE_SELF;
// Wild growth
else if(spellInfo->SpellFamilyFlags[1] & 0x4000000)
spellInfo->MaxAffectedTargets = 5;