/
002384_[110] Broken Shore.xml
7465 lines (7364 loc) · 299 KB
/
002384_[110] Broken Shore.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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-16"?>
<EasyQuestProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<QuestsSorted>
<QuestsSorted Action="RunCode" NameClass="// Map ID = Broken Shore // 
robotManager.Helpful.Var.SetVar("WorldQuestCurrentMapId", 1021);" />
<QuestsSorted Action="WriteLog" NameClass="Broken Shore world quests profile start" />
<QuestsSorted Action="If" NameClass="/* REQUIRED: PREQUEST */ !Quest.GetQuestCompleted(46734)" />
<QuestsSorted Action="GoToStep" NameClass="Next" />
<QuestsSorted Action="EndIf" NameClass="" />
<QuestsSorted Action="Pulse" NameClass="TravelToBrokenShore" />
<QuestsSorted Action="Pulse" NameClass="DumpLegionfallWarSupplies" />
<QuestsSorted Action="Pulse" NameClass="BrokenShoreConstructionBuff" />
<QuestsSorted Action="TurnIn" NameClass="TheBountiesofLegionfall" />
<QuestsSorted Action="None" NameClass="--- SOUTH ---" />
<QuestsSorted Action="Pulse" NameClass="FowlPlay3" />
<QuestsSorted Action="Pulse" NameClass="FowlPlay2" />
<QuestsSorted Action="Pulse" NameClass="FowlPlay1" />
<QuestsSorted Action="Pulse" NameClass="NoSoldierLeftBehind1" />
<QuestsSorted Action="Pulse" NameClass="NoSoldierLeftBehind2" />
<QuestsSorted Action="Pulse" NameClass="WingedTerrors2" />
<QuestsSorted Action="Pulse" NameClass="WingedTerrors1" />
<QuestsSorted Action="Pulse" NameClass="ElementalAbuse" />
<QuestsSorted Action="Pulse" NameClass="AGiantProblem2Group" />
<QuestsSorted Action="Pulse" NameClass="AGiantProblem1Group" />
<QuestsSorted Action="Pulse" NameClass="KrakenEggs" />
<QuestsSorted Action="RunCode" NameClass="WorldQuest.SetDefaultSettings();" />
<QuestsSorted Action="RunCode" NameClass="/* Fel Fire and Ice */
 if (WorldQuest.Has(47132))
 {
 Thread t = new Thread(() =>
 {
 while (robotManager.Products.Products.IsStarted)
 {
 if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
 {
 if (WorldQuest.Complete(47132))
 break;

 if (Quest.HasQuest(47132))
 Questing.UseExtraButton();
 }
 Thread.Sleep(9 * 1000);
 }
 });
 t.Start();
 }" />
<QuestsSorted Action="Pulse" NameClass="FelFireandIce" />
<QuestsSorted Action="Pulse" NameClass="CreepingFel" />
<QuestsSorted Action="Pulse" NameClass="CreepingFel2" />
<QuestsSorted Action="Pulse" NameClass="ApocronRaid" />
<QuestsSorted Action="Pulse" NameClass="FlightMastersWhistle" />
<QuestsSorted Action="None" NameClass="--- WEST ---" />
<QuestsSorted Action="Pulse" NameClass="Felrglrglrglrgl" />
<QuestsSorted Action="Pulse" NameClass="ATadMoreCorruption1" />
<QuestsSorted Action="Pulse" NameClass="ATadMoreCorruption2" />
<QuestsSorted Action="Pulse" NameClass="TortureChamber2" />
<QuestsSorted Action="Pulse" NameClass="TortureChamber1" />
<QuestsSorted Action="Pulse" NameClass="FelCorruptedFeathers3" />
<QuestsSorted Action="Pulse" NameClass="FelCorruptedFeathers2" />
<QuestsSorted Action="Pulse" NameClass="FelCorruptedFeathers" />
<QuestsSorted Action="Pulse" NameClass="ContagionContainment2" />
<QuestsSorted Action="Pulse" NameClass="ContagionContainment1" />
<QuestsSorted Action="Pulse" NameClass="OccultistOnslaught2" />
<QuestsSorted Action="Pulse" NameClass="OccultistOnslaught1" />
<QuestsSorted Action="Pulse" NameClass="FlightMastersWhistle" />
<QuestsSorted Action="None" NameClass="--- CENTER ---" />
<QuestsSorted Action="Pulse" NameClass="MinionKillThatOneTooGroup" />
<QuestsSorted Action="Pulse" NameClass="RollingThunder" />
<QuestsSorted Action="Pulse" NameClass="BehindEnemyPortals" />
<QuestsSorted Action="Pulse" NameClass="LegionCommandShipOut" />
<QuestsSorted Action="Pulse" NameClass="BehindEnemyPortalsSpiders" />
<QuestsSorted Action="Pulse" NameClass="BybeeLairOut" />
<QuestsSorted Action="None" NameClass="BehindEnemyPortalsRobbing" />
<QuestsSorted Action="None" NameClass="WhereThereisaWhip" />
<QuestsSorted Action="Pulse" NameClass="StoneboundSoldiers1" />
<QuestsSorted Action="Pulse" NameClass="StoneboundSoldiers3" />
<QuestsSorted Action="Pulse" NameClass="StoneboundSoldiers2" />
<QuestsSorted Action="Pulse" NameClass="WeDidntStarttheFire2" />
<QuestsSorted Action="Pulse" NameClass="WeDidntStarttheFire" />
<QuestsSorted Action="Pulse" NameClass="HellishScavengers2" />
<QuestsSorted Action="Pulse" NameClass="HellishScavengers1" />
<QuestsSorted Action="Pulse" NameClass="PowerofOurEnemy1" />
<QuestsSorted Action="Pulse" NameClass="PowerofOurEnemy2" />
<QuestsSorted Action="Pulse" NameClass="PowerofOurEnemy3" />
<QuestsSorted Action="Pulse" NameClass="Arachnicide1" />
<QuestsSorted Action="Pulse" NameClass="Arachnicide2" />
<QuestsSorted Action="Pulse" NameClass="Arachnicide3" />
<QuestsSorted Action="Pulse" NameClass="Arachnicide4" />
<QuestsSorted Action="Pulse" NameClass="SetYouUptheBomb" />
<QuestsSorted Action="Pulse" NameClass="ExterminatingwithImpunity" />
<QuestsSorted Action="Pulse" NameClass="TheWailingDead" />
<QuestsSorted Action="Pulse" NameClass="CreepyCrawlies" />
<QuestsSorted Action="Pulse" NameClass="TheShackledVoid1" />
<QuestsSorted Action="Pulse" NameClass="TheShackledVoid2" />
<QuestsSorted Action="Pulse" NameClass="ArachnidSuperiority2" />
<QuestsSorted Action="Pulse" NameClass="ArachnidSuperiority1" />
<QuestsSorted Action="RunCode" NameClass="wManager.wManagerSetting.CurrentSetting.UseFlyingMount = false;
 wManager.Wow.Bot.Tasks.MountTask.DismountMount();" />
