From 36300d6df1d0f94acac029a19c00ddc16c7695d0 Mon Sep 17 00:00:00 2001 From: Uleat Date: Thu, 26 Jan 2017 17:29:39 -0500 Subject: [PATCH] Removed SE_NegateIfCombat movement spells from bot commands (i.e., Scale of Wolf) --- zone/bot_command.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zone/bot_command.cpp b/zone/bot_command.cpp index 17182451f..fa15dc7d2 100644 --- a/zone/bot_command.cpp +++ b/zone/bot_command.cpp @@ -436,6 +436,8 @@ public: case 10: if (spells[spell_id].effectdescnum != 65) break; + if (IsEffectInSpell(spell_id, SE_NegateIfCombat)) + break; entry_prototype = new STMovementSpeedEntry(); entry_prototype->SafeCastToMovementSpeed()->group = BCSpells::IsGroupType(target_type); break;