diff options
author | QAston <none@none> | 2009-05-03 00:02:02 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-05-03 00:02:02 +0200 |
commit | abe9b27ee44dd8484b8b8992bba742480f4ab33a (patch) | |
tree | 73896240c2e4ea3f47b348b9012f574c9213dbb4 /src/game/SpellMgr.cpp | |
parent | 823cb628be711520fec7467ee0583953a09e7ac8 (diff) |
*Fix target selection for wild growth and circle of healing
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r-- | src/game/SpellMgr.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index c23d6aae43f..5b8a35cd577 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2374,7 +2374,7 @@ void SpellMgr::LoadSpellCustomAttr() case TARGET_TYPE_DEST_TARGET: spellInfo->Targets |= TARGET_FLAG_UNIT; break; - } + } } for(uint32 j = 0; j < 3; ++j) @@ -2442,12 +2442,14 @@ void SpellMgr::LoadSpellCustomAttr() case 37676: //Insidious Whisper case 46009: //Negative Energy case 45641: //Fire Bloom + case 54937: //Glyph of Holy Light spellInfo->MaxAffectedTargets = 5; break; case 40827: //Sinful Beam case 40859: //Sinister Beam case 40860: //Vile Beam case 40861: //Wicked Beam + case 57669: // Replenishment spellInfo->MaxAffectedTargets = 10; break; case 8122: case 8124: case 10888: case 10890: // Psychic Scream @@ -2488,9 +2490,12 @@ void SpellMgr::LoadSpellCustomAttr() switch(spellInfo->SpellFamilyName) { case SPELLFAMILY_DRUID: - //starfall + // starfall if(spellInfo->SpellFamilyFlags[2] & 0x100) spellInfo->MaxAffectedTargets = 2; + // Wild growth + else if(spellInfo->SpellFamilyFlags[1] & 0x4000000) + spellInfo->MaxAffectedTargets = 5; break; // circle of healing case SPELLFAMILY_PRIEST: |