Improve ICC spread and fix Valithria trigger (#884)

* Temp fix valithria find target

* Improve spread with FleePosition

* Fix Valithria trigger
This commit is contained in:
Yunfan Li
2025-01-22 03:24:06 +08:00
committed by GitHub
parent b0ca0e8595
commit f6cc3f6e40
4 changed files with 28 additions and 15 deletions

View File

@@ -551,10 +551,10 @@ bool IccValithriaPortalTrigger::IsActive()
bool IccValithriaHealTrigger::IsActive()
{
Unit* boss = AI_VALUE2(Unit*, "find target", "valithria dreamwalker");
Unit* boss = bot->FindNearestCreature(36789, 100.0f);
if (!boss)
return false;
// Only healers should use healing
if (!botAI->IsHeal(bot) || bot->HasAura(70766))
return false;