Closed speedwaystar closed 4 years ago
lets compare with https://github.com/xmyno/Broker_WorldQuests/pull/37 :)
@speedwaystar What about the Nazjatar Bodyguards, while we are talking about rep?
https://www.wowhead.com/currency=1745/nazjatar-bodyguard-neri-sharpfin https://www.wowhead.com/currency=1746/nazjatar-bodyguard-vim-brineheart https://www.wowhead.com/currency=1747/nazjatar-bodyguard-poen-gillbrack https://www.wowhead.com/currency=1748/nazjatar-bodyguard-bladesman-inowari https://www.wowhead.com/currency=1749/nazjatar-bodyguard-hunter-akana https://www.wowhead.com/currency=1750/nazjatar-bodyguard-farseer-ori
I've tagged an alpha build with the changes merged from both of you. Can one of you check if everything is okay? Can't test myself at the moment.
Also thanks for collecting these changes!
@yoshimo Are these bodyguard currencies world quest rewards? Maybe we can add them to this https://github.com/xmyno/Broker_WorldQuests/blob/master/WorldQuests.lua#L131
Kind of. Each day there is a blue quest in nazjatar where you select a bodyguard. When you chose one out of three 3 new quests appear on the map. They are marked with a blue ! and have the type combat ally quest. On the ptr they partially counted a worldquests. The reward where xp for the guard, mana pearls and gold. Not sure if that fulfills the definition of this addon and wether there are other quests to level them up. War resources quest from the table in Dazarlor maybe.
If they are in the quests list returned by C_TaskQuest.GetQuestsForPlayerByMapID(mapId)
I see no reason not to add them via the currency id array that I posted.
edit: Nevermind, It's experience, not reputation. So we would need something kind of new for it, but that wouldn't be a big hassle.
[6]={ mapID=1355, isCombatAllyQuest=true, questId=56035, y=0.2368351817131, x=0.48420137166977, numObjectives=1, isQuestStart=true, childDepth=0, inProgress=false, isDaily=true }, [7]={ mapID=1355, isCombatAllyQuest=false, questId=56057, y=0.3595604300499, x=0.83921849727631, numObjectives=3, isQuestStart=false, childDepth=0, inProgress=false, isDaily=false },
yes that lua function reports these quests.
I downloaded the zip from this commit: https://github.com/xmyno/Broker_WorldQuests/commit/a06a79cc7664692d1e29ecdad06a1062cf31254b
It's been working fine from what I can tell, I've not got to Mechagon yet but it is already listing the pet battle there. After you choose the bodyguard the three quests they offer show up as blue exclamation marks on the map, which indicates to me they're daily quests not world quests. They seem to have gone for a combination of the old daily quests and the new WQ ones they added with Legion.
might have missed a few things, but this is mostly what needs to be done: