mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[10494] Really allow proccesing buff events in EventAI.
This commit is contained in:
parent
26f8e9c35e
commit
241d232f3a
2 changed files with 5 additions and 1 deletions
|
|
@ -1172,6 +1172,10 @@ void CreatureEventAI::UpdateAI(const uint32 diff)
|
||||||
case EVENT_T_TARGET_HP:
|
case EVENT_T_TARGET_HP:
|
||||||
case EVENT_T_TARGET_CASTING:
|
case EVENT_T_TARGET_CASTING:
|
||||||
case EVENT_T_FRIENDLY_HP:
|
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)
|
if (Combat)
|
||||||
ProcessEvent(*i);
|
ProcessEvent(*i);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10493"
|
#define REVISION_NR "10494"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue