*Fix incorrect threat calculation of taunt spells.
--HG-- branch : trunk
This commit is contained in:
1 parent
9de045c6d3
commit
8b7fb65c36
2 files changed
+16
-10
No files matched your search
+2
-2
@@ -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