diff options
author | megamage <none@none> | 2009-05-18 10:22:43 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-18 10:22:43 -0500 |
commit | e45c57f298acfb496947be150dd379e3f39bc673 (patch) | |
tree | 58714c920cd9b9265ee2b5512f281ff3e927fa29 /src | |
parent | a57d52fa28dd547b136862ccd313690de0c5dee2 (diff) |
*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
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellMgr.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 8a067ec734d..5de2f843c87 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -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; |