mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-25 14:36:22 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user