fix(Scripts/ShadowLabirynth): Fixed Blackheart's Incite Chaos. (#15583)

This commit is contained in:
UltraNix
2023-04-21 13:29:32 +02:00
committed by GitHub
parent d5c89657a1
commit 197b053eb4
2 changed files with 18 additions and 5 deletions

View File

@@ -1977,7 +1977,7 @@ void Player::UpdateCharmedAI()
if (!target || !IsValidAttackTarget(target))
{
target = SelectNearbyTarget(nullptr, 30);
target = SelectNearbyTarget(nullptr, GetMap()->IsDungeon() ? 100.f : 30.f);
if (!target)
{
if (!HasUnitState(UNIT_STATE_FOLLOW))