mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
*Do not check power and stun for triggered spells. This fix the bug that bg mark is not casted on stunned target and that devastate needs extra rage.
--HG-- branch : trunk
This commit is contained in:
@@ -3638,14 +3638,15 @@ uint8 Spell::CanCast(bool strict)
|
||||
if(uint8 castResult = CheckRange(strict))
|
||||
return castResult;
|
||||
|
||||
if(!m_IsTriggeredSpell)
|
||||
{
|
||||
if(uint8 castResult = CheckPower())
|
||||
return castResult;
|
||||
}
|
||||
|
||||
if(!m_triggeredByAuraSpell) // triggered spell not affected by stun/etc
|
||||
//if(!m_triggeredByAuraSpell) // triggered spell not affected by stun/etc
|
||||
if(uint8 castResult = CheckCasterAuras())
|
||||
return castResult;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user