From f3d8806ec342acc6329100c1c6e9890bc0eeeec0 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 21 Mar 2009 23:01:36 -0600 Subject: [7517] Add tick targets amount limitations to 48505 and ranks. Author: VladimirMangos --HG-- branch : trunk --- src/game/SpellMgr.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 6b036445394..e42e5dc4488 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2346,7 +2346,7 @@ void SpellMgr::LoadSpellCustomAttr() case 45027: // Revitalize case 45976: // Muru Portal Channel case 39365: // Thundering Storm - case 41071: // Raise Dead + case 41071: // Raise Dead (HACK) spellInfo->MaxAffectedTargets = 1; break; case 41376: // Spite @@ -2387,6 +2387,15 @@ void SpellMgr::LoadSpellCustomAttr() default: break; } + + switch(spellInfo->SpellFamilyName) + { + case SPELLFAMILY_DRUID: + //starfall + if(spellInfo->SpellFamilyFlags[2] & 0x100) + spellInfo->MaxAffectedTargets = 2; + break; + } } } -- cgit v1.2.3