Core/Mechanics: Fix prevent fleeing + fear
Closes #9754 Players should never have been affected by SPELL_AURA_PREVENTS_FLEEING in the first place. Curse of Recklessness will no longer prevent Fear effects, only prevent NPCs from fleeing (e.g. at low health). Judgement of Justice will no longer prevent Fear effects, but will only prevent NPCs from fleeing (e.g. at low health). Source: http://www.wowwiki.com/Patch_3.0.2
This commit is contained in:
1 parent
e746e8685c
commit
a51c3ac5fe
2 files changed
+6
-5
No files matched your search
@@ -481,9 +481,6 @@ void MotionMaster::MoveFleeing(Unit* enemy, uint32 time)
|
||||
if (!enemy)
|
||||
return;
|
||||
|
||||
if (_owner->HasAuraType(SPELL_AURA_PREVENTS_FLEEING))
|
||||
return;
|
||||
|
||||
if (_owner->GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
TC_LOG_DEBUG("misc", "Player (GUID: %u) flee from %s (GUID: %u)", _owner->GetGUIDLow(),
|
||||
|
||||
Reference in new issue
Block a user