mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
*Do not allow triggered spells to remove stealth.
--HG-- branch : trunk
This commit is contained in:
@@ -2571,7 +2571,7 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect* triggeredByAura
|
||||
{
|
||||
// stealth must be removed at cast starting (at show channel bar)
|
||||
// skip triggered spell (item equip spell casting and other not explicit character casts/item uses)
|
||||
if(isSpellBreakStealth(m_spellInfo) )
|
||||
if(!m_IsTriggeredSpell && isSpellBreakStealth(m_spellInfo) )
|
||||
{
|
||||
m_caster->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_CAST);
|
||||
for(uint32 i = 0; i < 3; ++i)
|
||||
|
||||
Reference in New Issue
Block a user