mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
*Fix incorrect threat calculation of taunt spells.
--HG-- branch : trunk
This commit is contained in:
@@ -10120,7 +10120,7 @@ void Unit::TauntApply(Unit* taunter)
|
||||
if (((Creature*)this)->IsAIEnabled)
|
||||
((Creature*)this)->AI()->AttackStart(taunter);
|
||||
|
||||
m_ThreatManager.tauntApply(taunter);
|
||||
//m_ThreatManager.tauntApply(taunter);
|
||||
}
|
||||
|
||||
//======================================================================
|
||||
@@ -10146,7 +10146,7 @@ void Unit::TauntFadeOut(Unit *taunter)
|
||||
return;
|
||||
}
|
||||
|
||||
m_ThreatManager.tauntFadeOut(taunter);
|
||||
//m_ThreatManager.tauntFadeOut(taunter);
|
||||
target = m_ThreatManager.getHostilTarget();
|
||||
|
||||
if (target && target != taunter)
|
||||
|
||||
Reference in New Issue
Block a user