From 241726bf81037a7fae2aace16d771952f55d7fc4 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Sat, 12 Feb 2011 21:22:06 +0300 Subject: [PATCH] [11152] Clarify check code for SPELL_ATTR_EX5_USABLE_WHILE_STUNNED cast allowed --- src/game/Spell.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 6557c6b8b..b73ed73e4 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -5618,7 +5618,7 @@ SpellCastResult Spell::CheckCasterAuras() const uint32 unitflag = m_caster->GetUInt32Value(UNIT_FIELD_FLAGS); // Get unit state if (unitflag & UNIT_FLAG_STUNNED) { - // spell is usable while stunned, check if aura has mechanic stun + // spell is usable while stunned, check if caster has only mechanic stun auras, another stun types must prevent cast spell if (m_spellInfo->AttributesEx5 & SPELL_ATTR_EX5_USABLE_WHILE_STUNNED) { bool is_stun_mechanic = true; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 0266efd9a..0cd13ef65 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11151" + #define REVISION_NR "11152" #endif // __REVISION_NR_H__