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())
|
for (auto& pair : target->GetThreatMgr().GetThreatenedByMeList())
|
||||||
pair.second->ScaleThreat(0.0f);
|
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();
|
target->AttackStop();
|
||||||
if (Player* targetPlayer = target->ToPlayer())
|
if (Player* targetPlayer = target->ToPlayer())
|
||||||
|
|||||||
Reference in New Issue
Block a user