From 6c57a015073479890a6c83d74fd8b6e570f4dacb Mon Sep 17 00:00:00 2001 From: nos4r2zod Date: Fri, 21 Aug 2009 06:49:24 +0400 Subject: [PATCH] [8401] Restore original check as suggested by autor for priest bufs cast Signed-off-by: VladimirMangos --- src/game/SpellMgr.cpp | 3 ++- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index d025acbca..e9de58492 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -176,7 +176,8 @@ SpellSpecific GetSpellSpecific(uint32 spellId) case SPELLFAMILY_PRIEST: { // "Well Fed" buff from Blessed Sunfruit, Blessed Sunfruit Juice, Alterac Spring Water - if ((spellInfo->InterruptFlags & SPELL_INTERRUPT_FLAG_AUTOATTACK) && + if ((spellInfo->Attributes & SPELL_ATTR_CASTABLE_WHILE_SITTING) && + (spellInfo->InterruptFlags & SPELL_INTERRUPT_FLAG_AUTOATTACK) && (spellInfo->SpellIconID == 52 || spellInfo->SpellIconID == 79)) return SPELL_WELL_FED; break; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1fdadd1c0..82858b58c 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 "8400" + #define REVISION_NR "8401" #endif // __REVISION_NR_H__