forked from Watcher187/UWoWScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtelenpc.cpp
1224 lines (1041 loc) · 55.1 KB
/
telenpc.cpp
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
#include "ScriptPCH.h"
#include "ScriptedGossip.h"
class telenpc : public CreatureScript
{
public:
telenpc() : CreatureScript("telenpc") { }
bool OnGossipHello(Player* pPlayer, Creature* pCreature)
{
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Cities and Malls --]" , GOSSIP_SENDER_MAIN, 5005);
if (pPlayer->GetTeam() == ALLIANCE)
{
pPlayer->ADD_GOSSIP_ITEM( 10, "- Alliance Citys" , GOSSIP_SENDER_MAIN, 1000);
}
else // Main Menu for Horde
{
pPlayer->ADD_GOSSIP_ITEM( 10, "- Horde Citys" , GOSSIP_SENDER_MAIN, 2000);
}
pPlayer->ADD_GOSSIP_ITEM( 10, "- Neutral Mall" , GOSSIP_SENDER_MAIN, 17398);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Neutral Cities" , GOSSIP_SENDER_MAIN, 3000);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Global PVP Mall" , GOSSIP_SENDER_MAIN, 7300);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Global NON-PVP Mall" , GOSSIP_SENDER_MAIN, 7333);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Global Chill-Zone" , GOSSIP_SENDER_MAIN, 7444);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Buffs and Heals --]" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Buff Me Up" , GOSSIP_SENDER_MAIN, 7500);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Heal Me Up" , GOSSIP_SENDER_MAIN, 7700);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- PvP Areas --]" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Duel Gambling", GOSSIP_SENDER_MAIN, 5050);
pPlayer->ADD_GOSSIP_ITEM( 10, "- UnforgivenWoW Arenas" , GOSSIP_SENDER_MAIN, 7400);
if(pPlayer->getLevel() == 255)
{
pPlayer->ADD_GOSSIP_ITEM( 10, "- UnforgivenWoW Battlemaster's" , GOSSIP_SENDER_MAIN, 7045);
}
pPlayer->ADD_GOSSIP_ITEM( 10, "- CUSTOM PVP ZONE" , GOSSIP_SENDER_MAIN, 7401);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Instances --]" , GOSSIP_SENDER_MAIN, 5005);
if(pPlayer->getLevel() == 255)
{
pPlayer->ADD_GOSSIP_ITEM( 10, "- High Level Instances" , GOSSIP_SENDER_MAIN, 83717);
}
pPlayer->ADD_GOSSIP_ITEM( 10, "- Low Level Instances" , GOSSIP_SENDER_MAIN, 9030);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Other Locations --]" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Hidden Village" , GOSSIP_SENDER_MAIN, 858585);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Leveling Locations" , GOSSIP_SENDER_MAIN, 7310);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Event Locations" , GOSSIP_SENDER_MAIN, 7800);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Outland Locations" , GOSSIP_SENDER_MAIN, 3600);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Northrend Locations" , GOSSIP_SENDER_MAIN, 3700);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
return true;
}
void SendDefaultMenu(Player* pPlayer, Creature* pCreature, uint32 uiAction)
{
if (pPlayer->isInCombat())
{
pPlayer->PlayerTalkClass->SendCloseGossip();
pCreature->MonsterSay("You are in combat!", LANG_UNIVERSAL, NULL);
return;
}
if (pPlayer->GetMap()->IsBattlegroundOrArena() || pPlayer->GetMapId() == 532)
{
pPlayer->PlayerTalkClass->SendCloseGossip();
pCreature->MonsterSay("You cannot teleport in this instance!", LANG_UNIVERSAL, NULL);
return;
}
switch(uiAction)
{
case 1000: //Alliance Town
pPlayer->ADD_GOSSIP_ITEM( 10, "Neutral City Dalaran" , GOSSIP_SENDER_MAIN, 7398);
pPlayer->ADD_GOSSIP_ITEM( 10, "Darnassus" , GOSSIP_SENDER_MAIN, 1001);
pPlayer->ADD_GOSSIP_ITEM( 10, "Exodar" , GOSSIP_SENDER_MAIN, 1005);
pPlayer->ADD_GOSSIP_ITEM( 10, "Ironforge" , GOSSIP_SENDER_MAIN, 1010);
pPlayer->ADD_GOSSIP_ITEM( 10, "Stormwind" , GOSSIP_SENDER_MAIN, 1015);
pPlayer->ADD_GOSSIP_ITEM( 10, "Dungeons ->" , GOSSIP_SENDER_MAIN, 5000);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 2000: //Horde Town
pPlayer->ADD_GOSSIP_ITEM( 10, "Neutral City Dalaran" , GOSSIP_SENDER_MAIN, 7398);
pPlayer->ADD_GOSSIP_ITEM( 10, "Orgrimmar" , GOSSIP_SENDER_MAIN, 2001);
pPlayer->ADD_GOSSIP_ITEM( 10, "Silvermoon" , GOSSIP_SENDER_MAIN, 2005);
pPlayer->ADD_GOSSIP_ITEM( 10, "Thunder Bluff" , GOSSIP_SENDER_MAIN, 2010);
pPlayer->ADD_GOSSIP_ITEM( 10, "Undercity" , GOSSIP_SENDER_MAIN, 2015);
pPlayer->ADD_GOSSIP_ITEM( 10, "Dungeons ->" , GOSSIP_SENDER_MAIN, 5000);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 3000: //Neutral Town
// Check if player is DK for "Ebon Hold"
if(pPlayer->getClass()==6)
pPlayer->ADD_GOSSIP_ITEM( 10, "Ebon Hold" , GOSSIP_SENDER_MAIN, 3001);
pPlayer->ADD_GOSSIP_ITEM( 10, "Booty Bay" , GOSSIP_SENDER_MAIN, 3005);
pPlayer->ADD_GOSSIP_ITEM( 10, "Dalaran" , GOSSIP_SENDER_MAIN, 3010);
pPlayer->ADD_GOSSIP_ITEM( 10, "Everlook" , GOSSIP_SENDER_MAIN, 3015);
pPlayer->ADD_GOSSIP_ITEM( 10, "Gadegetzan" , GOSSIP_SENDER_MAIN, 3020);
pPlayer->ADD_GOSSIP_ITEM( 10, "Mudsprocket" , GOSSIP_SENDER_MAIN, 3025);
pPlayer->ADD_GOSSIP_ITEM( 10, "Ratchet" , GOSSIP_SENDER_MAIN, 3030);
pPlayer->ADD_GOSSIP_ITEM( 10, "Shattrath City" , GOSSIP_SENDER_MAIN, 3035);
pPlayer->ADD_GOSSIP_ITEM( 10, "Isle Of Quel'Danas" , GOSSIP_SENDER_MAIN, 3040);
pPlayer->ADD_GOSSIP_ITEM( 10, "Dungeons ->" , GOSSIP_SENDER_MAIN, 5000);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 3600: //Outland Location
pPlayer->ADD_GOSSIP_ITEM( 10, "Blade's Edge Mountains" , GOSSIP_SENDER_MAIN, 3601);
pPlayer->ADD_GOSSIP_ITEM( 10, "Hellfire Peninsula" , GOSSIP_SENDER_MAIN, 3605);
pPlayer->ADD_GOSSIP_ITEM( 10, "Nagrand" , GOSSIP_SENDER_MAIN, 3610);
pPlayer->ADD_GOSSIP_ITEM( 10, "Netherstorm" , GOSSIP_SENDER_MAIN, 3615);
pPlayer->ADD_GOSSIP_ITEM( 10, "Shadowmoon Valley" , GOSSIP_SENDER_MAIN, 3620);
pPlayer->ADD_GOSSIP_ITEM( 10, "Terokkar Forest" , GOSSIP_SENDER_MAIN, 3625);
pPlayer->ADD_GOSSIP_ITEM( 10, "Zangarmarsh" , GOSSIP_SENDER_MAIN, 3630);
pPlayer->ADD_GOSSIP_ITEM( 10, "Dungeons ->" , GOSSIP_SENDER_MAIN, 5000);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 3700: //Northrend Location
pPlayer->ADD_GOSSIP_ITEM( 10, "Borean Tundra" , GOSSIP_SENDER_MAIN, 3701);
pPlayer->ADD_GOSSIP_ITEM( 10, "Crystalsong Forest" , GOSSIP_SENDER_MAIN, 3705);
pPlayer->ADD_GOSSIP_ITEM( 10, "Dragonblight" , GOSSIP_SENDER_MAIN, 3710);
pPlayer->ADD_GOSSIP_ITEM( 10, "Grizzly Hills" , GOSSIP_SENDER_MAIN, 3715);
pPlayer->ADD_GOSSIP_ITEM( 10, "Howling Fjord" , GOSSIP_SENDER_MAIN, 3720);
pPlayer->ADD_GOSSIP_ITEM( 10, "Hrothgar's Landing" , GOSSIP_SENDER_MAIN, 3725);
pPlayer->ADD_GOSSIP_ITEM( 10, "Icecrown" , GOSSIP_SENDER_MAIN, 3730);
pPlayer->ADD_GOSSIP_ITEM( 10, "Sholazar Basin" , GOSSIP_SENDER_MAIN, 3735);
pPlayer->ADD_GOSSIP_ITEM( 10, "The Storm Peaks" , GOSSIP_SENDER_MAIN, 3740);
pPlayer->ADD_GOSSIP_ITEM( 10, "Wintergrasp" , GOSSIP_SENDER_MAIN, 3745);
pPlayer->ADD_GOSSIP_ITEM( 10, "Zul'Drak" , GOSSIP_SENDER_MAIN, 3750);
pPlayer->ADD_GOSSIP_ITEM( 10, "Dungeons ->" , GOSSIP_SENDER_MAIN, 5000);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 5000: //Dungeons
pPlayer->ADD_GOSSIP_ITEM( 10, "Kalimdor ->" , GOSSIP_SENDER_MAIN, 5010);
pPlayer->ADD_GOSSIP_ITEM( 10, "Eastern Kingdoms ->" , GOSSIP_SENDER_MAIN, 5015);
pPlayer->ADD_GOSSIP_ITEM( 10, "Outland ->" , GOSSIP_SENDER_MAIN, 5025);
pPlayer->ADD_GOSSIP_ITEM( 10, "Northrend ->" , GOSSIP_SENDER_MAIN, 5030);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 858585: //Dungeons
pPlayer->ADD_GOSSIP_ITEM( 10, "I have the patches, teleport me." , GOSSIP_SENDER_MAIN, 858586);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(858585,pCreature->GetGUID());
break;
case 858586: // hidden village
pPlayer->PlayerTalkClass->SendCloseGossip();
if(pPlayer->GetTeam() == ALLIANCE)
{
pPlayer->TeleportTo(169, 3226.250000f, 2992.550049f, 12.592100f, 4.670710f);
} else {
pPlayer->TeleportTo(169, 3199.629883f, 2993.989990f, 12.585100f, 4.627510f);
}
break;
case 5005: //Back To Main Menu
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Cities and Malls --]" , GOSSIP_SENDER_MAIN, 5005);
if (pPlayer->GetTeam() == ALLIANCE)
{
pPlayer->ADD_GOSSIP_ITEM( 10, "- Alliance Citys" , GOSSIP_SENDER_MAIN, 1000);
}
else // Main Menu for Horde
{
pPlayer->ADD_GOSSIP_ITEM( 10, "- Horde Citys" , GOSSIP_SENDER_MAIN, 2000);
}
pPlayer->ADD_GOSSIP_ITEM( 10, "- Neutral Mall" , GOSSIP_SENDER_MAIN, 17398);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Neutral Cities" , GOSSIP_SENDER_MAIN, 3000);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Global PVP Mall" , GOSSIP_SENDER_MAIN, 7300);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Global Chill-Zone" , GOSSIP_SENDER_MAIN, 7444);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Buffs and Heals --]" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Buff Me" , GOSSIP_SENDER_MAIN, 7500);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Heal Me" , GOSSIP_SENDER_MAIN, 7700);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- PvP Areas --]" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Duel Gambling", GOSSIP_SENDER_MAIN, 5050);
pPlayer->ADD_GOSSIP_ITEM( 10, "- UnforgivenWoW Arenas" , GOSSIP_SENDER_MAIN, 7400);
if(pPlayer->getLevel() == 255)
{
pPlayer->ADD_GOSSIP_ITEM( 10, "- UnforgivenWoW Battlemaster's" , GOSSIP_SENDER_MAIN, 7045);
}
pPlayer->ADD_GOSSIP_ITEM( 10, "- CUSTOM PVP ZONE" , GOSSIP_SENDER_MAIN, 7401);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Instances --]" , GOSSIP_SENDER_MAIN, 5005);
if(pPlayer->getLevel() == 255)
{
pPlayer->ADD_GOSSIP_ITEM( 10, "- High Level Instances" , GOSSIP_SENDER_MAIN, 83717);
}
pPlayer->ADD_GOSSIP_ITEM( 10, "- Low Level Instances" , GOSSIP_SENDER_MAIN, 9030);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Other Locations --]" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Leveling Locations]" , GOSSIP_SENDER_MAIN, 7310);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Event Locations" , GOSSIP_SENDER_MAIN, 7800);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Outland Locations" , GOSSIP_SENDER_MAIN, 3600);
pPlayer->ADD_GOSSIP_ITEM( 10, "- Northrend Locations" , GOSSIP_SENDER_MAIN, 3700);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 5010: //Kalimdor
pPlayer->ADD_GOSSIP_ITEM( 10, "Blackfathom Deeps" , GOSSIP_SENDER_MAIN, 6001);
pPlayer->ADD_GOSSIP_ITEM( 10, "Caverns of Time" , GOSSIP_SENDER_MAIN, 6005);
//pPlayer->ADD_GOSSIP_ITEM( 10, "Dire Maul" , GOSSIP_SENDER_MAIN, 6010);
pPlayer->ADD_GOSSIP_ITEM( 10, "Maraudon" , GOSSIP_SENDER_MAIN, 6015);
pPlayer->ADD_GOSSIP_ITEM( 10, "Ragefire Chasm" , GOSSIP_SENDER_MAIN, 6020);
pPlayer->ADD_GOSSIP_ITEM( 10, "Razorfen Downs" , GOSSIP_SENDER_MAIN, 6025);
pPlayer->ADD_GOSSIP_ITEM( 10, "Razorfen Kraul" , GOSSIP_SENDER_MAIN, 6030);
pPlayer->ADD_GOSSIP_ITEM( 10, "Ruins of Ahn'Qiraj" , GOSSIP_SENDER_MAIN, 6035);
pPlayer->ADD_GOSSIP_ITEM( 10, "Temple of Ahn'Qiraj" , GOSSIP_SENDER_MAIN, 6040);
pPlayer->ADD_GOSSIP_ITEM( 10, "Wailing Caverns" , GOSSIP_SENDER_MAIN, 6045);
pPlayer->ADD_GOSSIP_ITEM( 10, "Zul'Farrak" , GOSSIP_SENDER_MAIN, 6050);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Back" , GOSSIP_SENDER_MAIN, 5000);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 5015: //Eastern Kingdoms 1
pPlayer->ADD_GOSSIP_ITEM( 10, "Blackrock Depths" , GOSSIP_SENDER_MAIN, 7001);
pPlayer->ADD_GOSSIP_ITEM( 10, "Blackrock Spire" , GOSSIP_SENDER_MAIN, 7005);
pPlayer->ADD_GOSSIP_ITEM( 10, "Blackwing Lair" , GOSSIP_SENDER_MAIN, 7010);
pPlayer->ADD_GOSSIP_ITEM( 10, "Deadmines" , GOSSIP_SENDER_MAIN, 7015);
pPlayer->ADD_GOSSIP_ITEM( 10, "Gnomeregan" , GOSSIP_SENDER_MAIN, 7020);
pPlayer->ADD_GOSSIP_ITEM( 10, "Isle Of Quel'Danas" , GOSSIP_SENDER_MAIN, 7025);
pPlayer->ADD_GOSSIP_ITEM( 10, "Karazhan" , GOSSIP_SENDER_MAIN, 7030);
pPlayer->ADD_GOSSIP_ITEM( 10, "Molten Core" , GOSSIP_SENDER_MAIN, 7035);
pPlayer->ADD_GOSSIP_ITEM( 10, "More ->" , GOSSIP_SENDER_MAIN, 5020);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Back" , GOSSIP_SENDER_MAIN, 5000);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 5020: //Eastern Kingdoms 2
pPlayer->ADD_GOSSIP_ITEM( 10, "Scarlet Monastery" , GOSSIP_SENDER_MAIN, 7040);
pPlayer->ADD_GOSSIP_ITEM( 10, "Shadowfang Keep" , GOSSIP_SENDER_MAIN, 7050);
pPlayer->ADD_GOSSIP_ITEM( 10, "Stratholme" , GOSSIP_SENDER_MAIN, 7055);
pPlayer->ADD_GOSSIP_ITEM( 10, "Sunken Temple" , GOSSIP_SENDER_MAIN, 7060);
pPlayer->ADD_GOSSIP_ITEM( 10, "The Stockade" , GOSSIP_SENDER_MAIN, 7065);
pPlayer->ADD_GOSSIP_ITEM( 10, "Uldaman" , GOSSIP_SENDER_MAIN, 7070);
pPlayer->ADD_GOSSIP_ITEM( 10, "Zul'Aman" , GOSSIP_SENDER_MAIN, 7075);
pPlayer->ADD_GOSSIP_ITEM( 10, "Zul'Gurub" , GOSSIP_SENDER_MAIN, 7080);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Back" , GOSSIP_SENDER_MAIN, 5015);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 5025: //Outland
pPlayer->ADD_GOSSIP_ITEM( 10, "Auchindoun" , GOSSIP_SENDER_MAIN, 8001);
pPlayer->ADD_GOSSIP_ITEM( 10, "Black Temple" , GOSSIP_SENDER_MAIN, 8005);
pPlayer->ADD_GOSSIP_ITEM( 10, "Coilfang Reservoir" , GOSSIP_SENDER_MAIN, 8010);
pPlayer->ADD_GOSSIP_ITEM( 10, "Gruul's Lair" , GOSSIP_SENDER_MAIN, 8015);
pPlayer->ADD_GOSSIP_ITEM( 10, "Hellfire Citadel" , GOSSIP_SENDER_MAIN, 8020);
pPlayer->ADD_GOSSIP_ITEM( 10, "Tempest Keep" , GOSSIP_SENDER_MAIN, 8025);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Back" , GOSSIP_SENDER_MAIN, 5000);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 5030: //Northrend
pPlayer->ADD_GOSSIP_ITEM( 10, "Ahn'Kahet" , GOSSIP_SENDER_MAIN, 9001);
pPlayer->ADD_GOSSIP_ITEM( 10, "Azjol-Nerub" , GOSSIP_SENDER_MAIN, 9005);
pPlayer->ADD_GOSSIP_ITEM( 10, "Drak'Tharon Keep" , GOSSIP_SENDER_MAIN, 9010);
pPlayer->ADD_GOSSIP_ITEM( 10, "Gun'Drak" , GOSSIP_SENDER_MAIN, 9015);
pPlayer->ADD_GOSSIP_ITEM( 10, "Icecrown Citadel" , GOSSIP_SENDER_MAIN, 9020);
pPlayer->ADD_GOSSIP_ITEM( 10, "Naxxramas" , GOSSIP_SENDER_MAIN, 9025);
pPlayer->ADD_GOSSIP_ITEM( 10, "The Nexus" , GOSSIP_SENDER_MAIN, 9035);
pPlayer->ADD_GOSSIP_ITEM( 10, "The Obsidian Sanctum" , GOSSIP_SENDER_MAIN, 9040);
pPlayer->ADD_GOSSIP_ITEM( 10, "Utgarde Keep" , GOSSIP_SENDER_MAIN, 9045);
pPlayer->ADD_GOSSIP_ITEM( 10, "Utgarde Pinnacle" , GOSSIP_SENDER_MAIN, 9050);
pPlayer->ADD_GOSSIP_ITEM( 10, "Ulduar" , GOSSIP_SENDER_MAIN, 9055);
pPlayer->ADD_GOSSIP_ITEM( 10, "Violet Hold" , GOSSIP_SENDER_MAIN, 9060);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Back" , GOSSIP_SENDER_MAIN, 5000);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
//////////////////////////////////////////////////ALLIANCE///////////////////////////////////////////////////////////////
case 1001: // Darnassus
//pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 9947.52f, 2482.73f, 1316.21f, 0.0f);
break;
case 5050: // Darnassus
//pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->m_CheatCooldown = false;
pPlayer->m_CheatCastTime = false;
pPlayer->m_cheatPower = false;
pPlayer->TeleportTo(0, -1162.500122f, 1466.012573f, 54.167900f, 1.956749f);
break;
case 7398:
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5746.859863f, 599.575012f, 613.872437f, 0.103674f);
break;
case 17398:
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -3673.392090f, -4384.723145f, 10.02678f, 3.879712f);
break;
case 1005: // Exodar
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -3954.20f, -11656.54f, -138.69f, 0.0f);
break;
case 1010: // Ironforge
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -4924.07f, -951.95f, 501.55f, 5.40f);
break;
case 1015: // Stormwind
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -8960.14f, 516.266f, 96.3568f, 0.0f);
break;
//////////////////////////////////////////////////HORDE///////////////////////////////////////////////////////////////
case 2001: // Orgrimmar
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 1552.5f, -4420.66f, 8.94802f, 0.0f);
break;
case 2005: // Silvermoon
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 9338.74f, -7277.27f, 13.7895f, 0.0f);
break;
case 2010: // Thunder Bluff
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -1290.0f, 147.033997f, 129.682007f, 4.919000f);
break;
case 2015: // Undercity
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, 1819.71f, 238.79f, 60.5321f, 0.0f);
break;
//////////////////////////////////////////////////NEUTRAL///////////////////////////////////////////////////////////////
case 3001:// Ebon Hold
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, 2353.530029f, -5665.819824f, 426.028015f, 0.596f);
break;
case 3005:// Booty Bay
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -14438.2f, 472.22f, 15.32f, 0.65f);
break;
case 3010: //Dalaran
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5819.08f, 643.99f, 647.80f, 3.32f);
break;
case 3015: //Everlook
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 6724.77f, -4610.68f, 720.78f, 4.78f);
break;
case 3020: //Gadgetzan
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -7173.26f, -3785.60f, 8.37f, 6.13f);
break;
case 3025: //Mudsprocket
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -4564.79f, -3172.38f, 33.93f, 3.21f);
break;
case 3030: //Ratchet
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -956.664f, -3754.71f, 5.33239f, 0.996637f);
break;
case 3035:// Shattrath City
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -1850.209961f, 5435.821777f, -10.961435f, 3.403913f);
break;
case 3040:// Isle Of Quel'Danas
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 12947.4f, -6893.31f, 5.68398f, 3.09154f);
break;
//////////////////////////////////////////////////OUTLAND LOCATION///////////////////////////////////////////////////////////////
case 3601:// Blade's Edge Mountains
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 1589.919312f, 6784.039063f, 135.167633f, 0.506582f);
break;
case 3605:// Hellfire Peninsula
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -248.0f, 956.0f, 84.362808f, 1.549591f);
break;
case 3610: //Nagrand
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -604.137146f, 8436.199219f, 61.776058f, 3.019857f);
break;
case 3615: //Netherstorm
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 3386.022217f, 4225.194824f, 123.685989f, 5.153f);
break;
case 3620: //Shadowmoon Valley
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -2901.471680f, 3125.052734f, 26.8999f, 4.464991f);
break;
case 3625: //Terokkar Forest
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -2000.469971f, 4451.540039f, 8.379014f, 4.464991f);
break;
case 7600: //onyxia
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -4678.284180f, -3704.267334f, 46.526546f, 3.779467f);
break;
case 3630: //Zangarmarsh
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -225.6577f, 5435.426270f, 21.574932f, 1.533886f);
break;
//////////////////////////////////////////////////NORTHREND LOCATION///////////////////////////////////////////////////////////////
case 3701:// Borean Tundra
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 3256.570068f, 5278.229980f, 40.804588f, 0.246367f);
break;
case 3705:// Crystalsong Forest
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5766.373047f, 655.131287f, 160.944641f, 4.135118f);
break;
case 3710: //Dragonblight
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 4103.359863f, 264.477997f, 50.501900f, 3.093490f);
break;
case 3715: //Grizzly Hills
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 4391.729980f, -3587.919922f, 238.531006f, 3.575260f);
break;
case 3720: //Howling Fjord
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 1902.150024f, -4883.910156f, 171.363007f, 3.115370f);
break;
case 3725: //Hrothgar's Landing
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 9982.508789f, 1037.768188f, 15.307539f, 5.512708f);
break;
case 3730: //Icecrown
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 7253.640137f, 1644.780029f, 433.679901f, 4.834120f);
break;
case 3735:// Sholazar Basin
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5572.285156f, 5737.171387f, -75.440643f, 1.514785f);
break;
case 3740:// The Storm Peaks
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 6119.275391f, -1015.613464f, 408.683258f, 5.175134f);
break;
case 3745:// Wintergrasp
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5212.746582f, 2821.331787f, 409.666840f, 1.840724f);
break;
case 3750:// Zul'Drak
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5560.229980f, -3211.659912f, 371.709015f, 5.550550f);
break;
//////////////////////////////////////////////////KALIMDOR///////////////////////////////////////////////////////////////
case 6001:// Blackfathom Deeps
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 4248.72f, 744.35f, -24.67f, 1.34f);
break;
case 6005:// Caverns of Time
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -8173.66f, -4746.36f, 33.84f, 4.94f);
break;
case 6010:// Dire Maul
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -3960.95f, 1130.64f, 161.05f, 0.0f);
break;
case 6015:// Maraudon
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -1431.33f, 2962.34f, 98.23f, 4.74f);
break;
case 6020:// Ragefire Chasm
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 1814.47f, -4419.46f, -18.78f, 5.28f);
break;
case 6025:// Razorfen Downs
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -4657.88f, -2525.59f, 81.4f, 4.16f);
break;
case 6030:// Razorfen Kraul
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -4463.6f, -1664.53f, 82.26f, 0.85f);
break;
case 6035:// Ruins of Ahn'Qiraj
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -8413.33f, 1501.27f, 29.64f, 2.61f);
break;
case 6040:// Temple of Ahn'Qiraj
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -8245.837891f, 1983.736206f, 129.071686f, 0.936195f);
break;
case 6045:// Wailing Caverns
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -722.53f,-2226.30f,16.94f,2.71f);
break;
case 6050:// Zul'Farrak
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -6801.9f, -2890.22f, 8.88f, 6.25f);
break;
//////////////////////////////////////////////////EASTERN KINGDOMS///////////////////////////////////////////////////////////////
case 7001:// Blackrock Depths
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -7180.57f, -920.04f, 165.49f, 5.02f);
break;
case 7005:// Blackrock Spire
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -7526.77f, -1225.64f, 285.73f, 5.31f);
break;
case 7010:// Blackwing Lair
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(469, -7672.61f, -1107.21f, 396.65f, 3.75f);
break;
case 7015:// Deadmines
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -11208.2f, 1675.92f, 24.57f, 1.48f);
break;
case 7020:// Gnomeregan
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -5163.32f, 927.18f, 257.158f, 1.44f);
break;
case 7025:// Isle Of Quel'Danas
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 13010.00f, -6907.64f, 9.58f, 4.58f);
break;
case 7030:// Karazhan
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -11119.6f, -2011.42f, 47.09f, 0.65f);
break;
case 7035:// Molten Core
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(230, 1114.85f, -457.76f, -102.81f, 3.83f);
break;
case 7040:// Scarlet Monastery
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, 2843.89f,-693.74f,139.32f,5.11f);
break;
case 7045:// arena and battlemaster
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -1734.217041f, 5818.219727f, 148.657898f, 1.233753f);
break;
case 7050:// Shadowfang Keep
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -239.54f, 1550.8f, 76.89f, 1.18f);
break;
case 7055:// Stratholme
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, 3370.76f, -3343.63f, 142.26f, 5.23f);
break;
case 7060:// Sunken Temple
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -10346.92f, -3851.90f, -43.41f, 6.09f);
break;
case 7065:// The Stockade
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -8766.89f, 844.6f, 88.43f, 0.69f);
break;
case 7070:// Uldaman
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -6070.72f, -2955.33f, 209.78f, 0.05f);
break;
case 7075:// Zul'Aman
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 6851.09f, -7979.71f, 183.54f, 4.72f);
break;
case 7080:// Zul'Gurub
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -11916.4f, -1216.23f, 92.28f, 4.75f);
break;
//////////////////////////////////////////////////OUTLAND///////////////////////////////////////////////////////////////
case 8001:// Auchindoun
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -3322.92f, 4931.02f, -100.56f, 1.86f);
break;
case 8005:// Black Temple
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -3649.1f, 317.33f, 35.19f, 2.97f);
break;
case 8010:// Coilfang Reservoir
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 721.08f, 6846.77f, -68.75f, 0.34f);
break;
case 8015:// Gruul's Lair
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 3539.01f, 5082.36f, 1.69f, 0.0f);
break;
case 8020:// Hellfire Citadel
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, -292.71f, 3146.77f, 31.60f, 2.05f);
break;
case 8025:// Tempest Keep
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 3087.62f, 1376.27f, 184.8f, 4.63f);
break;
//////////////////////////////////////////////////NORTHREND///////////////////////////////////////////////////////////////
case 9001:// Ahn'Kahet
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 3646.76f, 2045.17f, 1.79f, 4.37f);
break;
case 9005:// Azjol-Nerub
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 3675.43f, 2169.00f, 35.90f, 2.29f);
break;
case 9010:// Drak'Tharon Keep
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 4450.86f, -2045.25f, 162.83f, 0.00f);
break;
case 9015:// Gun'Drak
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 6937.54f, -4455.98f, 450.68f, 1.00f);
break;
case 9020:// Icecrown Citadel
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 6139.24f, 2233.72f, 510.79f, 3.56f);
break;
case 9025:// Naxxramas
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 3668.72f, -1262.46f, 243.622f, 4.785f);
break;
case 9035:// The Nexus
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 3789.95f, 6961.48f, 104.23f, 0.28f);
break;
case 9040:// The Obsidian Sanctum
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 3625.78f, 280.4f, -120.14f, 3.25f);
break;
case 9045:// Ulduar
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 1219.72f, -4865.28f, 41.25f, 0.31f);
break;
case 9050:// Utgarde Keep
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 1245.69f, -4856.59f, 216.86f, 3.45f);
break;
case 9055:// Utgarde Pinnacle
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 8976.24f, -1281.33f, 1059.01f, 0.58f);
break;
case 9060:// Violet Hold
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5679.82f, 486.80f, 652.40f, 4.08f);
break;
//////////////////////////////////////////Custom Shit////////////////////////////////////////////////////////
case 8500:// Darkshore Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 7557.40f, -1523.57f, 159.625f, 0.56f);
break;
case 7895:// Darkshore Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 1219.719971f, -4865.279785f, 41.247898f, 0.313228f);
break;
case 7896:// Darkshore Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 6936.109863f, -4436.950195f, 450.518005f, 0.709854f);
break;
case 7887:// Darkshore Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5873.819824, 2110.979980, 636.010986, 3.552300f);
break;
case 7890:// Darkshore Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5638.250000f, 2075.040039f, 798.055847f, 4.599330f);
break;
case 7899:// Darkshore Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 3584.567627f, 220.361084f, -120.055511f, 5.323672f);
break;
case 7898:
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 1602.943726f, -2279.975586f, 13.234350f, 1.043760f);
break;
case 83717: //Custom Instances
/*pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Vault of Achavon --]" , GOSSIP_SENDER_MAIN, 7888);
if(pPlayer->HasItemCount(51111, 1))
{
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Ruby Sanctum --]" , GOSSIP_SENDER_MAIN, 7899);
}
if(pPlayer->HasItemCount(18, 1))
{
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- The Frozen Halls --]" , GOSSIP_SENDER_MAIN, 7890);
}*/
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Zombie Deathmatch --]" , GOSSIP_SENDER_MAIN, 7030);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Icecrown Citadel --]" , GOSSIP_SENDER_MAIN, 7887);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Kraken --]" , GOSSIP_SENDER_MAIN, 7898);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 7888:// Darkshore Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5439.377441f, 2840.757324f, 420.427917f, 6.254289f);
break;
case 7889:// Darkshore Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(530, 3091.059570f, 1414.226929f, 189.859924f, 4.622087f);
break;
case 8501:// Ravenholt Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, 54.350f, -1505.68f, 173.60f, 5.37f);
break;
case 8502:// Zul'Farrak
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -6818.33f, -2891.07f, 8.88f, 6.27f);
break;
case 8503:// Black Morass
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -8734.3f,-4230.11f, -209.5f, 2.16212f);
break;
case 8504:// Battle for Mount Hyjal
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -8177.89f, -4181.23f, -167.55f, 1.08f);
break;
case 8505:// Hogger
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -10075.34f, 620.201f, 39.264f, 3.38f);
break;
case 8506:// Spencer
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -7950.17f, -3824.34f, 29.201f, 1.70f);
break;
case 8507:// Gurubashi Arena
pPlayer->PlayerTalkClass->SendCloseGossip();
if (pPlayer->GetTeam() == HORDE)
{
pPlayer->TeleportTo(0, -13248.423828f, -88.410858f, 19.801987f, 4.653514f);
} else {
pPlayer->TeleportTo(0, -13547.533203f, 86.088730f, 28.731382f, 3.104744f);
}
break;
case 8508:// Circle of Wills PVP AREA
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(571, 5795.0820f, 647.654907f, 609.9f, 5.527572f);
break;
case 8600: //Custom Instances
pPlayer->ADD_GOSSIP_ITEM( 10, "Zul'Farrak" , GOSSIP_SENDER_MAIN, 8502);
pPlayer->ADD_GOSSIP_ITEM( 10, "The Black Morass" , GOSSIP_SENDER_MAIN, 8503);
pPlayer->ADD_GOSSIP_ITEM( 10, "Battle for Mount Hyjal" , GOSSIP_SENDER_MAIN, 8504);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 9030: //Custom Instances
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Onyxias Lair - Level 200 DUNGEON --]" , GOSSIP_SENDER_MAIN, 91030);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Temple of Ahn'Qiraji - 230 RAID --]" , GOSSIP_SENDER_MAIN, 91031);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Shadowfang Keep - Level 90 RAID --]" , GOSSIP_SENDER_MAIN, 7313);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 91030:// Onyxia's Lair
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -4707.44f, -3726.82f, 54.6723f, 3.8f);
break;
case 91031:// TAQ
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -8257.52f, 1975.76f, 129.072f, 0.774412f);
break;
case 8700: //Custom World Bosses
pPlayer->ADD_GOSSIP_ITEM( 10, "Hogger [Nightmare Mode]" , GOSSIP_SENDER_MAIN, 8505);
pPlayer->ADD_GOSSIP_ITEM( 10, "Spencer [The Rare Desert Cat]", GOSSIP_SENDER_MAIN, 8506);
pPlayer->ADD_GOSSIP_ITEM( 10, "Dash [Not Avaliable]" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 7090: // Alliance Boss Area
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 3172.926758f, -3712.650146f, 123.355141f, 1.0f);
break;
case 7100: //Alliance Zones
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Alliance Mall Zone --]" , GOSSIP_SENDER_MAIN, 7102);
pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Alliance Start Area --]" , GOSSIP_SENDER_MAIN, 7103);
pPlayer->ADD_GOSSIP_ITEM( 10, "GM Office" , GOSSIP_SENDER_MAIN, 7106);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 7101: // Global Mall
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -1737.470337f, 3226.648682f, 4.823433f, 5.261298f);
break;
case 7102: // Ally Mall Zone
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -8452.386719f, 346.997894f, 120.885796f, 1.0f);
break;
case 7103: // Ally Start Area
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 4612.216797f, -3862.060303f, 944.182434f, 1.0f);
break;
case 7104: // Ally Boss 255
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 3172.926758f, -3712.650146f, 123.355141f, 1.0f);
break;
case 7800: //event areas
pPlayer->ADD_GOSSIP_ITEM( 10, "--- Stair Events ---" , GOSSIP_SENDER_MAIN, 7800);
pPlayer->ADD_GOSSIP_ITEM( 10, "Stair Event #1" , GOSSIP_SENDER_MAIN, 7801);
//pPlayer->ADD_GOSSIP_ITEM( 10, "Stair Event #2" , GOSSIP_SENDER_MAIN, 7802);
pPlayer->ADD_GOSSIP_ITEM( 10, "Stair Event #2" , GOSSIP_SENDER_MAIN, 7883);
pPlayer->ADD_GOSSIP_ITEM( 10, "Stair Event #3" , GOSSIP_SENDER_MAIN, 7884);
pPlayer->ADD_GOSSIP_ITEM( 10, "Stair Event #4" , GOSSIP_SENDER_MAIN, 7885);
pPlayer->ADD_GOSSIP_ITEM( 10, "--- Rocket Events ---" , GOSSIP_SENDER_MAIN, 7800);
pPlayer->ADD_GOSSIP_ITEM( 10, "Rocket Jumping #1" , GOSSIP_SENDER_MAIN, 7803);
//pPlayer->ADD_GOSSIP_ITEM( 10, "Jumping Ship #2" , GOSSIP_SENDER_MAIN, 7804);
pPlayer->ADD_GOSSIP_ITEM( 10, "--- Race Events ---" , GOSSIP_SENDER_MAIN, 7800);
pPlayer->ADD_GOSSIP_ITEM( 10, "Kings Race #1 " , GOSSIP_SENDER_MAIN, 7805);
pPlayer->ADD_GOSSIP_ITEM( 10, "Kings Race #2 " , GOSSIP_SENDER_MAIN, 7806);
pPlayer->ADD_GOSSIP_ITEM( 10, "Trap Race" , GOSSIP_SENDER_MAIN, 7809);
pPlayer->ADD_GOSSIP_ITEM( 10, "--- Labyrinth Events ---" , GOSSIP_SENDER_MAIN, 7800);
pPlayer->ADD_GOSSIP_ITEM( 10, "Labyrinth #1" , GOSSIP_SENDER_MAIN, 7807);
pPlayer->ADD_GOSSIP_ITEM( 10, "Labyrinth #2" , GOSSIP_SENDER_MAIN, 7808);
//pPlayer->ADD_GOSSIP_ITEM( 10, "Kings Maze" , GOSSIP_SENDER_MAIN, 7886);
pPlayer->ADD_GOSSIP_ITEM( 10, "<- Main Menu" , GOSSIP_SENDER_MAIN, 5005);
pPlayer->PlayerTalkClass->SendGossipMenu(85000,pCreature->GetGUID());
break;
case 7809: // stair event 3
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(573, 2877.901855f, 978.493103f, -0.000344f, 6.175782f);
break;
case 7886: // stair event 3
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -7775.63f, 453.462f, 59.4575f, 6.24073f);
break;
case 7885: // stair event 5
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -9626.16f, -1940.66f, 2.99487f, 5.28172f);
break;
case 7884: // stair event 4
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -11823.6f, 1328.9f, 0.886994f, 1.34418f);
break;
case 7883: // stair event 3
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -1123.981567f, 3294.8806f, 0.396286f, 4.527313f);
break;
case 7801: // Stair of winter
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -6952.728027f, -4878.006348f, 0.715152f, 6.258047f);
break;
case 7802: // stair of nexus
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, -13190.887695f, 321.519745f, 33.241989f, 4.361507f);
break;
case 7803: // ship 1
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(573, -259.244019f, -274.849365f, 0.000014f, 6.222119f);
break;
case 7804: // ship 2
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, 266.557770f, -4917.015625f, 340.918640f, 1.595938f);
break;
case 7805: // race event
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -6195.622559f, -3920.397949f, -47.341072f, 0.964574f);
break;
case 7806: // race event 2
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -6281.371094f, -4012.339111f, -58.749119f, 6.257368f);
break;
case 7807: // labyrinth 1
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, 2034.619995f, 2019.250000f, 131.414001f, 6.222320f);
break;
case 7808:
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(1, -5239.00f, -4483.68f, 86.111f, 1.56687f);
break;
case 7105: // Ally Boss 200
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->TeleportTo(0, 334.382446f, 372.605347f, -38.309719f, 1.0f);
break;
case 7500: // Buffs
pPlayer->PlayerTalkClass->SendCloseGossip();
pPlayer->AddAura(33077, pPlayer);
pPlayer->AddAura(33078, pPlayer);
pPlayer->AddAura(33079, pPlayer);
pPlayer->AddAura(33080, pPlayer);
pPlayer->AddAura(33081, pPlayer);
pPlayer->AddAura(33082, pPlayer);
pPlayer->AddAura(24705, pPlayer);
pPlayer->AddAura(26035, pPlayer);
pCreature->MonsterSay("Enjoy your buffs, and remember to vote!", LANG_UNIVERSAL, NULL);
break;
case 7700: // Heal
if (pPlayer->isInCombat())
{
pPlayer->PlayerTalkClass->SendCloseGossip();
pCreature->MonsterSay("You cannot heal while in combat!", LANG_UNIVERSAL, NULL);
return;
}
pPlayer->PlayerTalkClass->SendCloseGossip();
pCreature->CastSpell(pPlayer,25840,false);
pCreature->MonsterSay("You have been healed, enjoy!", LANG_UNIVERSAL, NULL);
break;
case 7106: // GM Office pPlayer->ADD_GOSSIP_ITEM( 10, "[-- Alliance Boss --]", , GOSSIP_SENDER_MAIN, 7336);