mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
corrections
This commit is contained in:
parent
1a47bf429b
commit
161a29657b
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user