From 1cdfec704afec9814746dc237eee63de1b978966 Mon Sep 17 00:00:00 2001 From: Olion Date: Thu, 24 Sep 2015 12:51:48 +0300 Subject: [PATCH] [Spells] Any triggered by aura spell should be casted instantly (a weaker condition). --- src/game/WorldHandlers/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/WorldHandlers/Spell.cpp b/src/game/WorldHandlers/Spell.cpp index 52da1104..1eef27a4 100644 --- a/src/game/WorldHandlers/Spell.cpp +++ b/src/game/WorldHandlers/Spell.cpp @@ -6221,7 +6221,7 @@ bool Spell::IsNeedSendToClient() const bool Spell::IsTriggeredSpellWithRedundentCastTime() const { - return m_IsTriggeredSpell; // && (m_spellInfo->manaCost || m_spellInfo->ManaCostPercentage); + return m_triggeredByAuraSpell || (m_IsTriggeredSpell && (m_spellInfo->manaCost || m_spellInfo->ManaCostPercentage)); } bool Spell::HaveTargetsForEffect(SpellEffectIndex effect) const