mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Spells: small correction to e2d592f380, don't interrupt passive auras.
This commit is contained in:
@@ -2926,7 +2926,7 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect const* triggered
|
||||
// for example bladestorm aura should be removed on disarm as of patch 3.3.5
|
||||
// channeled periodic spells should be affected by this (arcane missiles, penance, etc)
|
||||
// a possible alternative sollution for those would be validating aura target on unit state change
|
||||
if (triggeredByAura && triggeredByAura->IsPeriodic())
|
||||
if (triggeredByAura && triggeredByAura->IsPeriodic() && !triggeredByAura->IsPassive())
|
||||
{
|
||||
SendChannelUpdate(0);
|
||||
triggeredByAura->GetBase()->SetDuration(0);
|
||||
|
||||
Reference in New Issue
Block a user