Bot should be more consistent at doing quest +several fixes

This commit is contained in:
Atidot3
2024-07-30 14:45:52 +02:00
parent 30a25ba13f
commit 0008d84f71
34 changed files with 986 additions and 609 deletions

View File

@@ -114,6 +114,12 @@ bool RpgEndQuestTrigger::IsActive()
if (AI_VALUE2(bool, "can turn in quest npc", guidP.GetEntry()))
return true;
if (!AI_VALUE2(bool, "can accept quest low level npc", guidP.GetEntry()))
return false;
if (guidP.GetEntry() == AI_VALUE(TravelTarget*, "travel target")->getEntry())
return true;
return false;
}