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:
blinkysc
2026-07-14 20:25:45 -04:00
committed by GitHub
parent 5d098c9781
commit a47b2baa59

View File

@@ -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())