Check debuff owner on target

This commit is contained in:
郑佩茹
2023-03-21 13:25:41 -06:00
parent ab2420d89a
commit 5d17dfb2fe
5 changed files with 42 additions and 9 deletions

View File

@@ -102,7 +102,7 @@ bool OutNumberedTrigger::IsActive()
bool BuffTrigger::IsActive()
{
Unit* target = GetTarget();
return SpellTrigger::IsActive() && !botAI->HasAura(spell, target, true);
return SpellTrigger::IsActive() && !botAI->HasAura(spell, target, false, checkIsOwner);
}
Value<Unit*>* BuffOnPartyTrigger::GetTargetValue()