- Fixed Hodir strategy bugs (#1015)

This commit is contained in:
kadeshar 2025-02-24 20:11:29 +01:00 committed by GitHub
parent 95c2ba9105
commit 4968245471
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -1174,6 +1174,8 @@ bool HodirMoveSnowpackedIcicleAction::isUseful()
{
return false;
}
return true;
}
bool HodirMoveSnowpackedIcicleAction::Execute(Event event)

View File

@ -260,6 +260,5 @@ bool HodirNearSnowpackedIcicleTrigger::IsActive()
// Find the nearest Snowpacked Icicle Target
Creature* target = bot->FindNearestCreature(33174, 100.0f);
if (!target)
return false;
return target != nullptr;
}