From 241d232f3acffa08c69783855384a2dfa5470477 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Fri, 17 Sep 2010 22:21:33 +0400 Subject: [PATCH] [10494] Really allow proccesing buff events in EventAI. --- src/game/CreatureEventAI.cpp | 4 ++++ src/shared/revision_nr.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/game/CreatureEventAI.cpp b/src/game/CreatureEventAI.cpp index 036aff3d6..e0e069a8d 100644 --- a/src/game/CreatureEventAI.cpp +++ b/src/game/CreatureEventAI.cpp @@ -1172,6 +1172,10 @@ void CreatureEventAI::UpdateAI(const uint32 diff) case EVENT_T_TARGET_HP: case EVENT_T_TARGET_CASTING: case EVENT_T_FRIENDLY_HP: + case EVENT_T_BUFFED: + case EVENT_T_TARGET_BUFFED: + case EVENT_T_MISSING_BUFF: + case EVENT_T_TARGET_MISSING_BUFF: if (Combat) ProcessEvent(*i); break; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 92cc1c954..a19237ad2 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 "10493" + #define REVISION_NR "10494" #endif // __REVISION_NR_H__