mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-24 22:16:23 +00:00
corrections
This commit is contained in:
@@ -154,7 +154,7 @@ bool NovosTargetPriorityAction::Execute(Event event)
|
|||||||
|
|
||||||
for (Unit* primaryTarget : selectedTargets)
|
for (Unit* primaryTarget : selectedTargets)
|
||||||
{
|
{
|
||||||
// Attack the first valid split target in the priority list
|
// Attack the first valid target in the priority list
|
||||||
if (primaryTarget)
|
if (primaryTarget)
|
||||||
{
|
{
|
||||||
if (AI_VALUE(Unit*, "current target") != primaryTarget)
|
if (AI_VALUE(Unit*, "current target") != primaryTarget)
|
||||||
|
|||||||
@@ -57,5 +57,5 @@ bool ArcaneFieldTrigger::IsActive()
|
|||||||
|
|
||||||
bool GiftOfTharonjaTrigger::IsActive()
|
bool GiftOfTharonjaTrigger::IsActive()
|
||||||
{
|
{
|
||||||
return bool(bot->HasAura(SPELL_GIFT_OF_THARONJA));
|
return bot->HasAura(SPELL_GIFT_OF_THARONJA);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user