mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-25 04:45:57 +00:00
Bot should be more consistent at doing quest +several fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user