mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
- Fixed Hodir strategy bugs (#1015)
This commit is contained in:
@@ -1174,6 +1174,8 @@ bool HodirMoveSnowpackedIcicleAction::isUseful()
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HodirMoveSnowpackedIcicleAction::Execute(Event event)
|
bool HodirMoveSnowpackedIcicleAction::Execute(Event event)
|
||||||
|
|||||||
@@ -260,6 +260,5 @@ bool HodirNearSnowpackedIcicleTrigger::IsActive()
|
|||||||
|
|
||||||
// Find the nearest Snowpacked Icicle Target
|
// Find the nearest Snowpacked Icicle Target
|
||||||
Creature* target = bot->FindNearestCreature(33174, 100.0f);
|
Creature* target = bot->FindNearestCreature(33174, 100.0f);
|
||||||
if (!target)
|
return target != nullptr;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user