mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 23:38:00 +00:00
fix(Core/Scripts): Fix boss scripts resetting during death/defeat RP after threat system port (#25185)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com> Co-authored-by: Treeston <treeston.mmoc@gmail.com>
This commit is contained in:
@@ -11419,12 +11419,8 @@ Unit* Creature::SelectVictim()
|
||||
|
||||
Unit* target = nullptr;
|
||||
|
||||
// Taunt handling is now done inside ThreatManager via TauntState
|
||||
if (CanHaveThreatList())
|
||||
{
|
||||
if (!m_threatManager.IsThreatListEmpty())
|
||||
target = m_threatManager.GetCurrentVictim();
|
||||
}
|
||||
target = m_threatManager.GetCurrentVictim();
|
||||
else if (!HasReactState(REACT_PASSIVE))
|
||||
{
|
||||
// we have player pet probably
|
||||
|
||||
Reference in New Issue
Block a user