mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
- Fixed Hodir strategy bugs (#1015)
This commit is contained in:
parent
95c2ba9105
commit
4968245471
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user