[7517] Add tick targets amount limitations to 48505 and ranks. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-21 23:01:36 -06:00
parent 3c5a24f4cd
commit f3d8806ec3

View File

@@ -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;
}
}
}