Aggresive water elemental

This commit is contained in:
Yunfan Li
2024-08-14 18:28:14 +08:00
parent 2ddaae9ef0
commit 2a5b7dcb61
4 changed files with 33 additions and 3 deletions

View File

@@ -79,9 +79,7 @@ bool SummonAction::Execute(Event event)
if (Pet* pet = bot->GetPet())
{
pet->SetReactState(REACT_PASSIVE);
pet->GetCharmInfo()->SetIsCommandFollow(true);
pet->GetCharmInfo()->IsReturning();
botAI->PetFollow();
}
if (master->GetSession()->GetSecurity() >= SEC_PLAYER)