mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10917] Allow SPELL_AURA_MOD_PACIFY auras to affect creatures
Signed-off-by: zergtmn <zerg@myisp.com>
This commit is contained in:
parent
f7d58220a5
commit
5f4dcbbe93
2 changed files with 2 additions and 5 deletions
|
|
@ -6156,10 +6156,7 @@ void Aura::HandleAuraUntrackable(bool apply, bool /*Real*/)
|
|||
|
||||
void Aura::HandleAuraModPacify(bool apply, bool /*Real*/)
|
||||
{
|
||||
if(GetTarget()->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
if(apply)
|
||||
if (apply)
|
||||
GetTarget()->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED);
|
||||
else
|
||||
GetTarget()->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10916"
|
||||
#define REVISION_NR "10917"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue