Fix issue #1437, don't remove passive auras if they're triggering spell that fails for whatever reason
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -2700,7 +2700,7 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect const * triggere
|
||||
SpellCastResult result = CheckCast(true);
|
||||
if(result != SPELL_CAST_OK && !IsAutoRepeat()) //always cast autorepeat dummy for triggering
|
||||
{
|
||||
if(triggeredByAura)
|
||||
if(triggeredByAura && !triggeredByAura->GetBase()->IsPassive())
|
||||
{
|
||||
SendChannelUpdate(0);
|
||||
triggeredByAura->GetBase()->SetDuration(0);
|
||||
|
||||
Reference in New Issue
Block a user