update SpellMgr.cpp (#14)

Druids entangling roots should now only affect 1 target
This commit is contained in:
Lee 2017-03-16 09:04:59 +00:00 committed by Antz
parent 54a3c09012
commit 2275d7b35c

View File

@ -904,6 +904,16 @@ bool IsPositiveSpell(SpellEntry const* spellproto)
bool IsSingleTargetSpell(SpellEntry const* spellInfo)
{
switch (spellInfo->Id)
{
case 339: // Druid Roots Rank 1
case 1062: // Druid Roots Rank 2
case 5195: // Druid Roots Rank 3
case 5196: // Druid Roots Rank 4
case 9852: // Druid Roots Rank 5
case 9853: // Druid Roots Rank 6
return true;
}
// hunter's mark and similar
if (spellInfo->SpellVisual == 3239)
{ return true; }