<QuestsSorted Action="Pulse" NameClass="TheTormentedReturn" />
<QuestsSorted Action="RunCode" NameClass="WorldQuest.SetDefaultSettings();" />
<QuestsSorted Action="Pulse" NameClass="TheBurningKeys" />
<QuestsSorted Action="Pulse" NameClass="BreakTheirGarrison" />
<QuestsSorted Action="Pulse" NameClass="JudgementofOdyn" />
<QuestsSorted Action="Pulse" NameClass="EveryonetotheFrontGroup" />
<QuestsSorted Action="Pulse" NameClass="MalificusRaid" />
<QuestsSorted Action="Pulse" NameClass="BrutallusRaid" />
<QuestsSorted Action="Pulse" NameClass="OnBorrowedWings" />
<QuestsSorted Action="Pulse" NameClass="OnBorrowedWings2" />
<QuestsSorted Action="Pulse" NameClass="RulesoftheHuntGroup" />
<QuestsSorted Action="Pulse" NameClass="StandGroup" />
<QuestsSorted Action="Pulse" NameClass="IFelBatForYou2" />
<QuestsSorted Action="Pulse" NameClass="IFelBatForYou1" />
<QuestsSorted Action="Pulse" NameClass="DutysEnd" />
<QuestsSorted Action="Pulse" NameClass="ByWaterBePurged" />
<QuestsSorted Action="Pulse" NameClass="FlightMastersWhistle" />
<QuestsSorted Action="None" NameClass="--- NORTH ---" />
<QuestsSorted Action="Pulse" NameClass="AncientBones1" />
<QuestsSorted Action="Pulse" NameClass="AncientBones2" />
<QuestsSorted Action="Pulse" NameClass="RelicHunting1" />
<QuestsSorted Action="Pulse" NameClass="RelicHunting2" />
<QuestsSorted Action="Pulse" NameClass="GemsofDestruction" />
<QuestsSorted Action="Pulse" NameClass="RestlessSpirits" />
<QuestsSorted Action="Pulse" NameClass="FlightMastersWhistle" />
<QuestsSorted Action="None" NameClass="--- EAST ---" />
<QuestsSorted Action="Pulse" NameClass="TheCostofPower3" />
<QuestsSorted Action="Pulse" NameClass="TheCostofPower2" />
<QuestsSorted Action="Pulse" NameClass="TheCostofPower1" />
<QuestsSorted Action="Pulse" NameClass="MudMucking" />
<QuestsSorted Action="Pulse" NameClass="TheCallofBattle2" />
<QuestsSorted Action="Pulse" NameClass="TheCallofBattle3" />
<QuestsSorted Action="Pulse" NameClass="TheCallofBattle1" />
<QuestsSorted Action="Pulse" NameClass="PlayingwithGreenFire2" />
<QuestsSorted Action="Pulse" NameClass="PlayingwithGreenFire" />
<QuestsSorted Action="Pulse" NameClass="BruteWrangling" />
<QuestsSorted Action="Pulse" NameClass="MissionFelraging" />
<QuestsSorted Action="Pulse" NameClass="MissionFelraging2" />
<QuestsSorted Action="Pulse" NameClass="WarMateriel" />
<QuestsSorted Action="Pulse" NameClass="ClearingthePath2" />
<QuestsSorted Action="Pulse" NameClass="ClearingthePath" />
<QuestsSorted Action="Pulse" NameClass="SivashRaid" />
<QuestsSorted Action="Pulse" NameClass="FlightMastersWhistle" />
<QuestsSorted Action="None" NameClass="ReturnToLegionfallBase" />
<QuestsSorted Action="TurnIn" NameClass="ArmiesofLegionfall" />
<QuestsSorted Action="TurnIn" NameClass="ParagonoftheLegionfallArmies" />
<QuestsSorted Action="StepName" NameClass="Next" />
<QuestsSorted Action="WriteLog" NameClass="Broken Shore world quests profile complete. Loading next profile after 30 secs: Suramar" />
<QuestsSorted Action="Wait" NameClass="30000" />
<QuestsSorted Action="LoadProfile" NameClass="camelot10\Legion world quests\[110] Suramar.xml" />
</QuestsSorted>
<NpcQuest>
<NPCQuest Id="120183" Name="Commander Chambers" GameObject="false">
<PickUpQuests>
<int>46998</int>
<int>46997</int>
<int>46904</int>
<int>46999</int>
<int>47009</int>
<int>47007</int>
<int>47008</int>
<int>47010</int>
<int>47016</int>
<int>47015</int>
<int>47012</int>
<int>47014</int>
</PickUpQuests>
<TurnInQuests>
<int>46998</int>
<int>46997</int>
<int>46904</int>
<int>46999</int>
<int>47009</int>
<int>47007</int>
<int>47008</int>
<int>47010</int>
<int>47016</int>
<int>47015</int>
<int>47012</int>
<int>47014</int>
<int>48641</int>
</TurnInQuests>
<Position X="-1625.09" Y="3201.695" Z="129.0469" Type="Flying" />
</NPCQuest>
<NPCQuest Id="120414" Name="Captain Ruysantos" GameObject="false">
<PickUpQuests />
<TurnInQuests>
<int>46777</int>
<int>46802</int>
</TurnInQuests>
<Position X="-1514.446" Y="3294.386" Z="108.4526" Type="Flying" />
</NPCQuest>
</NpcQuest>
<Npc>
<Npc>
<Position X="-1601.747" Y="3207.367" Z="129.4694" />
<Entry>120898</Entry>
<Name>Warmage Kath'leen</Name>
<GossipOption>-1</GossipOption>
<Active>true</Active>
<Faction>Neutral</Faction>
<Type>Vendor</Type>
<ContinentId>Troll_Raid</ContinentId>
</Npc>
<Npc>
<Position X="-1601.747" Y="3207.367" Z="129.4694" />
<Entry>120898</Entry>
<Name>Warmage Kath'leen</Name>
<GossipOption>-1</GossipOption>
<Active>true</Active>
<Faction>Neutral</Faction>
<Type>Repair</Type>
<ContinentId>Troll_Raid</ContinentId>
</Npc>
</Npc>
<Blackspots>
<Blackspot X="-1527.00427" Y="3242.622" Z="117.042419" Radius="15" />
<Blackspot X="-2026.18176" Y="3011.62378" Z="-25.25139" Radius="25" />
<Blackspot X="-2081.9563" Y="3231.80713" Z="3.08020282" Radius="15" />
<Blackspot X="-645.5931" Y="2492.87231" Z="85.29814" Radius="15" />
<Blackspot X="-656.946533" Y="2501.02148" Z="83.64829" Radius="15" />
<Blackspot X="-658.9262" Y="2514.39941" Z="83.66738" Radius="15" />
<Blackspot X="-661.9289" Y="2529.73584" Z="83.4266739" Radius="15" />
<Blackspot X="-765.258545" Y="2044.49426" Z="3.52153277" Radius="15" />
<Blackspot X="-1419.39221" Y="3137.16577" Z="14.3349438" Radius="35" />
<Blackspot X="-1390.42249" Y="3079.82422" Z="14.33781" Radius="30" />
<Blackspot X="-1406.46826" Y="3199.787" Z="6.993202" Radius="15" />
<Blackspot X="-1389.89014" Y="3240.29443" Z="5.398292" Radius="15" />
<Blackspot X="-1375.7666" Y="3273.4978" Z="9.4992075" Radius="15" />
<Blackspot X="-1350.17358" Y="3299.70825" Z="10.17228" Radius="15" />
<Blackspot X="-1307.52661" Y="3323.069" Z="8.165281" Radius="15" />
<Blackspot X="-1275.07727" Y="3342.39941" Z="9.963352" Radius="15" />
<Blackspot X="-1240.402" Y="3363.51416" Z="13.358736" Radius="15" />
<Blackspot X="-1397.109" Y="3176.98438" Z="11.57777" Radius="15" />
<Blackspot X="-1400.89392" Y="3219.39844" Z="9.154051" Radius="15" />
<Blackspot X="-1382.45471" Y="3254.03857" Z="9.513552" Radius="15" />
<Blackspot X="-1364.47473" Y="3288.21582" Z="10.7168941" Radius="15" />
<Blackspot X="-1333.58765" Y="3308.674" Z="11.5378752" Radius="15" />
<Blackspot X="-1291.15747" Y="3331.20728" Z="7.9177413" Radius="15" />
<Blackspot X="-1257.687" Y="3352.317" Z="9.251766" Radius="15" />
<Blackspot X="-2023.87585" Y="3252.97217" Z="4.544407" Radius="10" />
</Blackspots>
<BlackGuids />
<EasyQuests>
<EasyQuest>
<Name>+Broken Shore Construction Buff</Name>
<QuestId />
<QuestType>FullCSharpCode</QuestType>
<QuestClass xsi:type="FullCSharpCodeEasyQuestClass">
<Code>#if VISUAL_STUDIO
using robotManager.Helpful;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using wManager.Wow.Bot.Tasks;
using wManager.Wow.Class;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
using wManager.Wow.Enums;
#endif
public class BrokenShoreConstructionBuff : QuestClass
{
List<uint> _buffsID = new List<uint>()
{
// command center
239966, // http://www.wowhead.com/spell=239966/war-effort
240986, // http://www.wowhead.com/spell=240986/worthy-champions
240989, // http://www.wowhead.com/spell=240989/heavily-augmented
240987, // http://www.wowhead.com/spell=240987/well-prepared
// mage tower
237139, // http://www.wowhead.com/spell=237139/power-overwhelming
237137, // http://www.wowhead.com/spell=237137/knowledgeable
240980, // http://www.wowhead.com/spell=240980/light-as-a-feather
240979, // http://www.wowhead.com/spell=240979/reputable
// nether disruptor
239967, // http://www.wowhead.com/spell=239967/seal-your-fate
240985, // http://www.wowhead.com/spell=240985/reinforced-reins
239968, // http://www.wowhead.com/spell=239968/fate-smiles-upon-you
239969, // http://www.wowhead.com/spell=239969/netherstorm
};
List<int> _questsID = new List<int>()
{
// command center
46998, // http://www.wowhead.com/quest=46998/boon-of-the-command-center
46997, // http://www.wowhead.com/quest=46997/boon-of-the-command-center
46904, // http://www.wowhead.com/quest=46904/boon-of-the-command-center
46999, // http://www.wowhead.com/quest=46999/boon-of-the-command-center
// mage tower
47009, // http://www.wowhead.com/quest=47009/boon-of-the-mage-tower
47007, // http://www.wowhead.com/quest=47007/boon-of-the-mage-tower
47008, // http://www.wowhead.com/quest=47008/boon-of-the-mage-tower
47010, // http://www.wowhead.com/quest=47010/boon-of-the-mage-tower
// nether disruptor
47016, // http://www.wowhead.com/quest=47016/boon-of-the-nether-disruptor
47015, // http://www.wowhead.com/quest=47015/boon-of-the-nether-disruptor
47012, // http://www.wowhead.com/quest=47012/boon-of-the-nether-disruptor
47014, // http://www.wowhead.com/quest=47014/boon-of-the-nether-disruptor
};
List<int> _requiredQuestsID = new List<int>(){
46773, // http://www.wowhead.com/quest=46773/the-command-center
46772, // http://www.wowhead.com/quest=46772/the-mage-tower
46774, // http://www.wowhead.com/quest=46774/the-nether-disruptor
};
Vector3 _npcPosition = new Vector3(-1625.09, 3201.695, 129.0469, "None");
int _npcEntry = 120183;
int _attemptsMax = 0;
public BrokenShoreConstructionBuff()
{
Name = "+Broken Shore Construction Buff";
QuestId.AddRange(_questsID);
Step.AddRange(new[] { 0 });
_attemptsMax = 2;
}
void Log(string text)
{
Logging.WriteDebug("[" + Name + "] " + text);
}
public override bool Pulse()
{
GoToTask.ToPositionAndIntecractWithNpc(_npcPosition, _npcEntry);
Thread.Sleep(Others.Random(500, 1500));
Quest.CompleteQuest();
_attemptsMax -= 1;
Log("trying to get construction buff. attempts left=" + _attemptsMax);
return true;
}
public override bool IsComplete()
{
//no requirements
if (!CanConditions())
return true;
//too far
if (ObjectManager.Me.Position.DistanceTo2D(_npcPosition) > 100)
return true;
if (ObjectManager.Me.HaveBuff(_buffsID))
return true;
return _attemptsMax <= 0;
}
public override bool CanConditions()
{
return Quest.GetQuestCompleted(_requiredQuestsID);
}
public override bool HasQuest()
{
return true;
}
public override bool IsCompleted()
{
return IsComplete();
}
}</Code>
</QuestClass>
<ObjectiveCount1>0</ObjectiveCount1>
<ObjectiveCount2>0</ObjectiveCount2>
<ObjectiveCount3>0</ObjectiveCount3>
<ObjectiveCount4>0</ObjectiveCount4>
<ObjectiveCount5>0</ObjectiveCount5>
<ObjectiveCount6>0</ObjectiveCount6>
<ObjectiveCount7>0</ObjectiveCount7>
<ObjectiveCount8>0</ObjectiveCount8>
<ObjectiveCount9>0</ObjectiveCount9>
<ObjectiveCount10>0</ObjectiveCount10>
<AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
<AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
<AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
<AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
<AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
<AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
<AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
<AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
<AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
<AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
<CanCondition />
<IsCompleteCondition />
<RepeatableQuest>false</RepeatableQuest>
<NotRequiredInQuestLog>false</NotRequiredInQuestLog>
<PickUpQuestOnItem>false</PickUpQuestOnItem>
<PickUpQuestOnItemID>0</PickUpQuestOnItemID>
<Comment />
<GossipOptionRewardItem>1</GossipOptionRewardItem>
<RequiredQuest>0</RequiredQuest>
<MaxLevel>999</MaxLevel>
<MinLevel>0</MinLevel>
<WoWClass>None</WoWClass>
</EasyQuest>
<EasyQuest>
<Name>+Broken Shore Helper</Name>
<QuestId />
<QuestType>FullCSharpCode</QuestType>
<QuestClass xsi:type="FullCSharpCodeEasyQuestClass">
<Code>#if VISUAL_STUDIO
using robotManager.Helpful;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using wManager.Wow.Bot.Tasks;
using wManager.Wow.Class;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
using wManager.Wow.Enums;
#endif
public static class BrokenShoreHelper
{
static Vector3 portalPosition = new Vector3(-1433.822, 3018.01, 36.48209, "None");
static Vector3 portalPosition2 = new Vector3(-1425.365, 3029.871, 34.54687, "None");
static void Log(string text)
{
Logging.WriteDebug("[Broken Shore Helper] " + text);
}
public static bool GotoPortal(Vector3 p0, Vector3 p)
{
if (ObjectManager.Me.Position.DistanceTo(p0) < 5)
{
Log("goto portal " + p);
ClickToMove.CGPlayer_C__ClickToMove(p.X, p.Y, p.Z, MemoryRobot.Int128.Zero(), (int)ClickToMoveType.Move, 0.5f);
Thread.Sleep(5 * 1000);
return true;
}
Log("goto near portal " + p0);
GoToTask.ToPosition(p0);
return true;
}
public static bool GoToPortal()
{
return GotoPortal(portalPosition, portalPosition2);
}
public static class DivingHelmet
{
static robotManager.Helpful.Timer _timer = new robotManager.Helpful.Timer(2 * 60 * 1000);
static MemoryRobot.Int128 _lastGuid = MemoryRobot.Int128.Zero();
static uint _buffDamagedDivingHelmet = 245498;
static int _npcDamagedDivingHelmet = 123230;
static Vector3 startPosition = new Vector3(-1820.049, 2778.26, -2.197452, "Swimming");
static List<uint> aquaticMounts = new List<uint>()
{
223018, // http://www.wowhead.com/spell=223018/fathom-dweller
228919, // http://www.wowhead.com/spell=228919/darkwater-skate
214791, // http://www.wowhead.com/spell=214791/brinedeep-bottom-feeder
64731, // http://www.wowhead.com/spell=64731/sea-turtle
30174, // http://www.wowhead.com/spell=30174/riding-turtle
98718, // http://www.wowhead.com/spell=98718/subdued-seahorse
};
public static bool Get()
{
wManager.wManagerSetting.CurrentSetting.UseMount = false;
wManager.wManagerSetting.CurrentSetting.UseGroundMount = false;
wManager.wManagerSetting.CurrentSetting.UseFlyingMount = false;
wManager.wManagerSetting.CurrentSetting.AquaticMountName = "";
if (!ObjectManager.Me.HaveBuff(_buffDamagedDivingHelmet))
{
var helmet = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(_npcDamagedDivingHelmet));
if (helmet != null && helmet.IsValid)
{
if (_lastGuid != helmet.Guid)
{
Log("try get helmet: " + helmet.Name);
_lastGuid = helmet.Guid;
_timer.Reset();
}
else if (_timer.IsReady)
{
Log("can't reach helmet: " + helmet.Name + ". Blacklist it");
wManager.wManagerSetting.AddBlackList(helmet.Guid, 3 * 60 * 1000); //5 min blacklist
_lastGuid = MemoryRobot.Int128.Zero();
return true;
}
MountTask.DismountMount();
Log("goto helmet");
if (GoToTask.ToPosition(helmet.Position))
{
MountTask.DismountMount();
Log("use helmet");
GoToTask.ToPositionAndIntecractWithNpc(helmet.Position, helmet.Entry);
}
}
else
{
wManager.wManagerSetting.CurrentSetting.UseMount = true;
wManager.wManagerSetting.CurrentSetting.UseGroundMount = true;
wManager.wManagerSetting.CurrentSetting.UseFlyingMount = true;
Log("to start");
if (GoToTask.ToPosition(startPosition))
{
MountTask.DismountMount();
}
}
return true;
}
return false;
}
}
}
</Code>
</QuestClass>
<ObjectiveCount1>0</ObjectiveCount1>
<ObjectiveCount2>0</ObjectiveCount2>
<ObjectiveCount3>0</ObjectiveCount3>
<ObjectiveCount4>0</ObjectiveCount4>
<ObjectiveCount5>0</ObjectiveCount5>
<ObjectiveCount6>0</ObjectiveCount6>
<ObjectiveCount7>0</ObjectiveCount7>
<ObjectiveCount8>0</ObjectiveCount8>
<ObjectiveCount9>0</ObjectiveCount9>
<ObjectiveCount10>0</ObjectiveCount10>
<AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
<AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
<AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
<AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
<AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
<AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
<AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
<AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
<AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
<AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
<CanCondition />
<IsCompleteCondition />
<RepeatableQuest>false</RepeatableQuest>
<NotRequiredInQuestLog>false</NotRequiredInQuestLog>
<PickUpQuestOnItem>false</PickUpQuestOnItem>
<PickUpQuestOnItemID>0</PickUpQuestOnItemID>
<Comment />
<GossipOptionRewardItem>1</GossipOptionRewardItem>
<RequiredQuest>0</RequiredQuest>
<MaxLevel>999</MaxLevel>
<MinLevel>0</MinLevel>
<WoWClass>None</WoWClass>
</EasyQuest>
<EasyQuest>
<Name>+Dump Legionfall War Supplies</Name>
<QuestId />
<QuestType>FullCSharpCode</QuestType>
<QuestClass xsi:type="FullCSharpCodeEasyQuestClass">
<Code>#if VISUAL_STUDIO
using robotManager.Helpful;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using wManager.Wow.Bot.Tasks;
using wManager.Wow.Class;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
using wManager.Wow.Enums;
#endif
public class DumpLegionfallWarSupplies : QuestClass
{
int _attemptsMax = 0;
int _maxAmount = 900;
string _lua = @"
local activeContributions = {C_ContributionCollector.GetActive()}
for i = 1,#activeContributions do
local contributionID = activeContributions[i]
local state = C_ContributionCollector.GetState(contributionID)
local pending = C_ContributionCollector.HasPendingContribution(contributionID)
if not pending and state == 1 then
C_ContributionCollector.Contribute(contributionID)
return contributionID
end
end
return 0
";
public DumpLegionfallWarSupplies()
{
Name = "+Dump Legionfall War Supplies";
QuestId.Add(0);
Step.AddRange(new[] { 0 });
if (LegionfallWarSupplies >= _maxAmount)
_attemptsMax = 10;
}
void Log(string text)
{
Logging.WriteDebug("[" + Name + "] " + text);
}
public override bool Pulse()
{
var p = new Vector3(-1621.912, 3202.07, 129.0166, "None");
GoToTask.ToPositionAndIntecractWithNpc(p, 119305);
Thread.Sleep(Others.Random(1000, 2000));
var frameName = "ContributionCollectionFrame";
if (Lua.LuaDoString<bool>("return " + frameName + ":IsVisible()"))
{
var contributorID = Lua.LuaDoString<int>(_lua);
_attemptsMax -= 1;
Log("contributed to :" + contributorID + " attempts left=" + _attemptsMax);
Thread.Sleep(Others.Random(1000, 2000));
}
return true;
}
public override bool IsComplete()
{
if (!WorldQuest.WorldQuestSettings.CurrentSetting.DoDumpLegionfallWarSupplies)
return true;
return _attemptsMax <= 0;
}
public override bool HasQuest()
{
return true;
}
public override bool IsCompleted()
{
return false;
}
static int LegionfallWarSupplies
{
get
{
return Lua.LuaDoString<int>("local _, level = GetCurrencyInfo('currency: 1342'); return level;");
}
}
}</Code>
</QuestClass>
<ObjectiveCount1>0</ObjectiveCount1>
<ObjectiveCount2>0</ObjectiveCount2>
<ObjectiveCount3>0</ObjectiveCount3>
<ObjectiveCount4>0</ObjectiveCount4>
<ObjectiveCount5>0</ObjectiveCount5>
<ObjectiveCount6>0</ObjectiveCount6>
<ObjectiveCount7>0</ObjectiveCount7>
<ObjectiveCount8>0</ObjectiveCount8>
<ObjectiveCount9>0</ObjectiveCount9>
<ObjectiveCount10>0</ObjectiveCount10>
<AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
<AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
<AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
<AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
<AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
<AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
<AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
<AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
<AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
<AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
<CanCondition />
<IsCompleteCondition />
<RepeatableQuest>false</RepeatableQuest>
<NotRequiredInQuestLog>false</NotRequiredInQuestLog>
<PickUpQuestOnItem>false</PickUpQuestOnItem>
<PickUpQuestOnItemID>0</PickUpQuestOnItemID>
<Comment />
<GossipOptionRewardItem>1</GossipOptionRewardItem>
<RequiredQuest>0</RequiredQuest>
<MaxLevel>999</MaxLevel>
<MinLevel>0</MinLevel>
<WoWClass>None</WoWClass>
</EasyQuest>
<EasyQuest>
<Name>+FlightMastersWhistle</Name>
<QuestId />
<QuestType>FullCSharpCode</QuestType>
<QuestClass xsi:type="FullCSharpCodeEasyQuestClass">
<Code>//FLIGHT MASTERS WHISTLE START
public sealed class FlightMastersWhistle : wManager.Wow.Class.QuestClass
{
uint whistleId = 141605;
public FlightMastersWhistle()
{
Name = "+FlightMastersWhistle";
QuestId.AddRange(new[] { 0 });
Step = new System.Collections.Generic.List<int> { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
StepAutoDetect = new[] { false, false, false, false, false, false, false, false, false, false };
PickUpQuestOnItem = false;
PickUpQuestOnItemID = 0;
GossipOptionItem = 1;
WoWClass = wManager.Wow.Enums.WoWClass.None;
MinLevel = 0;
MaxLevel = 999;
RequiredQuest = 0;
}
public override bool CanConditions()
{
return WorldQuest.Whistle.Can();
}
public override bool IsComplete()
{
return !WorldQuest.Whistle.Can();
}
public override bool IsCompleted()
{
return IsComplete();
}
public override bool HasQuest()
{
return CanConditions();
}
public override bool Pulse()
{
WorldQuest.Whistle.Use();
return true;
}
}
//FLIGHT MASTERS WHISTLE END</Code>
</QuestClass>
<ObjectiveCount1>0</ObjectiveCount1>
<ObjectiveCount2>0</ObjectiveCount2>
<ObjectiveCount3>0</ObjectiveCount3>
<ObjectiveCount4>0</ObjectiveCount4>
<ObjectiveCount5>0</ObjectiveCount5>
<ObjectiveCount6>0</ObjectiveCount6>
<ObjectiveCount7>0</ObjectiveCount7>
<ObjectiveCount8>0</ObjectiveCount8>
<ObjectiveCount9>0</ObjectiveCount9>
<ObjectiveCount10>0</ObjectiveCount10>
<AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
<AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
<AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
<AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
<AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
<AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
<AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
<AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
<AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
<AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
<CanCondition> var timeLeft = wManager.Wow.Helpers.Lua.LuaDoString<double>("local startTime, duration, enable = GetItemCooldown(" + 141605 + "); return startTime + duration - GetTime();");
return !ObjectManager.Me.IsIndoors && timeLeft <= 0;</CanCondition>
<IsCompleteCondition> var timeLeft = wManager.Wow.Helpers.Lua.LuaDoString<double>("local startTime, duration, enable = GetItemCooldown(" + 141605 + "); return startTime + duration - GetTime();");
return ObjectManager.Me.IsIndoors || timeLeft > 0;</IsCompleteCondition>
<RepeatableQuest>true</RepeatableQuest>
<NotRequiredInQuestLog>true</NotRequiredInQuestLog>
<PickUpQuestOnItem>false</PickUpQuestOnItem>
<PickUpQuestOnItemID>0</PickUpQuestOnItemID>
<Comment />
<GossipOptionRewardItem>1</GossipOptionRewardItem>
<RequiredQuest>0</RequiredQuest>
<MaxLevel>999</MaxLevel>
<MinLevel>0</MinLevel>
<WoWClass>None</WoWClass>
</EasyQuest>
<EasyQuest>
<Name>+Travel To Broken Shore</Name>
<QuestId />
<QuestType>None</QuestType>
<QuestClass />
<ObjectiveCount1>0</ObjectiveCount1>
<ObjectiveCount2>0</ObjectiveCount2>
<ObjectiveCount3>0</ObjectiveCount3>
<ObjectiveCount4>0</ObjectiveCount4>
<ObjectiveCount5>0</ObjectiveCount5>
<ObjectiveCount6>0</ObjectiveCount6>
<ObjectiveCount7>0</ObjectiveCount7>
<ObjectiveCount8>0</ObjectiveCount8>
<ObjectiveCount9>0</ObjectiveCount9>
<ObjectiveCount10>0</ObjectiveCount10>
<AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
<AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
<AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
<AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
<AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
<AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
<AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
<AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
<AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
<AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
<CanCondition />
<IsCompleteCondition>return WorldQuest.Travel.ToZone(WorldQuest.MapId.BrokenShore);</IsCompleteCondition>
<RepeatableQuest>true</RepeatableQuest>
<NotRequiredInQuestLog>true</NotRequiredInQuestLog>
<PickUpQuestOnItem>false</PickUpQuestOnItem>
<PickUpQuestOnItemID>0</PickUpQuestOnItemID>
<Comment />
<GossipOptionRewardItem>1</GossipOptionRewardItem>
<RequiredQuest>0</RequiredQuest>
<MaxLevel>999</MaxLevel>
<MinLevel>0</MinLevel>
<WoWClass>None</WoWClass>
</EasyQuest>
<EasyQuest>
<Name>A Giant Problem 1 (Group)</Name>
<QuestId>
<int>45473</int>
</QuestId>
<QuestType>FullCSharpCode</QuestType>
<QuestClass xsi:type="FullCSharpCodeEasyQuestClass">
<Code>#if VISUAL_STUDIO
using robotManager.Helpful;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using wManager.Wow.Bot.Tasks;
using wManager.Wow.Class;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
using wManager.Wow.Enums;
#endif
public class AGiantProblem1Group : QuestClass
{
protected int _questID = 45473;
protected Vector3 startPosition = new Vector3(-1820.049, 2778.26, -2.197452, "Swimming");
public AGiantProblem1Group()
{
Name = "A Giant Problem 1 (Group)";
QuestId.Add(_questID);
Step.AddRange(new[] { 0, 0, 0, 0, 0 });
}
public override bool IsComplete()
{
return WorldQuest.CompleteGroup(_questID, 1);
}
public override bool Pulse()
{
if (!Quest.HasQuest(_questID))
{
if (GoToTask.ToPosition(startPosition))
{
MountTask.DismountMount();
}
return true;
}
if (BrokenShoreHelper.DivingHelmet.Get())
return true;
var mobs = new List<int>() {
118223, // http://www.wowhead.com/npc=118223/sea-giant-pillager
};
WorldQuest.TryKillElite(startPosition, mobs);
return true;
}
public override bool CanConditions()
{
return WorldQuest.Can(this);
}
public override bool HasQuest()
{
return true;
}
public override bool IsCompleted()
{
return false;
}
}</Code>
</QuestClass>
<ObjectiveCount1>10</ObjectiveCount1>
<ObjectiveCount2>6</ObjectiveCount2>
<ObjectiveCount3>0</ObjectiveCount3>
<ObjectiveCount4>0</ObjectiveCount4>
<ObjectiveCount5>0</ObjectiveCount5>
<ObjectiveCount6>0</ObjectiveCount6>
<ObjectiveCount7>0</ObjectiveCount7>
<ObjectiveCount8>0</ObjectiveCount8>
<ObjectiveCount9>0</ObjectiveCount9>
<ObjectiveCount10>0</ObjectiveCount10>
<AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
<AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
<AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
<AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
<AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
<AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
<AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
<AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
<AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
<AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
<CanCondition>return WorldQuest.CanGroup(this);</CanCondition>
<IsCompleteCondition>return WorldQuest.CompleteGroup(45473, 1);</IsCompleteCondition>
<RepeatableQuest>true</RepeatableQuest>
<NotRequiredInQuestLog>true</NotRequiredInQuestLog>
<PickUpQuestOnItem>false</PickUpQuestOnItem>
<PickUpQuestOnItemID>0</PickUpQuestOnItemID>
<Comment />
<GossipOptionRewardItem>1</GossipOptionRewardItem>
<RequiredQuest>0</RequiredQuest>
<MaxLevel>999</MaxLevel>
<MinLevel>0</MinLevel>
<WoWClass>None</WoWClass>
</EasyQuest>
<EasyQuest>
<Name>A Giant Problem 2 (Group)</Name>
<QuestId>
<int>45473</int>
</QuestId>
<QuestType>FullCSharpCode</QuestType>
<QuestClass xsi:type="FullCSharpCodeEasyQuestClass">
<Code>#if VISUAL_STUDIO
using robotManager.Helpful;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using wManager.Wow.Bot.Tasks;
using wManager.Wow.Class;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
using wManager.Wow.Enums;
#endif
public class AGiantProblem2Group : AGiantProblem1Group
{
robotManager.Helpful.Timer _timer = new robotManager.Helpful.Timer(2 * 60 * 1000);
MemoryRobot.Int128 _lastGuid = MemoryRobot.Int128.Zero();
public AGiantProblem2Group()
{
Name = "A Giant Problem 2 (Group)";
}
public override bool Pulse()
{
if (BrokenShoreHelper.DivingHelmet.Get())
return true;
var cargos = new List<int>() {
267575,
};
var cargo = ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(cargos));
if (cargo != null && cargo.IsValid)
{
if (_lastGuid != cargo.Guid)
{
Logging.Write("try get cargo: " + cargo.Name);
_lastGuid = cargo.Guid;
_timer.Reset();
}
else if (_timer.IsReady)
{
Logging.Write("can't reach cargo: " + cargo.Name + ". Blacklist it");
wManager.wManagerSetting.AddBlackList(cargo.Guid, 3 * 60 * 1000); //5 min blacklist
_lastGuid = MemoryRobot.Int128.Zero();
return true;
}
GoToTask.ToPositionAndIntecractWithGameObject(cargo.Position, cargo.Entry);
}
var hotspots = new List<Vector3>() {
startPosition,
new Vector3(-1883.56, 2685.059, -1.593838, "Swimming"),
new Vector3(-1940.298, 2690.946, -1.594494, "Swimming"),
new Vector3(-1975.861, 2695.668, -1.614278, "Swimming"),
new Vector3(-1863.423, 2739.264, -1.559397, "Swimming"),
new Vector3(-1867.487, 2788.262, -1.537572, "Swimming"),
new Vector3(-1873.963, 2836.216, -1.544325, "Swimming"),
new Vector3(-1927.868, 2858.48, -1.578439, "Swimming"),
};
GoToTask.ToPosition(hotspots[Others.Random(0, hotspots.Count -1)], 5, false,
(c)=> ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(cargos)) == null
);
return true;
}
public override bool IsComplete()
{
return WorldQuest.CompleteGroup(_questID, 2);
}
}
</Code>
</QuestClass>
<ObjectiveCount1>10</ObjectiveCount1>
<ObjectiveCount2>6</ObjectiveCount2>
<ObjectiveCount3>0</ObjectiveCount3>
<ObjectiveCount4>0</ObjectiveCount4>
<ObjectiveCount5>0</ObjectiveCount5>
<ObjectiveCount6>0</ObjectiveCount6>
<ObjectiveCount7>0</ObjectiveCount7>
<ObjectiveCount8>0</ObjectiveCount8>
<ObjectiveCount9>0</ObjectiveCount9>
<ObjectiveCount10>0</ObjectiveCount10>
<AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
<AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
<AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
<AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
<AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
<AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
<AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
<AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
<AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
<AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
<CanCondition>return WorldQuest.CanGroup(this);</CanCondition>
<IsCompleteCondition>return WorldQuest.CompleteGroup(45473, 2);</IsCompleteCondition>
<RepeatableQuest>true</RepeatableQuest>
<NotRequiredInQuestLog>true</NotRequiredInQuestLog>
<PickUpQuestOnItem>false</PickUpQuestOnItem>
<PickUpQuestOnItemID>0</PickUpQuestOnItemID>
<Comment />
<GossipOptionRewardItem>1</GossipOptionRewardItem>
<RequiredQuest>0</RequiredQuest>
<MaxLevel>999</MaxLevel>
<MinLevel>0</MinLevel>
<WoWClass>None</WoWClass>
</EasyQuest>
<EasyQuest>
<Name>A Tad More Corruption 1</Name>
<QuestId>
<int>46932</int>
</QuestId>
<QuestType>InteractWithNpc</QuestType>
<QuestClass xsi:type="InteractWithNpcEasyQuestClass">
<HotSpots>
<Vector3 X="-1566.91" Y="3466.799" Z="2.164328" />
<Vector3 X="-1547.602" Y="3433.178" Z="3.484779" />
<Vector3 X="-1514.026" Y="3444.336" Z="2.254818" />
</HotSpots>
<GossipOptionNpcInteractWith>1</GossipOptionNpcInteractWith>
<Macro />
<IgnoreIfDead>false</IgnoreIfDead>