mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
[7517] Add tick targets amount limitations to 48505 and ranks. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user