/
Demon Hunter - Vengeance - Aldrachi Warblades.xml
393 lines (339 loc) · 19.1 KB
/
Demon Hunter - Vengeance - Aldrachi Warblades.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
<HBProfile xsi:noNamespaceSchemaLocation="../../Schemas/QuestProfileSchema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Original contribution by EchoTiger -->
<Name>Demon Hunter - Vengeance - Aldrachi Warblades ($ShortHash$)</Name>
<MinDurability>0.3</MinDurability>
<MinFreeBagSlots>3</MinFreeBagSlots>
<SellGrey>true</SellGrey>
<SellWhite>true</SellWhite>
<SellGreen>true</SellGreen>
<SellBlue>true</SellBlue>
<SellPurple>false</SellPurple>
<MailGrey>false</MailGrey>
<MailWhite>true</MailWhite>
<MailGreen>true</MailGreen>
<MailBlue>true</MailBlue>
<MailPurple>true</MailPurple>
<TargetElites>true</TargetElites>
<AvoidMobs>
</AvoidMobs>
<Blackspots>
</Blackspots>
<Blacklist>
</Blacklist>
<Mailboxes>
</Mailboxes>
<Vendors>
</Vendors>
<!-- INITORDER COMMENT
<InitOrder>
Perhaps add detection for loading the class hall if player hasn't unlocked this zone yet.
<Code File="Misc\RunLua" Lua="SetCVar('AutoLootDefault', 1)" />
<Code File="EnablePlugin" Names="Anti Drown" />
<Code File="EnablePlugin" Names="Refreshment Detection" />
<Code File="Misc\ProfileCompatibilityInfo" AllowBrokenAddOns="true" AllowBrokenPlugIns="true" />
<LootMobs Value="true" />
<TargetingDistance Value="45" /> Use LevelBot default
</InitOrder>
END INITORDER COMMENT -->
<QuestOrder>
<!-- Check function status -->
<Code File="RunCode" Type="Definition">
<![CDATA[
private static bool? profileFunctionsEnabled => (bool?)AppDomain.CurrentDomain.GetData("QuestingProfiles_FunctionsEnabled");
private static bool IsStoreProfile(string path) => path.StartsWith("store://");
private static string Slashify(string path) => IsStoreProfile(path) ? path.Replace(@"\", "/") : path.Replace("/", @"\");
public __CompiledBatchClass__()
{
if (profileFunctionsEnabled == null || profileFunctionsEnabled == false)
{
Bots.Professionbuddy.PBLog.Log(Colors.MediumPurple, "[Profile Message!]: ", Colors.Yellow, "Please stand by as the functions are being activated!");
LoadProfile(@"..\..\..\Functions\Activate Functions.xml");
}
}
private static void LoadProfile(string path)
{
var profile = GetNewPath(path);
if (!IsStoreProfile(profile) && !File.Exists(profile))
{
Bots.Professionbuddy.PBLog.Log(Colors.MediumPurple, "[Profile Message!]: ", Colors.Yellow, "Profile does not exist.\n" + profile);
return;
}
Bots.Professionbuddy.PBLog.Log(Colors.MediumPurple, "[Profile Message!]: ", Colors.Yellow, "Loading: " + profile);
ProfileManager.LoadNew(profile, false);
}
private static string GetNewPath(string path)
{
if (IsStoreProfile(path))
return Slashify(path);
var currentProfile = ProfileManager.XmlLocation;
if (IsStoreProfile(currentProfile))
return Slashify(currentProfile + "/../" + path);
var absolutePath = Path.Combine(Path.GetDirectoryName(currentProfile), path);
absolutePath = Path.GetFullPath(absolutePath);
var canonicalPath = new Uri(absolutePath).LocalPath;
return Slashify(canonicalPath);
}]]>
</Code>
<!-- END Check function status -->
<If Condition="Me.IsHorde" >
<Code File="LoadProfile" ProfileName="..\..\..\Autoloader.xml" />
</If>
<!-- RunCode Methods -->
<Code File="RunCode">
<![CDATA[
Bots.Professionbuddy.PBLog.Log(System.Windows.Media.Colors.MediumPurple, "> [Profile Initialization Status] ", System.Windows.Media.Colors.CornflowerBlue, "\n Auto-Looting :: Enabled\n Looting :: Enabled\n Game Addons :: Disabled");
Lua.DoString("SetCVar('AutoLootDefault', 1);");
Lua.DoString("SetCVar('autoDismountFlying', 1);");
CharacterSettings.Instance.LootMobs = true;
CharacterSettings.Instance.Save();
Logging.Write(System.Windows.Media.Colors.MediumPurple, "> [Ready to bot!]");
]]>
</Code>
<Code File="RunCode" Type="Definition">
<![CDATA[
bool DoQuest(params uint[] questIds)
{
foreach (var questId in questIds)
{
if (HasQuest(questId) && !IsQuestCompleted(questId)) return true;
}
return false;
}
bool NeedsQuest(params uint[] questIds)
{
foreach (var questId in questIds)
{
if (!HasQuest(questId) && !IsQuestCompleted(questId)) return true;
}
return false;
}
bool NeedsBreadcrumbQuest(params uint[] questIds)
{
foreach (var questId in questIds)
{
if (IsQuestCompleted(questId)) return false;
}
return true;
}
bool QuestDone(params uint[] questIds)
{
foreach (var questId in questIds)
{
if (HasQuest(questId) && IsQuestCompleted(questId)) return true;
}
return false;
}
bool QuestFlaggedCompleted(params uint[] questIds)
{
foreach (var questId in questIds)
{
return Lua.GetReturnVal<bool>($"return IsQuestFlaggedCompleted({questId});", 0);
}
return false;
}
async Task SkipCutscene(int preWait = 3000, int postWait = 3000)
{
// Add detection of cutscene here.
await Coroutine.Sleep(preWait);
// Test and improve the working method.
Lua.DoString("MovieFrame:StopMovie(); CinematicFrame_CancelCinematic(); StopCinematic();");
await Coroutine.Sleep(postWait);
}
]]>
</Code>
<!-- END RunCode Methods -->
<!-- Get Continuation Quest -->
<If Condition="IsQuestCompleted(42869) && !(IsQuestCompleted(40249) || IsQuestCompleted(41863)) && NeedsQuest(44379, 44383)" > <!-- Using On Eternal Vigil (42869) to determine if we've already got the first artifact. -->
<Code File="InteractWith" MobIds="108572, 108571" WaitTime="1250" X="1551.054" Y="1413.816" Z="237.1085" />
<Code File="Misc\RunLua" WaitTime="1500" Lua="QuestFrameAcceptButton:Click();" />
<Code File="Misc\RunLua" WaitTime="1500" Lua="QuestChoiceFrameOption1.OptionButton:Click();" />
<Code File="Misc\RunLua" WaitTime="1500" Lua="StaticPopup1Button2:Click();" />
</If>
<!-- END Get Continuation Quest -->
<!-- Second Artifact -->
<If Condition="QuestDone(44379, 44383)" >
<Code File="InteractWith" MobIds="108572, 108571" WaitTime="1250" X="1551.054" Y="1413.816" Z="237.1085" />
<Code File="Misc\RunLua" WaitTime="1500" Lua="GossipTitleButton1:Click();" />
<Code File="Misc\RunLua" Lua="QuestFrameCompleteQuestButton:Click();" />
</If>
<!-- END Second Artifact -->
<!-- Story: Artifact Weapon - Aldrachi Warblades -->
<!-- Overly complicated due to either Kayn or Altruis being here -->
<If Condition="(HasQuest(40247) || HasQuest(41803)) && Me.HasAura(213170)" > <!-- Picked up Making Arragements for second artifact weapon. -->
<Code File="InteractWith" MobId="247007" WaitTime="3500" X="1457.668" Y="1411.165" Z="244.9198" TerminateWhen="!Me.HasAura(213170)" />
<Code File="MyCTM" X="-845.8937" Y="4257.475" Z="746.2807" TerminateWhen="Me.Z < 746" /> <!-- Walk off ledge -->
</If>
<If Condition="(!IsQuestCompleted(40247) || !IsQuestCompleted(41803)) && !Me.HasAura(213170)" >
<MoveTo X="-851.9022" Y="4256.646" Z="746.2833" />
</If>
<If Condition="Unit(99247) != null || Unit(94902) != null || Unit(94902) != null || Unit(108572) != null" > <!-- Kayn -->
<If Condition="!Me.HasAura(213170)" > <!-- First artifact weapon. -->
<PickUp QuestName="Asking a Favor" QuestId="40247" GiverName="Kayn Sunfury" GiverId="99247" X="-852.2726" Y="4256.074" Z="746.2851" />
<TurnIn QuestName="Asking a Favor" QuestId="40247" TurnInName="Archmage Khadgar" TurnInId="90417" X="-848.4618" Y="4638.848" Z="749.5472" />
</If>
<If Condition="Me.HasAura(213170) || (DoQuest(40247) && Me.HasAura(213170))" > <!-- Second artifact weapon, class hall -->
<PickUp Nav="Fly" QuestName="Asking a Favor" QuestId="40247" GiverName="Kayn Sunfury" GiverId="108572" X="1550.898" Y="1413.856" Z="237.1085" />
<Code File="InteractWith" MobId="247007" WaitTime="3500" X="1457.668" Y="1411.165" Z="244.9198" TerminateWhen="!Me.HasAura(213170)" />
<Code File="MyCTM" X="-845.8937" Y="4257.475" Z="746.2807" TerminateWhen="Me.Z < 746" /> <!-- Walk off ledge -->
<TurnIn QuestName="Asking a Favor" QuestId="40247" TurnInName="Archmage Khadgar" TurnInId="90417" X="-848.4618" Y="4638.848" Z="749.5472" />
</If>
</If>
<If Condition="Unit(99343) != null || Unit(99254) != null || Unit(103156) != null || Unit(108571) != null" > <!-- Altruis -->
<If Condition="!Me.HasAura(213170)" > <!-- First artifact weapon. -->
<PickUp QuestName="Asking a Favor" QuestId="41803" GiverName="Altruis the Sufferer" GiverId="99254" X="-852.2726" Y="4256.074" Z="746.2851" />
<TurnIn QuestName="Asking a Favor" QuestId="41803" TurnInName="Archmage Khadgar" TurnInId="90417" X="-848.4618" Y="4638.848" Z="749.5472" />
</If>
<If Condition="HasQuest(41803) || (DoQuest(41803) && Me.HasAura(213170))" > <!-- Second artifact weapon, class hall -->
<PickUp QuestName="Asking a Favor" QuestId="41803" GiverName="Altruis the Sufferer" GiverId="108571" X="-852.2726" Y="4256.074" Z="746.2851" />
<Code File="InteractWith" MobId="247007" WaitTime="3500" X="1457.668" Y="1411.165" Z="244.9198" TerminateWhen="!Me.HasAura(213170)" />
<Code File="MyCTM" X="-845.8937" Y="4257.475" Z="746.2807" TerminateWhen="Me.Z < 746" /> <!-- Walk off ledge -->
<TurnIn QuestName="Asking a Favor" QuestId="41803" TurnInName="Archmage Khadgar" TurnInId="90417" X="-848.4618" Y="4638.848" Z="749.5472" />
</If>
</If>
<!-- END last comment -->
<PickUp QuestName="Ask and You Shall Receive" QuestId="41804" GiverName="Archmage Khadgar" GiverId="90417" X="-848.4618" Y="4638.848" Z="749.5472" />
<While Condition="DoQuest(41804)" >
<MoveTo X="-832.459" Y="4661.465" Z="767.7195" />
<Code File="WaitTimer" QuestId="41804" QuestObjectiveIndex="1" WaitTime="65000" />
<Code File="InteractWith" MobId="248521" NonCompeteDistance="0" InteractByLooting="true" QuestId="41804" QuestObjectiveIndex="2" X="-829.4028" Y="4653.744" Z="768.9847" />
</While>
<TurnIn QuestName="Ask and You Shall Receive" QuestId="41804" TurnInName="Archmage Khadgar" TurnInId="90417" X="-848.4639" Y="4638.844" Z="749.5472" />
<PickUp QuestName="Return to Jace" QuestId="41806" GiverName="Archmage Khadgar" GiverId="90417" X="-848.4639" Y="4638.844" Z="749.5472" />
<TurnIn QuestName="Return to Jace" QuestId="41806" TurnInName="Jace Darkweaver" TurnInId="99262" X="-864.8663" Y="4260.524" Z="745.1188" />
<PickUp QuestName="Establishing a Connection" QuestId="41807" GiverName="Jace Darkweaver" GiverId="99262" X="-864.8663" Y="4260.524" Z="745.1188" />
<While Condition="DoQuest(41807)" >
<Code File="InteractWith" MobId="248531" QuestId="41807" QuestObjectiveIndex="1" X="-868.2986" Y="4261.415" Z="745.0586" />
<Code File="WaitTimer" QuestId="41807" WaitTime="60000" />
</While>
<TurnIn QuestName="Establishing a Connection" QuestId="41807" TurnInName="Jace Darkweaver" TurnInId="99262" X="-864.8663" Y="4260.524" Z="745.1188" />
<If Condition="!HasQuest(40249) && !IsQuestCompleted(40249) && !HasQuest(41863) && !IsQuestCompleted(41863)" >
<MoveTo X="-850.725" Y="4256.938" Z="746.2841" />
<If Condition="Unit(99247) != null" > <!-- Kayn -->
<PickUp QuestName="Vengeance Will Be Ours" QuestId="40249" GiverName="Kayn Sunfury" GiverId="99247" X="-852.2726" Y="4256.074" Z="746.2852" />
</If>
<If Condition="Unit(99254) != null" > <!-- Altruis -->
<PickUp QuestName="Vengeance Will Be Ours" QuestId="41863" GiverName="Altruis the Sufferer" GiverId="99254" X="-852.2726" Y="4256.074" Z="746.2852" />
</If>
</If>
<While Condition="DoQuest(40249, 41863)" >
<If Condition="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber == 0 && !HasItem(128832)" >
<Code File="InteractWith" MobId="99250" WaitForNpcs="false" X="-844.6129" Y="4253.909" Z="746.2827" />
<Code File="WaitTimer" WaitTime="25000" TerminateWhen="!Me.InVehicle" />
</If>
<If Condition="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber == 1" >
<Code File="InteractWith" MobId="98882" X="-2507.5" Y="115.4566" Z="9.387377" TerminateWhen="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber != 1" />
</If>
<If Condition="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber == 2" >
<DisableBehavior Name="Pull" />
<MoveTo X="-2602.782" Y="78.46842" Z="34.11992" />
<Code File="InteractWith" MobId="248517" WaitForNpcs="false" IgnoreCombat="true" X="-2617.91" Y="79.28299" Z="38.78796" />
<MoveTo X="-2635.686" Y="38.81975" Z="44.22474" />
<Code File="InteractWith" MobId="248573" WaitForNpcs="false" IgnoreCombat="true" X="-2649.646" Y="20.09896" Z="48.62485" />
<EnableBehavior Name="Pull" />
</If>
<If Condition="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber == 3" >
<Code File="KillUntilComplete" MobIds="105095, 105094" X="-2751.17" Y="-69.86459" Z="46.63633" TerminateWhen="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber != 3" />
</If>
<If Condition="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber == 4" >
<Code File="Hooks\DoWhen" ActivityName="KeepMoving" AllowUseDuringCombat="true" UseAtInterval="2000" >
<If Condition="Me.Combat" >
<If Condition="Chance(50)" >
<Code File="RunCode" Code="WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft, TimeSpan.FromMilliseconds(850));" />
<Else>
<Code File="RunCode" Code="WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft, TimeSpan.FromMilliseconds(850));" />
</Else>
</If>
</If>
</Code>
<MoveTo X="-2748.475" Y="-77.36726" Z="46.63644" />
<Code File="WaitTimer" WaitTime="5000" TerminateWhen="Me.Combat" /> <!-- Let Gorgonnash get away from lava. -->
<Code File="KillUntilComplete" MobId="99046" X="-2784.061" Y="-95.17535" Z="47.39761" TerminateWhen="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber != 4" />
<Code File="Hooks\DoWhen" ActivityName="KeepMoving" Command="Remove" />
</If>
<If Condition="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber == 5" >
<MoveTo X="-2740.7" Y="-133.0053" Z="48.47334" />
<Code File="RunCode" Code="SpellManager.Cast(188501);" />
<Code File="WaitTimer" WaitTime="5000" TerminateWhen="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber != 5" />
</If>
<If Condition="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber == 6" >
<Code File="InteractWith" Range="9" MobId="245119" WaitForNpcs="false" X="-2739.22" Y="-137.7965" Z="48.47856" />
<Code File="KillUntilComplete" MobId="99184" X="-2748.21" Y="-327.561" Z="38.2853" TerminateWhen="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber != 6" />
</If>
<If Condition="Bots.DungeonBuddy.Helpers.ScenarioInfo.Current.CurrentStageNumber == 7" >
<Code File="InteractWith" MobId="248785" InteractByLooting="true" WaitTime="1500" X="-2748.406" Y="-328.1875" Z="38.34308" />
<Code File="Misc\RunLua" Lua="LootButton1:Click();" /> <!-- Extra code in case the IW doesn't loot. -->
<Code File="WaitTimer" WaitTime="10000" /> <!-- Wait for little cinematic. -->
</If>
<Code File="InteractWith" MobId="99227" QuestId="40249" QuestObjectiveIndex="3" X="-2742.73" Y="-301.316" Z="30.97247" />
<Code File="InteractWith" MobId="99227" QuestId="41863" QuestObjectiveIndex="3" X="-2742.73" Y="-301.316" Z="30.97247" />
<Code File="WaitTimer" WaitTime="18000" />
</While>
<If Condition="HasQuest(40249)" >
<If Condition="!IsQuestCompleted(42869)" > <!-- Prevent this turnin from running if we're on the second artifact quest -->
<TurnIn QuestName="Vengeance Will Be Ours" QuestId="40249" TurnInName="Kor'vas Bloodthorn" TurnInId="102799" X="-835.9692" Y="4265.4" Z="746.2537" />
</If>
<If Condition="IsQuestCompleted(42869)" > <!-- Prevent this turnin from running if we're on the second artifact quest -->
<If Condition="!Me.HasAura(213170)" >
<MoveTo X="-818.1966" Y="4265.469" Z="746.2773" />
<Code File="ForcedDismount" />
<Code File="MyCTM" X="-821.7453" Y="4236.09" Z="743.0304" />
<Code File="WaitTimer" WaitTime="750" />
<Code File="RunCode"><![CDATA[
Me.SetFacing(4);
await Coroutine.Sleep(750);
WoWMovement.Move(WoWMovement.MovementDirection.JumpAscend);
await Coroutine.Sleep(300);
WoWMovement.Move(WoWMovement.MovementDirection.JumpAscend);
SpellManager.Cast(131347);
await Coroutine.Sleep(4000);
]]>
</Code>
<Code File="MyCTM" X="-942.347" Y="4085.248" Z="648.2783" />
<Code File="InteractWith" MobId="251286" NonCompeteDistance="0" X="-963.8559" Y="4066.109" Z="648.1834" />
</If>
<If Condition="HasQuest(40249)" > <!-- Second artifact turn in -->
<TurnIn QuestName="Vengeance Will Be Ours" QuestId="40249" TurnInName="Kor'vas Bloodthorn" TurnInId="103761" X="1551.464" Y="1410.891" Z="237.1088" />
</If>
</If>
</If>
<If Condition="HasQuest(41863)" >
<If Condition="!IsQuestCompleted(42869)" > <!-- Prevent this turnin from running if we're on the second artifact quest -->
<TurnIn QuestName="Vengeance Will Be Ours" QuestId="41863" TurnInName="Kor'vas Bloodthorn" TurnInId="102799" X="-835.9692" Y="4265.4" Z="746.2537" />
</If>
<If Condition="IsQuestCompleted(42869)" > <!-- Prevent this turnin from running if we're on the second artifact quest -->
<If Condition="!Me.HasAura(213170)" >
<MoveTo X="-818.1966" Y="4265.469" Z="746.2773" />
<Code File="ForcedDismount" />
<Code File="MyCTM" X="-821.7453" Y="4236.09" Z="743.0304" />
<Code File="WaitTimer" WaitTime="750" />
<Code File="RunCode"><![CDATA[
Me.SetFacing(4);
await Coroutine.Sleep(750);
WoWMovement.Move(WoWMovement.MovementDirection.JumpAscend);
await Coroutine.Sleep(300);
WoWMovement.Move(WoWMovement.MovementDirection.JumpAscend);
SpellManager.Cast(131347);
await Coroutine.Sleep(4000);
]]>
</Code>
<Code File="MyCTM" X="-942.347" Y="4085.248" Z="648.2783" />
<Code File="InteractWith" MobId="251286" NonCompeteDistance="0" X="-963.8559" Y="4066.109" Z="648.1834" />
</If>
<If Condition="HasQuest(41863)" > <!-- Second artifact turn in -->
<TurnIn QuestName="Vengeance Will Be Ours" QuestId="41863" TurnInName="Kor'vas Bloodthorn" TurnInId="103761" X="1551.464" Y="1410.891" Z="237.1088" />
</If>
</If>
</If>
<!-- END Story: Artifact Weapon - Aldrachi Warblades -->
<If Condition="!IsQuestCompleted(42869)" >
<Code File="LoadProfile" ProfileName="../Class Hall Loaders/Demon Hunter.xml" />
</If>
</QuestOrder>
</HBProfile>
<!-- Notes:
Eternal Vigil (42869) is used to determine if we've got the first artifact or not because NPC positions change after this quest.
Checking if this quest is completed can be used to determine where the NPCs are at for the bot and where we should look for them.
Eternal Vigil (42869) is completed directly after completing obtaining your first artifact weapon, so it should be reliable enough to check with.
Contiuing the Legend is the quest to unlock your second artifact choice.
One Last Adventure is the quest to unlock your third artifact choice.
-->