mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 15:57:58 +00:00
[Bot] Add EVENT_TRADE Support to Bots. (#2560)
* [Bot] Add EVENT_TRADE Support to Bots. * Fixed issue with duplicate items after Event Trade * Update logic * Add CalcBotStats call after Bot Trade Event * Fix Lua EVENT_TRADE. * Formatting. * More formatting. Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
This commit is contained in:
@@ -1234,6 +1234,10 @@ bool QuestParserCollection::BotHasQuestSubGlobal(QuestEventID evt) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool QuestParserCollection::BotHasQuestSub(QuestEventID evt) {
|
||||
return BotHasQuestSubLocal(evt) || BotHasQuestSubGlobal(evt);
|
||||
}
|
||||
|
||||
QuestInterface *QuestParserCollection::GetQIByBotQuest(std::string &filename) {
|
||||
if (!zone || !zone->IsLoaded()) {
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user