From 2275d7b35c40822cce2962fdda44736996c4c023 Mon Sep 17 00:00:00 2001 From: Lee Date: Thu, 16 Mar 2017 09:04:59 +0000 Subject: [PATCH] update SpellMgr.cpp (#14) Druids entangling roots should now only affect 1 target --- src/game/Object/SpellMgr.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/game/Object/SpellMgr.cpp b/src/game/Object/SpellMgr.cpp index 6640595c..20b0e98a 100644 --- a/src/game/Object/SpellMgr.cpp +++ b/src/game/Object/SpellMgr.cpp @@ -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; }