mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-07-28 18:47:40 +00:00
fix(Core/Spell): restore Feign Death threat split outside boss encounters (#26327)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
@@ -2989,7 +2989,7 @@ void AuraEffect::HandleFeignDeath(AuraApplication const* aurApp, uint8 mode, boo
|
||||
for (auto& pair : target->GetThreatMgr().GetThreatenedByMeList())
|
||||
pair.second->ScaleThreat(0.0f);
|
||||
|
||||
if (target->GetMap()->IsDungeon()) // feign death does not remove combat in dungeons
|
||||
if (target->GetInstanceScript() && target->GetInstanceScript()->IsEncounterInProgress())
|
||||
{
|
||||
target->AttackStop();
|
||||
if (Player* targetPlayer = target->ToPlayer())
|
||||
|
||||
Reference in New Issue
Block a user