This commit is contained in:
aozhiwei 2023-03-31 14:27:31 +08:00
parent 4dad5b8cca
commit bbf5535158
2 changed files with 6 additions and 0 deletions

View File

@ -174,3 +174,8 @@ behaviac::EBTStatus BaseAgent::CoAttackTarget(int target_id)
"CoAttackTarget"
);
}
bool BaseAgent::HasBuffEffect(int buff_effect)
{
return owner_->HasBuffEffect(buff_effect);
}

View File

@ -17,6 +17,7 @@ public:
bool IsGameOver();
bool HasTarget(float range);
bool HasBuffEffect(int buff_effect);
behaviac::EBTStatus CoAttackTarget(int target_id);