Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
BattlegroundAV.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef SF_BATTLEGROUNDAV_H
7#define SF_BATTLEGROUNDAV_H
8
9#include "Battleground.h"
10
11#define LANG_BG_AV_A_CAPTAIN_BUFF "Begone. Uncouth scum! The Alliance shall prevail in Alterac Valley!"
12#define LANG_BG_AV_H_CAPTAIN_BUFF "Now is the time to attack! For the Horde!"
13#define LANG_BG_AV_S_MINE_BOSS_CLAIMS "Snivvle is here! Snivvle claims the Coldtooth Mine!"
14
15#define BG_AV_CAPTIME 240000 //4:00
16#define BG_AV_SNOWFALL_FIRSTCAP 300000 //5:00 but i also have seen 4:05
17
18#define BG_AV_SCORE_INITIAL_POINTS 600
19#define SEND_MSG_NEAR_LOSE 120
20
21#define BG_AV_KILL_BOSS 4
22#define BG_AV_REP_BOSS 350
23
24#define BG_AV_KILL_CAPTAIN 3
25#define BG_AV_REP_CAPTAIN 125
26#define BG_AV_RES_CAPTAIN 100
27
28#define BG_AV_KILL_TOWER 3
29#define BG_AV_REP_TOWER 12
30#define BG_AV_RES_TOWER 75
31
32#define BG_AV_GET_COMMANDER 1 //for a safely returned wingcommander
33//bonushonor at the end
34#define BG_AV_KILL_SURVIVING_TOWER 2
35#define BG_AV_REP_SURVIVING_TOWER 12
36
37#define BG_AV_KILL_SURVIVING_CAPTAIN 2
38#define BG_AV_REP_SURVIVING_CAPTAIN 125
39
40#define BG_AV_EVENT_START_BATTLE 9166 // Achievement: The Alterac Blitz
41
43{
44/*
458212:
46 alliance grave assault
47 alliance tower assault
48 drek "mlanzenabschaum! In meiner Burg?! Toetet sie all" - nicht immer der sound
498333:
50 galv "sterbt fuer euch ist kein platz hier"
51
528332:
53 bal "Verschwinde, dreckiger Abschaum! Die Allianz wird im Alteractal "
548174:
55 horde tower assault
56 horde grave assault
57 van "es Sturmlanzenklans, euer General wird angegriffen! Ich fordere Unterst"
588173:
59 ally grave capture/defend
60 tower destroy
61 mine capture
62 ally wins
638192:
64 ally tower destroy(only iceblood - found a bug^^)
65 ally tower defend
66 horde tower defend
678213
68horde:
69 grave defend/capture
70 tower destroy
71 mine capture
72 horde wins
73 */
74
76
77 AV_SOUND_ALLIANCE_ASSAULTS = 8212, //tower, grave + enemy boss if someone tries to attack him
79 AV_SOUND_ALLIANCE_GOOD = 8173, //if something good happens for the team: wins(maybe only through killing the boss), captures mine or grave, destroys tower and defends grave
82
83 AV_SOUND_ALLIANCE_CAPTAIN = 8232, //gets called when someone attacks them and at the beginning after 3min+rand(x)*10sec (maybe buff)
85};
86
88{
94 AV_NEUTRAL_TEAM = 0 //this is the neutral owner of snowfall
95};
97{
98 //cause the mangos-system is a bit different, we don't use the right go-ids for every node.. if we want to be 100% like another big server, we must take one object for every node
99 //snowfall 4flags as eyecandy 179424 (alliance neutral)
100 //Banners - stolen from battleground_AB.h ;-)
101 BG_AV_OBJECTID_BANNER_A = 178925, // can only be used by horde
102 BG_AV_OBJECTID_BANNER_H = 178943, // can only be used by alliance
103 BG_AV_OBJECTID_BANNER_CONT_A = 178940, // can only be used by horde
104 BG_AV_OBJECTID_BANNER_CONT_H = 179435, // can only be used by alliance
105
111
112 //snowfall eyecandy banner:
117
118 //banners on top of towers:
119 BG_AV_OBJECTID_TOWER_BANNER_A = 178927, //[PH] Alliance A1 Tower Banner BIG
120 BG_AV_OBJECTID_TOWER_BANNER_H = 178955, //[PH] Horde H1 Tower Banner BIG
121 BG_AV_OBJECTID_TOWER_BANNER_PA = 179446, //[PH] Alliance H1 Tower Pre-Banner BIG
122 BG_AV_OBJECTID_TOWER_BANNER_PH = 179436, //[PH] Horde A1 Tower Pre-Banner BIG
123
124 //Auras
131
134
135 //mine supplies
138
141};
142
163
165{
177
189
201
213
215
218 //auras for graveyards (3auras per graveyard neutral, alliance, horde)
240
241 //big flags on top of towers 2 flags on each (contested, (alliance | horde)) + 2 auras
274
293
295};
296
298{
322
341
343};
344
346{
347 {638.592f, -32.422f, 46.0608f, -1.62316f }, //firstaid station
348 {669.007f, -294.078f, 30.2909f, 2.77507f }, //stormpike
349 {77.8013f, -404.7f, 46.7549f, -0.872665f }, //stone grave
350 {-202.581f, -112.73f, 78.4876f, -0.715585f }, //snowfall
351 {-611.962f, -396.17f, 60.8351f, 2.53682f}, //iceblood grave
352 {-1082.45f, -346.823f, 54.9219f, -1.53589f }, //frostwolf grave
353 {-1402.21f, -307.431f, 89.4424f, 0.191986f }, //frostwolf hut
354 {553.779f, -78.6566f, 51.9378f, -1.22173f }, //dunnbaldar south
355 {674.001f, -143.125f, 63.6615f, 0.994838f }, //dunbaldar north
356 {203.281f, -360.366f, 56.3869f, -0.925024f }, //icew
357 {-152.437f, -441.758f, 40.3982f, -1.95477f }, //stone
358 {-571.88f, -262.777f, 75.0087f, -0.802851f }, //ice tower
359 {-768.907f, -363.71f, 90.8949f, 1.07991f}, //tower point
360 {-1302.9f, -316.981f, 113.867f, 2.00713f }, //frostwolf etower
361 {-1297.5f, -266.767f, 114.15f, 3.31044f}, //frostwolf wtower
362 //bigbanner:
363 {555.848f, -84.4151f, 64.4397f, 3.12414f }, //duns
364 {679.339f, -136.468f, 73.9626f, -2.16421f }, //dunn
365 {208.973f, -365.971f, 66.7409f, -0.244346f }, //icew
366 {-155.832f, -449.401f, 52.7306f, 0.610865f }, //stone
367 {-572.329f, -262.476f, 88.6496f, -0.575959f }, //icetower
368 {-768.199f, -363.105f, 104.537f, 0.10472f }, //towerp
369 {-1302.84f, -316.582f, 127.516f, 0.122173f }, //etower
370 {-1297.87f, -266.762f, 127.796f, 0.0698132f }, //wtower
371 //burning auras towers have 9*179065 captain-buildings have 5*179066+5*179065
372 //dunns
373 {562.632f, -88.1815f, 61.993f, 0.383972f },
374 {562.523f, -74.5028f, 37.9474f, -0.0523599f },
375 {558.097f, -70.9842f, 52.4876f, 0.820305f },
376 {578.167f, -71.8191f, 38.1514f, 2.72271f },
377 {556.028f, -94.9242f, 44.8191f, 3.05433f },
378 {572.451f, -94.3655f, 37.9443f, -1.72788f },
379 {549.263f, -79.3645f, 44.8191f, 0.436332f },
380 {543.513f, -94.4006f, 52.4819f, 0.0349066f },
381 {572.149f, -93.7862f, 52.5726f, 0.541052f },
382 {582.162f, -81.2375f, 37.9216f, 0.0872665f },
383 //dunn
384 {664.797f, -143.65f, 64.1784f, -0.453786f},
385 {664.505f, -139.452f, 49.6696f, -0.0349067f},
386 {676.067f, -124.319f, 49.6726f, -1.01229f},
387 {693.004f, -144.025f, 64.1755f, 2.44346f},
388 {661.175f, -117.691f, 49.645f, 1.91986f},
389 {684.423f, -146.582f, 63.6662f, 0.994838f},
390 {682.791f, -127.769f, 62.4155f, 1.09956f},
391 {674.576f, -147.101f, 56.5425f, -1.6057f},
392 {655.719f, -126.673f, 49.8138f, 2.80998f},
393 {0, 0, 0, 0},
394 //icew
395 {231.503f, -356.688f, 42.3704f, 0.296706f},
396 {224.989f, -348.175f, 42.5607f, 1.50098f},
397 {205.782f, -351.335f, 56.8998f, 1.01229f},
398 {196.605f, -369.187f, 56.3914f, 2.46091f},
399 {210.619f, -376.938f, 49.2677f, 2.86234f},
400 {209.647f, -352.632f, 42.3959f, -0.698132f},
401 {220.65f, -368.132f, 42.3978f, -0.2618f},
402 {224.682f, -374.031f, 57.0679f, 0.541052f},
403 {200.26f, -359.968f, 49.2677f, -2.89725f},
404 {196.619f, -378.016f, 56.9131f, 1.01229f},
405 //stone
406 {-155.488f, -437.356f, 33.2796f, 2.60054f},
407 {-163.441f, -454.188f, 33.2796f, 1.93732f},
408 {-143.977f, -445.148f, 26.4097f, -1.8675f},
409 {-135.764f, -464.708f, 26.3823f, 2.25147f},
410 {-154.076f, -466.929f, 41.0636f, -1.8675f},
411 {-149.908f, -460.332f, 26.4083f, -2.09439f},
412 {-151.638f, -439.521f, 40.3797f, 0.436332f},
413 {-131.301f, -454.905f, 26.5771f, 2.93215f},
414 {-171.291f, -444.684f, 40.9211f, 2.30383f},
415 {-143.591f, -439.75f, 40.9275f, -1.72788f},
416 //iceblood
417 {-572.667f, -267.923f, 56.8542f, 2.35619f},
418 {-561.021f, -262.689f, 68.4589f, 1.37881f},
419 {-572.538f, -262.649f, 88.6197f, 1.8326f},
420 {-574.77f, -251.45f, 74.9422f, -1.18682f},
421 {-578.625f, -267.571f, 68.4696f, 0.506145f},
422 {-571.476f, -257.234f, 63.3223f, 3.10669f},
423 {-566.035f, -273.907f, 52.9582f, -0.890118f},
424 {-580.948f, -259.77f, 68.4696f, 1.46608f},
425 {-568.318f, -267.1f, 75.0008f, 1.01229f},
426 {-559.621f, -268.597f, 52.8986f, 0.0523599f},
427 //towerp
428 {-776.072f, -368.046f, 84.3558f, 2.63545f},
429 {-777.564f, -368.521f, 90.6701f, 1.72788f},
430 {-765.461f, -357.711f, 90.888f, 0.314159f},
431 {-768.763f, -362.735f, 104.612f, 1.81514f},
432 {-760.356f, -358.896f, 84.3558f, 2.1293f},
433 {-771.967f, -352.838f, 84.3484f, 1.74533f},
434 {-773.333f, -364.653f, 79.2351f, -1.64061f},
435 {-764.109f, -366.069f, 70.0934f, 0.383972f},
436 {-767.103f, -350.737f, 68.7933f, 2.80998f},
437 {-760.115f, -353.845f, 68.8633f, 1.79769f},
438 //froste
439 {-1304.87f, -304.525f, 91.8366f, -0.680679f},
440 {-1301.77f, -310.974f, 95.8252f, 0.907571f},
441 {-1305.58f, -320.625f, 102.166f, -0.558505f},
442 {-1294.27f, -323.468f, 113.893f, -1.67552f},
443 {-1302.65f, -317.192f, 127.487f, 2.30383f},
444 {-1293.89f, -313.478f, 107.328f, 1.6057f},
445 {-1312.41f, -312.999f, 107.328f, 1.5708f},
446 {-1311.57f, -308.08f, 91.7666f, -1.85005f},
447 {-1314.7f, -322.131f, 107.36f, 0.645772f},
448 {-1304.6f, -310.754f, 113.859f, -0.401426f},
449 //frostw
450 {-1308.24f, -273.26f, 92.0514f, -0.139626f},
451 {-1302.26f, -262.858f, 95.9269f, 0.418879f},
452 {-1297.28f, -267.773f, 126.756f, 2.23402f},
453 {-1299.08f, -256.89f, 114.108f, -2.44346f},
454 {-1303.41f, -268.237f, 114.151f, -1.23918f},
455 {-1304.43f, -273.682f, 107.612f, 0.244346f},
456 {-1309.53f, -265.951f, 92.1418f, -2.49582f},
457 {-1295.55f, -263.865f, 105.033f, 0.925024f},
458 {-1294.71f, -281.466f, 107.664f, -1.50098f},
459 {-1289.69f, -259.521f, 107.612f, -2.19912f},
460
461 //the two buildings of the captains
462 //alliance
463 {-64.4987f, -289.33f, 33.4616f, -2.82743f},
464 {-5.98025f, -326.144f, 38.8538f, 0},
465 {-2.67893f, -306.998f, 33.4165f, 0},
466 {-60.25f, -309.232f, 50.2408f, -1.46608f},
467 {-48.7941f, -266.533f, 47.7916f, 2.44346f},
468 {-3.40929f, -306.288f, 33.34f, 0},
469 {-48.619f, -266.917f, 47.8168f, 0},
470 {-62.9474f, -286.212f, 66.7288f, 0},
471 {-5.05132f, -325.323f, 38.8536f, 0},
472 {-64.2677f, -289.412f, 33.469f, 0},
473 //horde
474 {-524.276f, -199.6f, 82.8733f, -1.46608f},
475 {-518.196f, -173.085f, 102.43f, 0},
476 {-500.732f, -145.358f, 88.5337f, 2.44346f},
477 {-501.084f, -150.784f, 80.8506f, 0},
478 {-518.309f, -163.963f, 102.521f, 2.96706f},
479 {-517.053f, -200.429f, 80.759f, 0},
480 {-514.361f, -163.864f, 104.163f, 0},
481 {-568.04f, -188.707f, 81.55f, 0},
482 {-501.775f, -151.581f, 81.2027f, 0},
483 {-509.975f, -191.652f, 83.2978f, 0},
484
485 //snowfall eyecandy
486 {-191.153f, -129.868f, 78.5595f, -1.25664f },
487 {-201.282f, -134.319f, 78.6753f, -0.942478f },
488 {-215.981f, -91.4101f, 80.8702f, -1.74533f },
489 {-200.465f, -96.418f, 79.7587f, 1.36136f },
490 //mine supplies
491 //irondeep
492 {870.899f, -388.434f, 61.6406f, -1.22173f},
493 {825.214f, -320.174f, 63.712f, -2.82743f},
494 {837.117f, -452.556f, 47.2331f, -3.12414f},
495 {869.755f, -448.867f, 52.5448f, -0.855212f},
496 {949.877f, -458.198f, 56.4874f, 0.314159f},
497 {900.35f, -479.024f, 58.3553f, 0.122173f},
498 {854.449f, -442.255f, 50.6589f, 0.401426f},
499 {886.685f, -442.358f, 54.6962f, -1.22173f},
500 {817.509f, -457.331f, 48.4666f, 2.07694f},
501 {793.411f, -326.281f, 63.1117f, -2.79253f},
502 //coldtooth
503 {-934.212f, -57.3517f, 80.277f, -0.0174535f},
504 {-916.281f, -36.8579f, 77.0227f, 0.122173f},
505 {-902.73f, -103.868f, 75.4378f, -1.58825f},
506 {-900.514f, -143.527f, 75.9686f, 1.8675f},
507 {-862.882f, -0.353299f, 72.1526f, -2.51327f},
508 {-854.932f, -85.9184f, 68.6056f, -2.04204f},
509 {-851.833f, -118.959f, 63.8672f, -0.0698131f},
510 {-849.832f, -20.8421f, 70.4672f, -1.81514f},
511 {-844.25f, -60.0374f, 72.1031f, -2.19912f},
512 {-820.644f, -136.043f, 63.1977f, 2.40855f},
513 {-947.642f, -208.807f, 77.0101f, 1.36136f},
514 {-951.394f, -193.695f, 67.634f, 0.802851f}
515};
516
517const float BG_AV_DoorPositons[2][4] =
518{
519 {780.487f, -493.024f, 99.9553f, 3.0976f}, //alliance
520 {-1375.193f, -538.981f, 55.2824f, 0.72178f} //horde
521};
522
523//creaturestuff starts here
524//is related to BG_AV_CreaturePos
526{
536 //I don't add a variable for all 4 positions... I think one is enough to compute the rest
544
553
562 //irondeep
563 //miner:
566 //special types
569 //boss
571 //coldtooth
572 //miner:
575 //special types
578 //vermin
581 //boss
583
584 //herald
586
587 //node aura triggers
603
604 //boss, captain triggers
609
611};
612
613//x, y, z, o
615{
616 //spiritguides
617 {643.000000f, 44.000000f, 69.740196f, -0.001854f},
618 {676.000000f, -374.000000f, 30.000000f, -0.001854f},
619 {73.417755f, -496.433105f, 48.731918f, -0.001854f},
620 {-157.409195f, 31.206272f, 77.050598f, -0.001854f},
621 {-531.217834f, -405.231384f, 49.551376f, -0.001854f},
622 {-1090.476807f, -253.308670f, 57.672371f, -0.001854f},
623 {-1496.065063f, -333.338409f, 101.134804f, -0.001854f},
624 {873.001770f, -491.283630f, 96.541931f, -0.001854f},
625 {-1437.670044f, -610.088989f, 51.161900f, -0.001854f},
626 //grave
627 //firstaid
628 {635.17f, -29.5594f, 46.5056f, 4.81711f},
629 {642.488f, -32.9437f, 46.365f, 4.67748f},
630 {642.326f, -27.9442f, 46.9211f, 4.59022f},
631 {635.945f, -33.6171f, 45.7164f, 4.97419f},
632 //stormpike
633 {669.272f, -297.304f, 30.291f, 4.66604f},
634 {674.08f, -292.328f, 30.4817f, 0.0918785f},
635 {667.01f, -288.532f, 29.8809f, 1.81583f},
636 {664.153f, -294.042f, 30.2851f, 3.28531f},
637 //stone
638 {81.7027f, -406.135f, 47.7843f, 0.598464f},
639 {78.1431f, -409.215f, 48.0401f, 5.05953f},
640 {73.4135f, -407.035f, 46.7527f, 3.34736f},
641 {78.2258f, -401.859f, 46.4202f, 2.05852f},
642 //snowfall
643 {-207.412f, -110.616f, 78.7959f, 2.43251f},
644 {-197.95f, -112.205f, 78.5686f, 6.22441f},
645 {-202.709f, -116.829f, 78.4358f, 5.13742f},
646 {-202.059f, -108.314f, 78.5783f, 5.91968f},
647 //ice
648 {-615.501f, -393.802f, 60.4299f, 3.06147f},
649 {-608.513f, -392.717f, 62.5724f, 2.06323f},
650 {-609.769f, -400.072f, 60.7174f, 5.22367f},
651 {-616.093f, -398.293f, 60.5628f, 3.73613f},
652 //frost
653 {-1077.7f, -340.21f, 55.4682f, 6.25569f},
654 {-1082.74f, -333.821f, 54.7962f, 2.05459f},
655 {-1090.66f, -341.267f, 54.6768f, 3.27746f},
656 {-1081.58f, -344.63f, 55.256f, 4.75636f},
657 //frost hut
658 {-1408.95f, -311.69f, 89.2536f, 4.49954f},
659 {-1407.15f, -305.323f, 89.1993f, 2.86827f},
660 {-1400.64f, -304.3f, 89.7008f, 1.0595f},
661 {-1400.4f, -311.35f, 89.3028f, 4.99434f},
662 //towers
663 //dun south - OK
664 {569.395f, -101.064f, 52.8296f, 2.34974f},
665 {574.85f, -92.9842f, 52.5869f, 3.09325f},
666 {575.411f, -83.597f, 52.3626f, 6.26573f},
667 {571.352f, -75.6582f, 52.479f, 0.523599f},
668 //dun north - OK
669 {668.60f, -122.53f, 64.12f, 2.34f},
670 {662.253f, -129.105f, 64.1794f, 2.77507f},
671 {661.209f, -138.877f, 64.2251f, 3.38594f},
672 {665.481f, -146.857f, 64.1271f, 3.75246f},
673 //icewing - OK
674 {225.228f, -368.909f, 56.9983f, 6.23806f},
675 {191.36f, -369.899f, 57.1524f, 3.24631f},
676 {215.518f, -384.019f, 56.9889f, 5.09636f},
677 {199.625f, -382.177f, 56.8691f, 4.08407f},
678 //stone
679 {-172.851f, -452.366f, 40.8725f, 3.31829f},
680 {-147.147f, -435.053f, 40.8022f, 0.599238f},
681 {-169.456f, -440.325f, 40.985f, 2.59101f},
682 {-163.494f, -434.904f, 41.0725f, 1.84174f},
683 //ice - OK
684 {-573.522f, -271.854f, 75.0078f, 3.9619f},
685 {-565.616f, -269.051f, 74.9952f, 5.02655f},
686 {-562.825f, -261.087f, 74.9898f, 5.95157f},
687 {-569.176f, -254.446f, 74.8771f, 0.820305f},
688 //towerpoint
689 {-763.04f, -371.032f, 90.7933f, 5.25979f},
690 {-759.764f, -358.264f, 90.8681f, 0.289795f},
691 {-768.808f, -353.056f, 90.8811f, 1.52601f},
692 {-775.944f, -362.639f, 90.8949f, 2.59573f},
693 //frost etower
694 {-1294.13f, -313.045f, 107.328f, 0.270162f},
695 {-1306.5f, -308.105f, 113.767f, 1.78755f},
696 {-1294.78f, -319.966f, 113.79f, 5.94545f},
697 {-1294.83f, -312.241f, 113.799f, 0.295293f},
698 //frost wtower
699 {-1300.96f, -275.111f, 114.058f, 4.12804f},
700 {-1302.41f, -259.256f, 114.065f, 1.67602f},
701 {-1287.97f, -262.087f, 114.165f, 6.18264f},
702 {-1291.59f, -271.166f, 114.151f, 5.28257f},
703
704 //alliance marshall
705 {721.104f, -7.64155f, 50.7046f, 3.45575f}, // south
706 {723.058f, -14.1548f, 50.7046f, 3.40339f}, // north
707 {715.691f, -4.72233f, 50.2187f, 3.47321f}, // icewing
708 {720.046f, -19.9413f, 50.2187f, 3.36849f}, // stone
710 {-1363.99f, -221.99f, 98.4053f, 4.93012f},
711 {-1370.96f, -223.532f, 98.4266f, 4.93012f},
712 {-1378.37f, -228.614f, 99.3546f, 5.38565f},
713 {-1358.02f, -228.998f, 98.868f, 3.87768f},
714
715 //irondeep mine
716 //Irondeep Trogg
717 {971.671f, -442.657f, 57.6951f, 3.1765f},
718 {969.979f, -457.148f, 58.1119f, 4.5204f},
719 {958.692f, -333.477f, 63.2276f, 5.77704f},
720 {957.113f, -325.92f, 61.7589f, 1.13446f},
721 {948.25f, -448.268f, 56.9009f, 5.60251f},
722 {934.727f, -385.802f, 63.0344f, 3.75246f},
723 {931.751f, -403.458f, 59.6737f, 5.63741f},
724 {931.146f, -359.666f, 66.0294f, 3.9619f},
725 {929.702f, -412.401f, 56.8776f, 5.89921f},
726 {926.849f, -379.074f, 63.5286f, 2.0944f},
727 {921.972f, -358.597f, 66.4313f, 2.93215f},
728 {921.449f, -341.981f, 67.1264f, 3.4383f},
729 {921.1f, -395.812f, 60.4615f, 2.71695f},
730 {919.274f, -394.986f, 60.3478f, 2.71696f},
731 {916.852f, -393.891f, 60.1726f, 2.71695f},
732 {914.568f, -326.21f, 66.1733f, 2.25147f},
733 {913.064f, -395.773f, 60.1364f, 4.41568f},
734 {909.246f, -474.576f, 58.2067f, 0.226893f},
735 {909.246f, -474.576f, 58.2901f, 0.226893f},
736 {907.209f, -428.267f, 59.8065f, 1.8675f},
737 {905.973f, -459.528f, 58.7594f, 1.37189f},
738 {905.067f, -396.074f, 60.2085f, 5.07891f},
739 {901.809f, -457.709f, 59.0116f, 3.52557f},
740 {900.962f, -427.44f, 59.0842f, 1.50098f},
741 {897.929f, -471.742f, 59.7729f, 2.54818f},
742 {893.376f, -343.171f, 68.1499f, 5.35816f},
743 {890.584f, -406.049f, 61.1925f, 5.67232f},
744 {888.208f, -332.564f, 68.148f, 1.93732f},
745 {887.647f, -391.537f, 61.8734f, 1.37881f},
746 {885.109f, -343.338f, 67.0867f, 3.78979f},
747 {881.618f, -419.948f, 53.5228f, 0.593412f},
748 {878.675f, -345.36f, 66.1052f, 3.45651f},
749 {877.127f, -351.8f, 66.5296f, 5.74213f},
750 {876.778f, -345.97f, 65.7724f, 3.45262f},
751 {874.577f, -414.786f, 52.7817f, 1.67552f},
752 {868.247f, -343.136f, 64.9894f, 1.6057f},
753 {859.03f, -367.231f, 47.4655f, 0.0174533f},
754 {857.513f, -351.817f, 65.1867f, 4.39823f},
755 {852.632f, -372.416f, 48.1657f, 3.66519f},
756 {849.86f, -340.944f, 66.2447f, 0.401426f},
757 {847.99f, -386.287f, 60.9277f, 2.32374f},
758 {847.601f, -423.072f, 50.0852f, 4.57276f},
759 {847.135f, -411.307f, 50.2106f, 1.5708f},
760 {835.077f, -379.418f, 48.2755f, 5.93412f},
761 {834.87f, -453.304f, 47.9075f, 0.226893f},
762 {834.634f, -365.981f, 62.8801f, 1.32645f},
763 {834.354f, -355.526f, 48.1491f, 6.07375f},
764 {833.702f, -327.506f, 65.0439f, 0.331613f},
765 {833.151f, -374.228f, 63.0938f, 3.66519f},
766 {831.711f, -346.785f, 47.2975f, 0.226893f},
767 {827.874f, -413.624f, 48.5818f, 1.49241f},
768 {827.728f, -415.483f, 48.5593f, 1.49238f},
769 {827.016f, -424.543f, 48.2856f, 1.49236f},
770 {823.222f, -334.283f, 65.6306f, 4.88692f},
771 {821.892f, -464.723f, 48.9451f, 4.66003f},
772 {821.006f, -387.635f, 49.0728f, 3.15905f},
773 {817.26f, -447.432f, 49.4308f, 2.18166f},
774 {805.399f, -320.146f, 52.7712f, 0.296706f},
775 {801.405f, -328.055f, 53.0195f, 4.31096f},
776 //irondeep skullthumber irondeep shaman
777 {955.812f, -440.302f, 55.3411f, 3.19395f},
778 {937.378f, -377.816f, 65.3919f, 3.56047f},
779 {925.059f, -331.347f, 65.7564f, 3.66519f},
780 {922.918f, -396.634f, 60.3942f, 2.71695f},
781 {909.99f, -462.154f, 59.0811f, 3.7001f},
782 {907.893f, -388.787f, 61.7923f, 5.74213f},
783 {898.801f, -437.105f, 58.5266f, 0.959931f},
784 {884.237f, -407.597f, 61.566f, 0.820305f},
785 {880.744f, -344.683f, 66.4086f, 3.4644f},
786 {876.047f, -341.857f, 65.8743f, 4.45059f},
787 {874.674f, -402.077f, 61.7573f, 0.26341f},
788 {871.914f, -404.209f, 62.1269f, 6.06163f},
789 {871.606f, -403.665f, 62.0795f, 0.765774f},
790 {871.561f, -404.114f, 62.1297f, 0.00981727f},
791 {871.528f, -404.248f, 62.1455f, 0.498032f},
792 {871.493f, -404.122f, 62.1331f, 5.65727f},
793 {871.282f, -403.843f, 62.1108f, 0.788382f},
794 {868.294f, -392.395f, 61.4772f, 4.38685f},
795 {868.256f, -392.363f, 61.4803f, 0.732738f},
796 {867.804f, -392.51f, 61.5089f, 2.30167f},
797 {867.612f, -392.371f, 61.524f, 2.86149f},
798 {858.593f, -439.614f, 50.2184f, 0.872665f},
799 {851.471f, -362.52f, 47.314f, 4.06662f},
800 {846.939f, -347.279f, 66.2876f, 0.942478f},
801 {842.08f, -421.775f, 48.2659f, 1.0821f},
802 {838.358f, -371.212f, 63.3299f, 4.04916f},
803 {827.57f, -417.483f, 48.4538f, 1.49237f},
804 {827.012f, -457.397f, 48.9331f, 2.35619f},
805 {825.535f, -322.373f, 63.9357f, 4.76475f},
806 {867.635f, -443.605f, 51.3347f, 1.38626f},
807 {957.293f, -455.039f, 56.7395f, 5.79449f},
808 {950.077f, -326.672f, 61.6552f, 5.48033f},
809 {936.692f, -356.78f, 65.9835f, 2.75762f},
810 {926.475f, -419.345f, 56.1833f, 2.0944f},
811 {924.729f, -397.453f, 60.213f, 2.71695f},
812 {902.195f, -475.891f, 58.312f, 1.39626f},
813 {897.464f, -338.758f, 68.1715f, 2.94961f},
814 {884.237f, -407.597f, 61.566f, 0.820305f},
815 {882.517f, -344.111f, 66.7887f, 3.46962f},
816 {881.437f, -400.254f, 61.2028f, 0.263427f},
817 {880.156f, -400.678f, 61.3113f, 3.41373f},
818 {877.989f, -418.051f, 52.9753f, 4.46804f},
819 {871.212f, -404.12f, 62.1433f, 3.6554f},
820 {871.036f, -404.119f, 62.2237f, 4.50295f},
821 {857.396f, -395.766f, 61.263f, 4.78684f},
822 {857.276f, -395.395f, 61.2418f, 0.0845553f},
823 {857.231f, -394.577f, 61.2174f, 1.96817f},
824 {857.108f, -395.682f, 61.2317f, 4.87022f},
825 {856.709f, -395.28f, 61.1814f, 2.54913f},
826 {850.922f, -390.399f, 60.8771f, 2.85405f},
827 {847.556f, -388.228f, 60.9438f, 2.56872f},
828 {842.031f, -384.663f, 61.6028f, 2.56871f},
829 {832.035f, -389.301f, 47.5567f, 2.11185f},
830 {827.415f, -419.468f, 48.3322f, 1.49232f},
831 {826.402f, -349.454f, 47.2722f, 1.51844f},
832 {817.83f, -455.715f, 48.4207f, 0.925025f},
833 {808.953f, -325.964f, 52.4043f, 3.01942f},
834 // Morloch
835 {865.554f, -438.735f, 50.7333f, 2.12431f},
836 //coldtooth mine
837 //miner/digger
838 {-917.648f, -46.8922f, 77.0872f, 5.27089f},
839 {-912.689f, -45.4494f, 76.2277f, 4.60767f},
840 {-905.455f, -84.5179f, 75.3642f, 3.29867f},
841 {-904.332f, -111.509f, 75.5925f, 2.47837f},
842 {-904.27f, -160.419f, 61.9876f, 3.61192f},
843 {-904.023f, -90.4558f, 75.3706f, 3.40339f},
844 {-978.678f, -37.3136f, 75.8364f, 2.84489f},
845 {-973.076f, -36.5013f, 77.5047f, 1.0821f},
846 {-963.951f, -87.734f, 81.5555f, 0.575959f},
847 {-961.941f, -90.7252f, 81.6629f, 0.820305f},
848 {-957.623f, -186.582f, 66.6021f, 1.95477f},
849 {-952.476f, -179.778f, 78.6771f, 4.5204f},
850 {-950.427f, -115.007f, 79.6127f, 3.68264f},
851 {-950.25f, -151.95f, 79.4598f, -1.81423f},
852 {-950.169f, -188.099f, 66.6184f, 5.55015f},
853 {-949.944f, -142.977f, 80.5382f, 2.70526f},
854 {-947.854f, -170.5f, 79.7618f, 0.942478f},
855 {-946.738f, -139.567f, 80.0904f, 2.3911f},
856 {-945.503f, -65.0654f, 79.7907f, 5.02655f},
857 {-943.678f, -110.986f, 80.2557f, 0.959931f},
858 {-942.993f, -56.9881f, 79.8915f, 5.65487f},
859 {-938.197f, -155.838f, 61.3111f, 1.65806f},
860 {-930.488f, -214.524f, 72.1431f, 2.1236f},
861 {-929.947f, -154.449f, 61.5084f, 1.67552f},
862 {-927.412f, -135.313f, 61.1987f, 3.29867f},
863 {-920.677f, -156.859f, 62.8033f, 3.15306f},
864 {-916.75f, -136.094f, 62.2357f, 0.0698132f},
865 {-915.319f, -132.718f, 62.562f, 1.16984f},
866 {-913.589f, -146.794f, 76.9366f, 1.8675f},
867 {-907.572f, -148.937f, 76.6898f, 4.76475f},
868 {-902.02f, -64.6174f, 73.9707f, 1.19169f},
869 {-899.489f, -61.7252f, 73.2498f, 5.09636f},
870 {-894.792f, -127.141f, 75.3834f, 6.14356f},
871 {-892.408f, -162.525f, 64.1212f, 2.69884f},
872 {-892.326f, -123.158f, 76.0318f, 5.5676f},
873 {-888.468f, -148.462f, 61.8012f, 1.65806f},
874 {-883.268f, -159.738f, 63.5311f, 5.20108f},
875 {-877.76f, -118.07f, 65.215f, 2.94961f},
876 {-876.792f, -128.646f, 64.1045f, 3.40339f},
877 {-874.901f, -36.6579f, 69.4246f, 2.00713f},
878 {-874.856f, -151.351f, 62.7537f, 3.57875f},
879 {-872.135f, -150.08f, 62.7513f, 3.57201f},
880 {-870.288f, -149.217f, 62.5413f, 3.56624f},
881 {-870.03f, -6.27443f, 70.3867f, 2.3911f},
882 {-869.023f, -82.2118f, 69.5848f, 3.22886f},
883 {-866.354f, -40.2455f, 70.842f, 0.0698132f},
884 {-865.305f, -152.302f, 63.5044f, 4.86947f},
885 {-861.926f, -79.0519f, 71.4178f, 0.20944f},
886 {-857.292f, -152.277f, 63.2114f, 4.18879f},
887 {-853.357f, -0.696194f, 72.0655f, 0.994838f},
888 {-850.685f, -14.2596f, 70.2298f, 0.20944f},
889 {-839.987f, -67.7695f, 72.7916f, 4.93928f},
890 {-839.199f, -57.0558f, 73.4891f, 1.67552f},
891 {-836.963f, -153.224f, 63.3821f, 4.46804f},
892 {-832.721f, -67.7555f, 72.9062f, 4.99164f},
893 {-821.496f, -143.095f, 63.1292f, 0.541052f},
894 {-818.829f, -153.004f, 62.1757f, 6.12611f},
895 //special
896 {-954.622f, -110.958f, 80.7911f, 6.24828f},
897 {-951.477f, -53.9647f, 80.0235f, 5.32325f},
898 {-946.812f, -126.04f, 78.8601f, 5.15265f},
899 {-940.689f, -140.707f, 79.9225f, 2.79253f},
900 {-933.954f, -159.632f, 60.778f, 2.56563f},
901 {-922.537f, -130.291f, 61.3756f, 4.95674f},
902 {-915.862f, -151.74f, 76.9427f, 0.942478f},
903 {-888.321f, -159.831f, 62.5303f, 1.20428f},
904 {-874.361f, -42.4751f, 69.4316f, 0.785398f},
905 {-873.19f, -50.4899f, 70.0568f, -2.41288f},
906 {-868.511f, -148.386f, 62.3547f, 3.57875f},
907 {-868.44f, -121.649f, 64.5056f, 3.33358f},
908 {-868.324f, -77.7196f, 71.4768f, 5.41052f},
909 {-859.846f, -19.6549f, 70.7304f, 1.97222f},
910 {-828.05f, -150.508f, 62.2019f, 2.14675f},
911 {-826.254f, -58.6911f, 72.0041f, 3.68264f},
912 {-976.086f, -44.1775f, 76.029f, 1.46608f},
913 {-971.864f, -87.4223f, 81.4954f, 5.8294f},
914 {-966.551f, -74.1111f, 80.0243f, 4.2129f},
915 {-958.509f, -173.652f, 77.9013f, 6.24828f},
916 {-951.511f, -181.242f, 65.529f, 4.39823f},
917 {-940.967f, -186.243f, 77.698f, 1.28164f},
918 {-930.004f, -65.0898f, 79.077f, 0.0581657f},
919 {-920.864f, -40.2009f, 78.256f, 5.16617f},
920 {-919.089f, -148.021f, 62.0317f, 2.59327f},
921 {-901.516f, -116.329f, 75.6876f, 0.471239f},
922 {-897.864f, -84.4348f, 74.083f, 3.00197f},
923 {-897.617f, -52.0457f, 71.9503f, 4.36332f},
924 {-894.891f, -153.951f, 61.6827f, 3.23569f},
925 {-893.933f, -111.625f, 75.6591f, 4.22536f},
926 {-883.265f, -152.854f, 61.8384f, 0.0941087f},
927 {-868.293f, -147.243f, 62.1097f, 3.2056f},
928 {-867.501f, -11.8709f, 70.018f, 6.14356f},
929 {-866.699f, -147.54f, 62.1646f, 3.57878f},
930 {-866.566f, -91.1916f, 67.4414f, 4.56707f},
931 {-857.272f, -141.142f, 61.7356f, 4.17134f},
932 {-847.446f, -98.0061f, 68.5131f, 3.24631f},
933 {-837.026f, -140.729f, 62.5141f, 5.51524f},
934 {-824.204f, -65.053f, 72.3381f, 3.01942f},
935 //vermin (s.th special for this mine)
936 {-951.955f, -197.5f, 77.212f, 5.63741f},
937 {-944.837f, -199.608f, 77.0737f, 4.97419f},
938 {-933.494f, -209.063f, 73.7803f, 5.88176f},
939 {-929.666f, -201.308f, 73.7032f, 5.02655f},
940 {-978.997f, -249.356f, 65.4345f, 5.05464f},
941 {-974.565f, -224.828f, 69.5858f, 4.88846f},
942 {-946.514f, -259.239f, 66.0874f, 3.78132f},
943 {-918.402f, -250.439f, 69.5271f, 2.21352f},
944 {-910.14f, -229.959f, 72.9279f, 0.27677f},
945 {-851.563f, -88.6527f, 68.5983f, 3.61896f},
946 //boss
947 {-848.902f, -92.931f, 68.6325f, 3.33350f},
948 //herald
949 {-48.459f, -288.802f, 55.47f, 1.0f},
950 //triggers
951 {637.083f, -32.6603f, 45.9715f, 1.14353f}, //firstaid_station
952 {669.007f, -294.078f, 30.2909f, 2.77507f}, //stormpike_grave
953 {77.8013f, -404.7f, 46.7549f, -0.872665f}, //stoneheart_grave
954 {-202.581f, -112.73f, 78.4876f, -0.715585f}, //snowfall_grave
955 {-611.962f, -396.17f, 60.8351f, 2.53682f}, //iceblood_grave
956 {-1082.45f, -346.823f, 54.9219f, -1.53589f}, //frostwolf_grave
957 {-1402.21f, -307.431f, 89.4424f, 0.191986f}, //frostwolf_hut
958 {553.779f, -78.6566f, 51.9378f, -1.22173f}, //dunbaldar_south
959 {674.001f, -143.125f, 63.6615f, 0.994838f}, //dunbaldar_north
960 {203.281f, -360.366f, 56.3869f, -0.925024f}, //icewing_bunker
961 {-152.437f, -441.758f, 40.3982f, -1.95477f}, //stoneheart_bunker
962 {-571.88f, -262.777f, 75.0087f, -0.802851f}, //iceblood_tower
963 {-768.907f, -363.71f, 90.8949f, 1.07991f}, //tower_point
964 {-1302.9f, -316.981f, 113.867f, 2.00713f}, //frostwolf_etower
965 {-1297.5f, -266.767f, 114.15f, 3.31044f}, //frostwolf_wtower
966 {-57.7891f, -286.597f, 15.6479f, 6.02139f}, //AV_NPC_A_CAPTAIN balinda
967 {722.43f, -10.9982f, 50.7046f, 3.42085f}, //AV_NPC_A_BOSS vanndar
968 {-545.23f, -165.35f, 57.7886f, 3.01145f}, //AV_NPC_H_CAPTAIN galvangar
969 {-1370.9f, -219.793f, 98.4258f, 5.04381f} //AV_NPC_H_BOSS drek thar
970};
971
973{
974 AV_NPC_A_TOWERDEFENSE = 0, // stormpike bowman
975 AV_NPC_A_GRAVEDEFENSE0 = 1, // stormpike Defender
976 AV_NPC_A_GRAVEDEFENSE1 = 2, // seasoned defender
977 AV_NPC_A_GRAVEDEFENSE2 = 3, // veteran defender
978 AV_NPC_A_GRAVEDEFENSE3 = 4, // champion defender
979 AV_NPC_A_CAPTAIN = 5, // balinda
980 AV_NPC_A_BOSS = 6, // vanndar
981
982 AV_NPC_H_TOWERDEFENSE = 7, // frostwolf bowman
983 AV_NPC_H_GRAVEDEFENSE0 = 8, // frostwolf guardian
984 AV_NPC_H_GRAVEDEFENSE1 = 9, // seasoned guardian
985 AV_NPC_H_GRAVEDEFENSE2 = 10, // veteran guardian
986 AV_NPC_H_GRAVEDEFENSE3 = 11, // champion guardian
987 AV_NPC_H_CAPTAIN = 12, // galvangar
988 AV_NPC_H_BOSS = 13, // drek thar
989
1025};
1026
1027//entry, team, minlevel, maxlevel
1030{
1031 { 12050, 1216, 58, 58 }, //Stormpike Defender
1032 { 13326, 1216, 59, 59 }, //Seasoned Defender
1033 { 13331, 1216, 60, 60 }, //Veteran Defender
1034 { 13422, 1216, 61, 61 }, //Champion Defender
1035 { 13358, 1216, 59, 60 }, //Stormpike Bowman /// @todo: Confirm if this is correct. Author assumpted 60, 61 & 69, 70, but wouldn't work here
1036 { 11949, 469, 0, 0}, //not spawned with this data, but used for handlekillunit
1037 { 11948, 469, 0, 0}, //not spawned with this data, but used for handlekillunit
1038 { 12053, 1214, 58, 58 }, //Frostwolf Guardian
1039 { 13328, 1214, 59, 59 }, //Seasoned Guardian
1040 { 13332, 1214, 60, 60 }, //Veteran Guardian
1041 { 13421, 1214, 61, 61 }, //Champion Guardian
1042 { 13359, 1214, 59, 60 }, //Frostwolf Bowman
1043 { 11947, 67, 0, 0}, //not spawned with this data, but used for handlekillunit
1044 { 11946, 67, 0, 0}, //not spawned with this data, but used for handlekillunit
1045 { 14763, 1534, 60, 60 }, //Dun Baldar South Marshal
1046 { 14762, 1534, 60, 60 }, //Dun Baldar North Marshal
1047 { 14764, 1534, 60, 60 }, //Icewing Marshal
1048 { 14765, 1534, 60, 60 }, //Stonehearth Marshal
1049
1050 { 14773, 1214, 60, 60 }, //Iceblood Warmaster
1051 { 14776, 1214, 60, 60 }, //Tower Point Warmaster
1052 { 14772, 1214, 60, 60 }, //East Frostwolf Warmaster
1053 { 14777, 1214, 60, 60 }, //West Frostwolf Warmaster
1054
1055 { 10987, 59, 52, 53 }, //Irondeep Trogg
1056 { 11600, 59, 53, 54 }, //Irondeep Shaman
1057 { 11602, 59, 54, 55 }, //Irondeep Skullthumper
1058 { 11657, 59, 58, 58 }, //Morloch
1059
1060 {13396, 469, 52, 53}, // irondeep alliance /// @todo: Correct and give correct ids
1061 {13080, 469, 53, 54},
1062 {13098, 469, 54, 55},
1063 {13078, 469, 58, 58},
1064
1065 {13397, 67, 52, 53}, //irondeep horde
1066 {13099, 67, 53, 54},
1067 {13081, 67, 54, 55},
1068 {13079, 67, 58, 58},
1069
1070 { 11603, 59, 52, 53 }, //south mine neutral
1071 { 11604, 59, 53, 54 },
1072 { 11605, 59, 54, 55 },
1073 { 11677, 59, 58, 58 },
1074 { 10982, 59, 52, 53 }, //vermin
1075
1076 {13317, 469, 52, 53}, //alliance
1077 {13096, 469, 54, 55}, //explorer
1078 {13087, 469, 54, 55}, //invader
1079 {13086, 469, 58, 58},
1080
1081 {13316, 67, 52, 53}, //horde
1082 {13097, 67, 54, 55}, //surveypr
1083 {13089, 67, 54, 55}, //guard
1084 {13088, 67, 58, 58},
1085 {14848, 67, 58, 58} //Herald
1086};
1087
1088//x, y, z, o, static_creature_info-id
1090{
1091 //static creatures
1092 {-1235.31f, -340.777f, 60.5088f, 3.31613f, 0 }, //2225 - Zora Guthrek
1093 {-1244.02f, -323.795f, 61.0485f, 5.21853f, 1 }, //3343 - Grelkor
1094 {-1235.16f, -332.302f, 60.2985f, 2.96706f, 2 }, //3625 - Rarck
1095 {587.303f, -42.8257f, 37.5615f, 5.23599f, 3 }, //4255 - Brogus Thunderbrew
1096 {643.635f, -58.3987f, 41.7405f, 4.72984f, 4 }, //4257 - Lana Thunderbrew
1097 {591.464f, -44.452f, 37.6166f, 5.65487f, 5 }, //5134 - Jonivera Farmountain
1098 {608.515f, -33.3935f, 42.0003f, 5.41052f, 6 }, //5135 - Svalbrad Farmountain
1099 {617.656f, -32.0701f, 42.7168f, 4.06662f, 7 }, //5139 - Kurdrum Barleybeard
1100 {-1183.76f, -268.295f, 72.8233f, 3.28122f, 8 }, //10364 - Yaelika Farclaw
1101 {-1187.86f, -275.31f, 73.0481f, 3.63028f, 9 }, //10367 - Shrye Ragefist
1102 {-1008.42f, -368.006f, 55.3426f, 5.95647f, 10 }, //10981 - Frostwolf
1103 {-1091.92f, -424.28f, 53.0139f, 2.93958f, 10 }, //10981 - Frostwolf
1104 {-558.455f, -198.768f, 58.1755f, 4.97946f, 10 }, //10981 - Frostwolf
1105 {-861.247f, -312.51f, 55.1427f, 3.35382f, 10 }, //10981 - Frostwolf
1106 {-1003.81f, -395.913f, 50.4736f, 2.85631f, 10 }, //10981 - Frostwolf
1107 {-904.5f, -289.815f, 65.1222f, 5.7847f, 10 }, //10981 - Frostwolf
1108 {-1064.41f, -438.839f, 51.3614f, 1.88857f, 10 }, //10981 - Frostwolf
1109 {258.814f, 76.2017f, 18.6468f, 6.19052f, 11 }, //10986 - Snowblind Harpy
1110 {265.838f, -315.846f, -16.5429f, 3.15917f, 11 }, //10986 - Snowblind Harpy
1111 {426.485f, -51.1927f, -5.66286f, 1.60347f, 11 }, //10986 - Snowblind Harpy
1112 {452.044f, -33.9594f, -0.044651f, 2.72815f, 11 }, //10986 - Snowblind Harpy
1113 {266.032f, -315.639f, -16.5429f, 4.67962f, 11 }, //10986 - Snowblind Harpy
1114 {532.64f, -54.5863f, 20.7024f, 2.93215f, 11 }, //10986 - Snowblind Harpy
1115 {295.183f, -299.908f, -34.6123f, 0.135851f, 12 }, //10990 - Alterac Ram
1116 {421.08f, -225.006f, -23.73f, 0.166754f, 12 }, //10990 - Alterac Ram
1117 {-55.7766f, -192.498f, 20.4352f, 6.12221f, 12 }, //10990 - Alterac Ram
1118 {527.887f, -477.223f, 62.3559f, 0.170935f, 12 }, //10990 - Alterac Ram
1119 {389.144f, -346.508f, -30.334f, 4.14117f, 12 }, //10990 - Alterac Ram
1120 {108.121f, -322.248f, 37.5655f, 4.46788f, 12 }, //10990 - Alterac Ram
1121 {507.479f, -67.9403f, 10.3571f, 3.26304f, 12 }, //10990 - Alterac Ram
1122 {329.071f, -185.016f, -29.1542f, 0.356943f, 12 }, //10990 - Alterac Ram
1123 {252.449f, -422.313f, 35.1404f, 4.53771f, 12 }, //10990 - Alterac Ram
1124 {358.882f, -118.061f, -24.9119f, 2.29257f, 12 }, //10990 - Alterac Ram
1125 {487.151f, -174.229f, 14.7558f, 4.73192f, 12 }, //10990 - Alterac Ram
1126 {449.652f, -123.561f, 6.14273f, 6.12029f, 12 }, //10990 - Alterac Ram
1127 {272.419f, -261.802f, -41.8835f, 3.66559f, 12 }, //10990 - Alterac Ram
1128 {359.021f, -210.954f, -29.3483f, 4.31339f, 12 }, //10990 - Alterac Ram
1129 {450.598f, -318.048f, -37.7548f, 0.655219f, 12 }, //10990 - Alterac Ram
1130 {509.333f, -218.2f, 3.05439f, 3.66292f, 12 }, //10990 - Alterac Ram
1131 {485.771f, -223.613f, -1.53f, 2.04862f, 12 }, //10990 - Alterac Ram
1132 {486.636f, -452.172f, 39.6592f, 2.3341f, 12 }, //10990 - Alterac Ram
1133 {702.783f, -257.494f, 25.9777f, 1.68329f, 12 }, //10990 - Alterac Ram
1134 {460.942f, -199.263f, -6.0149f, 0.380506f, 12 }, //10990 - Alterac Ram
1135 {483.108f, -115.307f, 10.1056f, 3.69701f, 12 }, //10990 - Alterac Ram
1136 {471.601f, -154.174f, 14.0702f, 5.5807f, 12 }, //10990 - Alterac Ram
1137 {213.938f, -420.793f, 41.2549f, 5.71394f, 12 }, //10990 - Alterac Ram
1138 {289.387f, -294.685f, -33.9073f, 0.555494f, 12 }, //10990 - Alterac Ram
1139 {155.649f, -402.891f, 43.3915f, 5.94838f, 12 }, //10990 - Alterac Ram
1140 {517.184f, -295.105f, -9.78195f, 6.05668f, 12 }, //10990 - Alterac Ram
1141 {102.334f, -332.165f, 38.9812f, 3.31445f, 12 }, //10990 - Alterac Ram
1142 {320.244f, -107.793f, -42.6357f, -1.00311f, 12 }, //10990 - Alterac Ram
1143 {217.976f, 110.774f, 15.7603f, 4.56793f, 13 }, //11675 - Snowblind Windcaller
1144 {269.872f, 6.66684f, 20.7592f, 0.381212f, 13 }, //11675 - Snowblind Windcaller
1145 {313.528f, -319.041f, -27.2373f, 0.554098f, 13 }, //11675 - Snowblind Windcaller
1146 {435.441f, -39.9289f, -0.169651f, 0.549454f, 13 }, //11675 - Snowblind Windcaller
1147 {315.115f, -317.62f, -29.1123f, 0.90111f, 13 }, //11675 - Snowblind Windcaller
1148 {428.091f, -122.731f, 3.40332f, 6.05901f, 14 }, //11678 - Snowblind Ambusher
1149 {235.05f, 85.5705f, 18.3079f, -0.914255f, 14 }, //11678 - Snowblind Ambusher
1150 {-1553.04f, -344.342f, 64.4163f, 6.09933f, 15 }, //11839 - Wildpaw Brute
1151 {-545.23f, -165.35f, 57.7886f, 3.01145f, 16 }, //11947 - Captain Galvangar
1152 {722.43f, -10.9982f, 50.7046f, 3.42085f, 17 }, //11948 - Vanndar Stormpike
1153 {-57.7891f, -286.597f, 15.6479f, 6.02139f, 18 }, //11949 - Captain Balinda Stonehearth
1154 {930.498f, -520.755f, 93.7334f, 1.8326f, 19 }, //11997 - Stormpike Herald
1155 {-776.092f, -345.161f, 67.4092f, 1.89257f, 20 }, //12051 - Frostwolf Legionnaire
1156 {-1224.63f, -308.144f, 65.0087f, 4.01139f, 20 }, //12051 - Frostwolf Legionnaire
1157 {-713.039f, -442.515f, 82.8638f, 0.68724f, 20 }, //12051 - Frostwolf Legionnaire
1158 {-711.783f, -444.061f, 82.7039f, 0.683494f, 20 }, //12051 - Frostwolf Legionnaire
1159 {587.633f, -45.9816f, 37.5438f, 5.81195f, 21 }, //12096 - Stormpike Quartermaster
1160 {-1293.79f, -194.407f, 72.4398f, 5.84685f, 22 }, //12097 - Frostwolf Quartermaster
1161 {446.163f, -377.119f, -1.12725f, 0.209526f, 23 }, //12127 - Stormpike Guardsman
1162 {549.348f, -399.254f, 53.3537f, 3.24729f, 23 }, //12127 - Stormpike Guardsman
1163 {549.801f, -401.217f, 53.8305f, 3.24729f, 23 }, //12127 - Stormpike Guardsman
1164 {192.704f, -406.874f, 42.9183f, 6.10696f, 23 }, //12127 - Stormpike Guardsman
1165 {441.305f, -435.765f, 28.2385f, 2.14472f, 23 }, //12127 - Stormpike Guardsman
1166 {192.982f, -404.891f, 43.0132f, 6.1061f, 23 }, //12127 - Stormpike Guardsman
1167 {355.342f, -391.989f, -0.486707f, 3.00643f, 23 }, //12127 - Stormpike Guardsman
1168 {446.035f, -375.104f, -1.12725f, 0.21033f, 23 }, //12127 - Stormpike Guardsman
1169 {697.864f, -433.238f, 62.7914f, 1.65776f, 23 }, //12127 - Stormpike Guardsman
1170 {610.74f, -331.585f, 30.8021f, 5.14253f, 23 }, //12127 - Stormpike Guardsman
1171 {609.815f, -329.775f, 30.9271f, -2.38829f, 23 }, //12127 - Stormpike Guardsman
1172 {695.874f, -433.434f, 62.8543f, 1.65776f, 23 }, //12127 - Stormpike Guardsman
1173 {443.337f, -435.283f, 28.6842f, 2.13768f, 23 }, //12127 - Stormpike Guardsman
1174 {-1251.5f, -316.327f, 62.6565f, 5.02655f, 24 }, //13176 - Smith Regzar
1175 {-1332.0f, -331.243f, 91.2631f, 1.50098f, 25 }, //13179 - Wing Commander Guse
1176 {569.983f, -94.9992f, 38.0325f, 1.39626f, 26 }, //13216 - Gaelden Hammersmith
1177 {-1244.92f, -308.916f, 63.2525f, 1.62316f, 27 }, //13218 - Grunnda Wolfheart
1178 {-1319.56f, -342.675f, 60.3404f, 1.20428f, 28 }, //13236 - Primalist Thurloga
1179 {647.61f, -61.1548f, 41.7405f, 4.24115f, 29 }, //13257 - Murgot Deepforge
1180 {-1321.64f, -343.73f, 60.4833f, 1.01229f, 30 }, //13284 - Frostwolf Shaman
1181 {-1317.61f, -342.853f, 60.3726f, 2.47837f, 30 }, //13284 - Frostwolf Shaman
1182 {-1319.31f, -344.475f, 60.3825f, 1.72788f, 30 }, //13284 - Frostwolf Shaman
1183 {569.963f, -42.0218f, 37.7581f, 4.27606f, 31 }, //13438 - Wing Commander Slidore
1184 {729.2f, -78.812f, 51.6335f, 3.97935f, 32 }, //13442 - Arch Druid Renferal
1185 {729.118f, -82.8713f, 51.6335f, 2.53073f, 33 }, //13443 - Druid of the Grove
1186 {725.554f, -79.4973f, 51.6335f, 5.27089f, 33 }, //13443 - Druid of the Grove
1187 {724.768f, -84.1642f, 51.6335f, 0.733038f, 33 }, //13443 - Druid of the Grove
1188 {596.68f, -83.0633f, 39.0051f, 6.24828f, 34 }, //13447 - Corporal Noreg Stormpike
1189 {600.032f, -2.92475f, 42.0788f, 5.00909f, 35 }, //13577 - Stormpike Ram Rider Commander
1190 {610.239f, -21.8454f, 43.272f, 4.90438f, 36 }, //13617 - Stormpike Stable Master
1191 {613.422f, -150.764f, 33.4517f, 5.55015f, 37 }, //13797 - Mountaineer Boombellow
1192 {-1213.91f, -370.619f, 56.4455f, 0.837758f, 38 }, //13798 - Jotek
1193 {704.35f, -22.9071f, 50.2187f, 0.785398f, 39 }, //13816 - Prospector Stonehewer
1194 {-1271.24f, -335.766f, 62.3971f, 5.75959f, 40 }, //14185 - Najak Hexxen
1195 {-1268.64f, -332.688f, 62.6171f, 5.28835f, 41 }, //14186 - Ravak Grimtotem
1196 {648.363f, -65.2233f, 41.7405f, 3.12414f, 42 }, //14187 - Athramanis
1197 {648.238f, -67.8931f, 41.7405f, 2.60054f, 43 }, //14188 - Dirk Swindle
1198 {-1223.44f, -309.833f, 64.9331f, 4.0131f, 44 }, //14282 - Frostwolf Bloodhound
1199 {-1226.4f, -307.136f, 64.9706f, 4.0145f, 44 }, //14282 - Frostwolf Bloodhound
1200 {356.001f, -389.969f, -0.438796f, 3.0334f, 45 }, //14283 - Stormpike Owl
1201 {355.835f, -394.005f, -0.60149f, 3.02498f, 45 }, //14283 - Stormpike Owl
1202 {882.266f, -496.378f, 96.7707f, 4.83248f, 45 }, //14283 - Stormpike Owl
1203 {878.649f, -495.917f, 96.6171f, 4.67693f, 45 }, //14283 - Stormpike Owl
1204 {932.851f, -511.017f, 93.6748f, 3.61004f, 45 }, //14283 - Stormpike Owl
1205 {935.806f, -513.983f, 93.7436f, 3.61788f, 45 }, //14283 - Stormpike Owl
1206 {947.412f, -509.982f, 95.1098f, 2.82743f, 46 }, //14284 - Stormpike Battleguard
1207 {934.557f, -512.395f, 93.662f, 3.61004f, 46 }, //14284 - Stormpike Battleguard
1208 {939.42f, -502.777f, 94.5887f, 5.14872f, 46 }, //14284 - Stormpike Battleguard
1209 {854.276f, -494.241f, 96.8017f, 5.44543f, 46 }, //14284 - Stormpike Battleguard
1210 {776.621f, -487.775f, 99.4049f, 3.50811f, 46 }, //14284 - Stormpike Battleguard
1211 {880.169f, -495.699f, 96.6204f, 4.8325f, 46 }, //14284 - Stormpike Battleguard
1212 {773.651f, -497.482f, 99.0408f, 2.11185f, 46 }, //14284 - Stormpike Battleguard
1213 {949.1f, -506.913f, 95.4237f, 3.31613f, 46 }, //14284 - Stormpike Battleguard
1214 {-1370.9f, -219.793f, 98.4258f, 5.04381f, 47}, //drek thar
1215};
1216
1218{
1219 { 2225, 1215, 55, 55 }, //Zora Guthrek
1220 { 3343, 1215, 55, 55 }, //Grelkor
1221 { 3625, 1215, 55, 55 }, //Rarck
1222 { 4255, 1217, 55, 55 }, //Brogus Thunderbrew
1223 { 4257, 1217, 55, 55 }, //Lana Thunderbrew
1224 { 5134, 1217, 55, 55 }, //Jonivera Farmountain
1225 { 5135, 1217, 55, 55 }, //Svalbrad Farmountain
1226 { 5139, 1217, 55, 55 }, //Kurdrum Barleybeard
1227 { 10364, 1215, 55, 55 }, //Yaelika Farclaw
1228 { 10367, 1215, 55, 55 }, //Shrye Ragefist
1229 { 10981, 38, 50, 51 }, //Frostwolf
1230 { 10986, 514, 52, 53 }, //Snowblind Harpy
1231 { 10990, 1274, 50, 51 }, //Alterac Ram
1232 { 11675, 514, 53, 53 }, //Snowblind Windcaller
1233 { 11678, 14, 52, 53 }, //Snowblind Ambusher
1234 { 11839, 39, 56, 56 }, //Wildpaw Brute
1235 { 11947, 1214, 61, 61 }, // Captain Galvangar /// @todo: Duplicate ? Check and confirm
1236 { 11948, 1216, 63, 63 }, //Vanndar Stormpike
1237 { 11949, 1216, 61, 61 }, //Captain Balinda Stonehearth
1238 { 11997, 1334, 60, 60 }, //Stormpike Herald
1239 { 12051, 1214, 57, 57 }, //Frostwolf Legionnaire
1240 { 12096, 1217, 55, 55 }, //Stormpike Quartermaster
1241 { 12097, 1215, 55, 55 }, //Frostwolf Quartermaster
1242 { 12127, 1216, 57, 57 }, //Stormpike Guardsman
1243 { 13176, 1215, 60, 60 }, //Smith Regzar
1244 { 13179, 1215, 59, 59 }, //Wing Commander Guse
1245 { 13216, 1217, 58, 58 }, //Gaelden Hammersmith
1246 { 13218, 1215, 58, 58 }, //Grunnda Wolfheart
1247 { 13236, 1214, 60, 60 }, //Primalist Thurloga
1248 { 13257, 1216, 60, 60 }, //Murgot Deepforge
1249 { 13284, 1214, 58, 58 }, //Frostwolf Shaman
1250 { 13438, 1217, 58, 58 }, //Wing Commander Slidore
1251 { 13442, 1216, 60, 60 }, //Arch Druid Renferal
1252 { 13443, 1216, 60, 60 }, //Druid of the Grove
1253 { 13447, 1216, 58, 58 }, //Corporal Noreg Stormpike
1254 { 13577, 1216, 60, 60 }, //Stormpike Ram Rider Commander
1255 { 13617, 1216, 60, 60 }, //Stormpike Stable Master
1256 { 13797, 32, 60, 61 }, //Mountaineer Boombellow
1257 { 13798, 1214, 60, 61 }, //Jotek
1258 { 13816, 1216, 61, 61 }, //Prospector Stonehewer
1259 { 14185, 877, 59, 59 }, //Najak Hexxen
1260 { 14186, 105, 60, 60 }, //Ravak Grimtotem
1261 { 14187, 1594, 60, 60 }, //Athramanis
1262 { 14188, 57, 59, 59 }, //Dirk Swindle
1263 { 14282, 1214, 53, 54 }, //Frostwolf Bloodhound
1264 { 14283, 1216, 53, 54 }, //Stormpike Owl
1265 { 14284, 1216, 61, 61 }, //Stormpike Battleguard
1266 { 11946, 1214, 63, 63 }, //Drek'Thar /// @todo: Correct the level (Level 80 for boss ?)
1267 { 11948, 1216, 63, 63 }, //Vanndar Stormpike
1268 { 11947, 1214, 61, 61 }, //Captain Galvangar
1269 { 11949, 1216, 61, 61 } //Captain Balinda Stonehearth
1270};
1271
1284
1297
1299{
1301 AV_BUFF_A_CAPTAIN = 23693, //the buff which the alliance captain does
1302 AV_BUFF_H_CAPTAIN = 22751 //the buff which the horde captain does
1303};
1311
1313{
1318
1319 /*
1320 //the comments behind the state shows which icon overlaps the other.. but is, until now, unused and maybe not a good solution (but give few performance (:)
1321
1322 // Graves
1323
1324 // Alliance
1325 //Stormpike first aid station
1326 AV_AID_A_C = 1325,
1327 AV_AID_A_A = 1326,
1328 AV_AID_H_C = 1327,
1329 AV_AID_H_A = 1328,
1330 //Stormpike Graveyard
1331 AV_PIKEGRAVE_A_C = 1333,
1332 AV_PIKEGRAVE_A_A = 1335,
1333 AV_PIKEGRAVE_H_C = 1334,
1334 AV_PIKEGRAVE_H_A = 1336,
1335 //Stoneheart Grave
1336 AV_STONEHEART_A_C = 1302,
1337 AV_STONEHEART_A_A = 1304, //over hc
1338 AV_STONEHEART_H_C = 1301, //over ac
1339 AV_STONEHEART_H_A = 1303, //over aa
1340 //Neutral
1341 //Snowfall Grave
1342 */
1343 AV_SNOWFALL_N = 1966 //over aa
1344 /*
1345 AV_SNOWFALL_A_C = 1341, //over hc
1346 AV_SNOWFALL_A_A = 1343, //over ha
1347 AV_SNOWFALL_H_C = 1342,
1348 AV_SNOWFALL_H_A = 1344, //over ac
1349 //Horde
1350 //Iceblood grave
1351 AV_ICEBLOOD_A_C = 1346, //over hc
1352 AV_ICEBLOOD_A_A = 1348, //over ac
1353 AV_ICEBLOOD_H_C = 1347,
1354 AV_ICEBLOOD_H_A = 1349, //over aa
1355 //Frostwolf Grave
1356 AV_FROSTWOLF_A_C = 1337, //over hc
1357 AV_FROSTWOLF_A_A = 1339, //over ac
1358 AV_FROSTWOLF_H_C = 1338,
1359 AV_FROSTWOLF_H_A = 1340, //over aa
1360 //Frostwolf Hut
1361 AV_FROSTWOLFHUT_A_C = 1329, //over hc
1362 AV_FROSTWOLFHUT_A_A = 1331, //over ha
1363 AV_FROSTWOLFHUT_H_C = 1330,
1364 AV_FROSTWOLFHUT_H_A = 1332, //over ac
1365
1366 //Towers
1367 //Alliance
1368 //Dunbaldar South Bunker
1369 AV_DUNS_CONTROLLED = 1361,
1370 AV_DUNS_DESTROYED = 1370,
1371 AV_DUNS_ASSAULTED = 1378,
1372 //Dunbaldar North Bunker
1373 AV_DUNN_CONTROLLED = 1362,
1374 AV_DUNN_DESTROYED = 1371,
1375 AV_DUNN_ASSAULTED = 1379,
1376 //Icewing Bunker
1377 AV_ICEWING_CONTROLLED = 1363,
1378 AV_ICEWING_DESTROYED = 1372,
1379 AV_ICEWING_ASSAULTED = 1380,
1380 //Stoneheart Bunker
1381 AV_STONEH_CONTROLLED = 1364,
1382 AV_STONEH_DESTROYED = 1373,
1383 AV_STONEH_ASSAULTED = 1381,
1384 //Horde
1385 //Iceblood Tower
1386 AV_ICEBLOOD_CONTROLLED = 1385,
1387 AV_ICEBLOOD_DESTROYED = 1368,
1388 AV_ICEBLOOD_ASSAULTED = 1390,
1389 //Tower Point
1390 AV_TOWERPOINT_CONTROLLED = 1384,
1391 AV_TOWERPOINT_DESTROYED = 1367, //goes over controlled
1392 AV_TOWERPOINT_ASSAULTED = 1389, //goes over destroyed
1393 //Frostwolf West
1394 AV_FROSTWOLFW_CONTROLLED = 1382,
1395 AV_FROSTWOLFW_DESTROYED = 1365, //over controlled
1396 AV_FROSTWOLFW_ASSAULTED = 1387, //over destroyed
1397 //Frostwolf East
1398 AV_FROSTWOLFE_CONTROLLED = 1383,
1399 AV_FROSTWOLFE_DESTROYED = 1366,
1400 AV_FROSTWOLFE_ASSAULTED = 1388,
1401
1402 //mines
1403
1404 AV_N_MINE_N = 1360,
1405 AV_N_MINE_A = 1358,
1406 AV_N_MINE_H = 1359,
1407
1408 AV_S_MINE_N = 1357,
1409 AV_S_MINE_A = 1355,
1410 AV_S_MINE_H = 1356,
1411
1412 //towers assaulted by own team (unused)
1413 AV_STONEH_UNUSED = 1377,
1414 AV_ICEWING_UNUSED = 1376,
1415 AV_DUNS_UNUSED = 1375,
1416 AV_DUNN_UNUSED = 1374,
1417
1418 AV_ICEBLOOD_UNUSED = 1395,
1419 AV_TOWERPOINT_UNUSED = 1394,
1420 AV_FROSTWOLFE_UNUSED = 1393,
1421 AV_FROSTWOLFW_UNUSED = 1392
1422 */
1423};
1424
1425//alliance_control neutral_control horde_control
1427{
1428 {1358, 1360, 1359},
1429 {1355, 1357, 1356}
1430};
1431
1432//alliance_control alliance_assault h_control h_assault
1434{
1435 //Stormpike first aid station
1436 {1325, 1326, 1327, 1328},
1437 //Stormpike Graveyard
1438 {1333, 1335, 1334, 1336},
1439 //Stoneheart Grave
1440 {1302, 1304, 1301, 1303},
1441 //Snowfall Grave
1442 {1341, 1343, 1342, 1344},
1443 //Iceblood grave
1444 {1346, 1348, 1347, 1349},
1445 //Frostwolf Grave
1446 {1337, 1339, 1338, 1340},
1447 //Frostwolf Hut
1448 {1329, 1331, 1330, 1332},
1449 //Dunbaldar South Bunker
1450 {1361, 1375, 1370, 1378},
1451 //Dunbaldar North Bunker
1452 {1362, 1374, 1371, 1379},
1453 //Icewing Bunker
1454 {1363, 1376, 1372, 1380},
1455 //Stoneheart Bunker
1456 {1364, 1377, 1373, 1381},
1457 //Iceblood Tower
1458 {1368, 1390, 1385, 1395},
1459 //Tower Point
1460 {1367, 1389, 1384, 1394},
1461 //Frostwolf East
1462 {1366, 1388, 1383, 1393},
1463 //Frostwolf West
1464 {1365, 1387, 1382, 1392},
1465};
1466
1492
1500
1511
1512inline BG_AV_Nodes& operator++(BG_AV_Nodes& i) { return i = BG_AV_Nodes(i + 1); }
1513
1527
1529{
1530public:
1533
1534 /* inherited from BattlegroundClass */
1535 void AddPlayer(Player* player) OVERRIDE;
1538
1539 void RemovePlayer(Player* player, uint64 guid, uint32 team) OVERRIDE;
1540 void HandleAreaTrigger(Player* player, uint32 trigger) OVERRIDE;
1543
1544 /*general stuff*/
1545 void UpdateScore(uint16 team, int16 points);
1546 void UpdatePlayerScore(Player* player, uint32 type, uint32 value, bool doAddHonor = true) OVERRIDE;
1547
1548 /*handlestuff*/ //these are functions which get called from extern
1549 void EventPlayerClickedOnFlag(Player* source, GameObject* target_obj) OVERRIDE;
1550 void HandleKillPlayer(Player* player, Player* killer) OVERRIDE;
1551 void HandleKillUnit(Creature* unit, Player* killer) OVERRIDE;
1552 void HandleQuestComplete(uint32 questid, Player* player) OVERRIDE;
1553 bool CanActivateGO(int32 GOId, uint32 team) const OVERRIDE;
1554
1555 void EndBattleground(uint32 winner);
1556
1558
1559 // Achievement: Av perfection and Everything counts
1560 bool CheckAchievementCriteriaMeet(uint32 criteriaId, Player const* source, Unit const* target = NULL, uint32 miscvalue1 = 0) OVERRIDE;
1561
1563
1564private:
1565 void PostUpdateImpl(uint32 diff) OVERRIDE;
1566
1567 /* Nodes occupying */
1568 void EventPlayerAssaultsPoint(Player* player, uint32 object);
1569 void EventPlayerDefendsPoint(Player* player, uint32 object);
1571
1572 void AssaultNode(BG_AV_Nodes node, uint16 team);
1573 void DestroyNode(BG_AV_Nodes node);
1574 void InitNode(BG_AV_Nodes node, uint16 team, bool tower);
1575 void DefendNode(BG_AV_Nodes node, uint16 team);
1576
1577 void PopulateNode(BG_AV_Nodes node);
1578 void DePopulateNode(BG_AV_Nodes node);
1579
1582 char const* GetNodeName(BG_AV_Nodes node);
1583 bool IsTower(BG_AV_Nodes node) const { return m_Nodes[node].Tower; }
1584
1585 /*mine*/
1586 void ChangeMineOwner(uint8 mine, uint32 team, bool initial = false);
1587
1588 /*worldstates*/
1590 uint8 GetWorldStateType(uint8 state, uint16 team);
1591 void SendMineWorldStates(uint32 mine);
1593
1594 /*general */
1595 Creature* AddAVCreature(uint16 cinfoid, uint16 type);
1596 uint16 GetBonusHonor(uint8 kills);
1597
1598 /*variables */
1600 uint32 m_Team_QuestStatus[2][9] = { }; //[x][y] x=team y=questcounter
1601
1603
1605 uint32 m_Mine_PrevOwner[2] = { }; //only for worldstates needed
1606 int32 m_Mine_Timer; //ticks for both teams
1609 bool m_CaptainAlive[2] = { };
1610
1613};
1614
1615#endif
const float BG_AV_DoorPositons[2][4]
BG_AV_BUFF
@ AV_BUFF_H_CAPTAIN
@ AV_BUFF_ARMOR
@ AV_BUFF_A_CAPTAIN
BG_AV_Sounds
@ AV_SOUND_HORDE_CAPTAIN
@ AV_SOUND_ALLIANCE_CAPTAIN
@ AV_SOUND_HORDE_GOOD
@ AV_SOUND_ALLIANCE_ASSAULTS
@ AV_SOUND_ALLIANCE_GOOD
@ AV_SOUND_BOTH_TOWER_DEFEND
@ AV_SOUND_NEAR_VICTORY
@ AV_SOUND_HORDE_ASSAULTS
BG_AV_ObjectIds
@ BG_AV_OBJECTID_AURA_A_S
@ BG_AV_OBJECTID_BANNER_H
@ BG_AV_OBJECTID_BANNER_CONT_A
@ BG_AV_OBJECTID_SMOKE
@ BG_AV_OBJECTID_BANNER_H_B
@ BG_AV_OBJECTID_BANNER_A_B
@ BG_AV_OBJECTID_SNOWFALL_CANDY_A
@ BG_AV_OBJECTID_BANNER_SNOWFALL_N
@ BG_AV_OBJECTID_SNOWFALL_CANDY_PH
@ BG_AV_OBJECTID_FIRE
@ BG_AV_OBJECTID_BANNER_A
@ BG_AV_OBJECTID_TOWER_BANNER_PA
@ BG_AV_OBJECTID_TOWER_BANNER_H
@ BG_AV_OBJECTID_SNOWFALL_CANDY_H
@ BG_AV_OBJECTID_SNOWFALL_CANDY_PA
@ BG_AV_OBJECTID_MINE_N
@ BG_AV_OBJECTID_MINE_S
@ BG_AV_OBJECTID_GATE_H
@ BG_AV_OBJECTID_TOWER_BANNER_PH
@ BG_AV_OBJECTID_AURA_N
@ BG_AV_OBJECTID_AURA_A
@ BG_AV_OBJECTID_BANNER_CONT_H
@ BG_AV_OBJECTID_AURA_H_S
@ BG_AV_OBJECTID_BANNER_CONT_H_B
@ BG_AV_OBJECTID_BANNER_CONT_A_B
@ BG_AV_OBJECTID_AURA_H
@ BG_AV_OBJECTID_AURA_N_S
@ BG_AV_OBJECTID_TOWER_BANNER_A
@ BG_AV_OBJECTID_GATE_A
BG_AV_Nodes
@ BG_AV_NODES_ICEWING_BUNKER
@ BG_AV_NODES_TOWER_POINT
@ BG_AV_NODES_SNOWFALL_GRAVE
@ BG_AV_NODES_FIRSTAID_STATION
@ BG_AV_NODES_FROSTWOLF_GRAVE
@ BG_AV_NODES_STORMPIKE_GRAVE
@ BG_AV_NODES_STONEHEART_GRAVE
@ BG_AV_NODES_ICEBLOOD_TOWER
@ BG_AV_NODES_DUNBALDAR_NORTH
@ BG_AV_NODES_STONEHEART_BUNKER
@ BG_AV_NODES_MAX
@ BG_AV_NODES_FROSTWOLF_WTOWER
@ BG_AV_NODES_FROSTWOLF_ETOWER
@ BG_AV_NODES_DUNBALDAR_SOUTH
@ BG_AV_NODES_FROSTWOLF_HUT
@ BG_AV_NODES_ICEBLOOD_GRAVE
BG_AV_States
@ POINT_DESTROYED
@ POINT_NEUTRAL
@ POINT_CONTROLED
@ POINT_ASSAULTED
const uint32 BG_AV_CreatureInfo[AV_NPC_INFO_MAX][4]
const float BG_AV_ObjectPos[AV_OPLACE_MAX][4]
const float BG_AV_CreaturePos[AV_CPLACE_MAX][4]
const uint32 BG_AV_MineWorldStates[2][3]
BG_AV_OBJECTS
@ AV_OPLACE_FIRSTAID_STATION
@ AV_OPLACE_BIGBANNER_DUNBALDAR_SOUTH
@ AV_OPLACE_BIGBANNER_FROSTWOLF_ETOWER
@ AV_OPLACE_BURN_TOWER_POINT
@ AV_OPLACE_BURN_ICEWING_BUNKER
@ AV_OPLACE_MAX
@ AV_OPLACE_BURN_FROSTWOLF_WTOWER
@ AV_OPLACE_ICEWING_BUNKER
@ AV_OPLACE_BURN_DUNBALDAR_SOUTH
@ AV_OPLACE_ICEBLOOD_GRAVE
@ AV_OPLACE_MINE_SUPPLY_N_MIN
@ AV_OPLACE_SNOW_1
@ AV_OPLACE_BURN_DUNBALDAR_NORTH
@ AV_OPLACE_SNOWFALL_GRAVE
@ AV_OPLACE_BURN_ICEBLOOD_TOWER
@ AV_OPLACE_SNOW_4
@ AV_OPLACE_FROSTWOLF_HUT
@ AV_OPLACE_DUNBALDAR_SOUTH
@ AV_OPLACE_BIGBANNER_STONEHEART_BUNKER
@ AV_OPLACE_BIGBANNER_DUNBALDAR_NORTH
@ AV_OPLACE_SNOW_2
@ AV_OPLACE_BURN_STONEHEART_BUNKER
@ AV_OPLACE_BIGBANNER_ICEWING_BUNKER
@ AV_OPLACE_MINE_SUPPLY_S_MIN
@ AV_OPLACE_BIGBANNER_ICEBLOOD_TOWER
@ AV_OPLACE_BIGBANNER_FROSTWOLF_WTOWER
@ AV_OPLACE_MINE_SUPPLY_N_MAX
@ AV_OPLACE_SNOW_3
@ AV_OPLACE_MINE_SUPPLY_S_MAX
@ AV_OPLACE_TOWER_POINT
@ AV_OPLACE_FROSTWOLF_WTOWER
@ AV_OPLACE_ICEBLOOD_TOWER
@ AV_OPLACE_DUNBALDAR_NORTH
@ AV_OPLACE_BURN_FROSTWOLF_ETOWER
@ AV_OPLACE_STONEHEART_GRAVE
@ AV_OPLACE_STORMPIKE_GRAVE
@ AV_OPLACE_FROSTWOLF_ETOWER
@ AV_OPLACE_FROSTWOLF_GRAVE
@ AV_OPLACE_BURN_BUILDING_A
@ AV_OPLACE_BURN_BUILDING_H
@ AV_OPLACE_STONEHEART_BUNKER
@ AV_OPLACE_BIGBANNER_TOWER_POINT
BG_AV_ObjectTypes
@ BG_AV_OBJECT_FLAG_C_H_DUNBALDAR_NORTH
@ BG_AV_OBJECT_FLAG_C_H_STORMPIKE_GRAVE
@ BG_AV_OBJECT_FLAG_C_A_ICEBLOOD_TOWER
@ BG_AV_OBJECT_MINE_SUPPLY_N_MIN
@ BG_AV_OBJECT_MINE_SUPPLY_N_MAX
@ BG_AV_OBJECT_AURA_H_STONEHEART_GRAVE
@ BG_AV_OBJECT_BURN_TOWER_POINT
@ BG_AV_OBJECT_TAURA_A_ICEBLOOD_TOWER
@ BG_AV_OBJECT_TFLAG_A_DUNBALDAR_NORTH
@ BG_AV_OBJECT_MINE_SUPPLY_S_MIN
@ BG_AV_OBJECT_FLAG_A_ICEBLOOD_GRAVE
@ BG_AV_OBJECT_FLAG_H_SNOWFALL_GRAVE
@ BG_AV_OBJECT_FLAG_H_FROSTWOLF_HUT
@ BG_AV_OBJECT_MINE_SUPPLY_S_MAX
@ BG_AV_OBJECT_AURA_N_FIRSTAID_STATION
@ BG_AV_OBJECT_BURN_BUILDING_HORDE
@ BG_AV_OBJECT_BURN_DUNBALDAR_SOUTH
@ BG_AV_OBJECT_FLAG_H_FROSTWOLF_WTOWER
@ BG_AV_OBJECT_TAURA_A_ICEWING_BUNKER
@ BG_AV_OBJECT_DOOR_H
@ BG_AV_OBJECT_TAURA_A_FROSTWOLF_ETOWER
@ BG_AV_OBJECT_FLAG_A_FROSTWOLF_HUT
@ BG_AV_OBJECT_FLAG_C_A_STORMPIKE_GRAVE
@ BG_AV_OBJECT_FLAG_A_FIRSTAID_STATION
@ BG_AV_OBJECT_FLAG_H_ICEBLOOD_GRAVE
@ BG_AV_OBJECT_TFLAG_A_ICEBLOOD_TOWER
@ BG_AV_OBJECT_FLAG_C_H_SNOWFALL_GRAVE
@ BG_AV_OBJECT_FLAG_H_STORMPIKE_GRAVE
@ BG_AV_OBJECT_AURA_A_FIRSTAID_STATION
@ BG_AV_OBJECT_FLAG_C_A_FROSTWOLF_HUT
@ BG_AV_OBJECT_FLAG_C_H_STONEHEART_BUNKER
@ BG_AV_OBJECT_TAURA_A_STONEHEART_BUNKER
@ BG_AV_OBJECT_MAX
@ BG_AV_OBJECT_AURA_A_FROSTWOLF_GRAVE
@ BG_AV_OBJECT_AURA_A_ICEBLOOD_GRAVE
@ BG_AV_OBJECT_AURA_A_STORMPIKE_GRAVE
@ BG_AV_OBJECT_AURA_H_SNOWFALL_GRAVE
@ BG_AV_OBJECT_TAURA_A_DUNBALDAR_NORTH
@ BG_AV_OBJECT_TFLAG_A_ICEWING_BUNKER
@ BG_AV_OBJECT_TFLAG_H_ICEBLOOD_TOWER
@ BG_AV_OBJECT_FLAG_C_A_FROSTWOLF_ETOWER
@ BG_AV_OBJECT_FLAG_C_H_FROSTWOLF_HUT
@ BG_AV_OBJECT_FLAG_C_H_ICEWING_BUNKER
@ BG_AV_OBJECT_TAURA_A_FROSTWOLF_WTOWER
@ BG_AV_OBJECT_BURN_BUILDING_ALLIANCE
@ BG_AV_OBJECT_FLAG_C_A_SNOWFALL_GRAVE
@ BG_AV_OBJECT_FLAG_A_STORMPIKE_GRAVE
@ BG_AV_OBJECT_TAURA_H_FROSTWOLF_WTOWER
@ BG_AV_OBJECT_BURN_ICEBLOOD_TOWER
@ BG_AV_OBJECT_TAURA_H_DUNBALDAR_NORTH
@ BG_AV_OBJECT_AURA_H_FROSTWOLF_HUT
@ BG_AV_OBJECT_FLAG_C_A_ICEBLOOD_GRAVE
@ BG_AV_OBJECT_SNOW_EYECANDY_A
@ BG_AV_OBJECT_TFLAG_A_STONEHEART_BUNKER
@ BG_AV_OBJECT_AURA_H_FIRSTAID_STATION
@ BG_AV_OBJECT_FLAG_H_TOWER_POINT
@ BG_AV_OBJECT_FLAG_C_H_STONEHEART_GRAVE
@ BG_AV_OBJECT_FLAG_A_SNOWFALL_GRAVE
@ BG_AV_OBJECT_TAURA_A_TOWER_POINT
@ BG_AV_OBJECT_FLAG_H_STONEHEART_GRAVE
@ BG_AV_OBJECT_AURA_H_ICEBLOOD_GRAVE
@ BG_AV_OBJECT_TFLAG_A_FROSTWOLF_ETOWER
@ BG_AV_OBJECT_FLAG_A_DUNBALDAR_NORTH
@ BG_AV_OBJECT_TAURA_H_DUNBALDAR_SOUTH
@ BG_AV_OBJECT_BURN_STONEHEART_BUNKER
@ BG_AV_OBJECT_TAURA_H_STONEHEART_BUNKER
@ BG_AV_OBJECT_BURN_FROSTWOLF_ETWOER
@ BG_AV_OBJECT_AURA_H_FROSTWOLF_GRAVE
@ BG_AV_OBJECT_AURA_A_STONEHEART_GRAVE
@ BG_AV_OBJECT_AURA_N_STONEHEART_GRAVE
@ BG_AV_OBJECT_TFLAG_H_ICEWING_BUNKER
@ BG_AV_OBJECT_AURA_A_FROSTWOLF_HUT
@ BG_AV_OBJECT_TAURA_H_ICEWING_BUNKER
@ BG_AV_OBJECT_FLAG_C_H_FIRSTAID_STATION
@ BG_AV_OBJECT_TFLAG_H_FROSTWOLF_WTOWER
@ BG_AV_OBJECT_FLAG_A_DUNBALDAR_SOUTH
@ BG_AV_OBJECT_FLAG_A_FROSTWOLF_GRAVE
@ BG_AV_OBJECT_BURN_ICEWING_BUNKER
@ BG_AV_OBJECT_AURA_H_STORMPIKE_GRAVE
@ BG_AV_OBJECT_FLAG_H_FIRSTAID_STATION
@ BG_AV_OBJECT_FLAG_N_SNOWFALL_GRAVE
@ BG_AV_OBJECT_TAURA_H_TOWER_POINT
@ BG_AV_OBJECT_TAURA_H_FROSTWOLF_ETOWER
@ BG_AV_OBJECT_FLAG_A_STONEHEART_BUNKER
@ BG_AV_OBJECT_TFLAG_H_FROSTWOLF_ETOWER
@ BG_AV_OBJECT_FLAG_C_A_FROSTWOLF_GRAVE
@ BG_AV_OBJECT_TAURA_H_ICEBLOOD_TOWER
@ BG_AV_OBJECT_FLAG_H_ICEBLOOD_TOWER
@ BG_AV_OBJECT_FLAG_C_A_FIRSTAID_STATION
@ BG_AV_OBJECT_AURA_N_SNOWFALL_GRAVE
@ BG_AV_OBJECT_TFLAG_H_DUNBALDAR_NORTH
@ BG_AV_OBJECT_AURA_N_FROSTWOLF_HUT
@ BG_AV_OBJECT_DOOR_A
@ BG_AV_OBJECT_SNOW_EYECANDY_PH
@ BG_AV_OBJECT_FLAG_C_A_STONEHEART_GRAVE
@ BG_AV_OBJECT_SNOW_EYECANDY_H
@ BG_AV_OBJECT_TFLAG_A_DUNBALDAR_SOUTH
@ BG_AV_OBJECT_TAURA_A_DUNBALDAR_SOUTH
@ BG_AV_OBJECT_FLAG_H_FROSTWOLF_ETOWER
@ BG_AV_OBJECT_FLAG_C_A_FROSTWOLF_WTOWER
@ BG_AV_OBJECT_TFLAG_H_DUNBALDAR_SOUTH
@ BG_AV_OBJECT_SNOW_EYECANDY_PA
@ BG_AV_OBJECT_FLAG_C_H_FROSTWOLF_GRAVE
@ BG_AV_OBJECT_TFLAG_H_TOWER_POINT
@ BG_AV_OBJECT_BURN_FROSTWOLF_WTOWER
@ BG_AV_OBJECT_FLAG_C_H_DUNBALDAR_SOUTH
@ BG_AV_OBJECT_AURA_A_SNOWFALL_GRAVE
@ BG_AV_OBJECT_AURA_N_STORMPIKE_GRAVE
@ BG_AV_OBJECT_TFLAG_A_FROSTWOLF_WTOWER
@ BG_AV_OBJECT_AURA_N_ICEBLOOD_GRAVE
@ BG_AV_OBJECT_FLAG_A_STONEHEART_GRAVE
@ BG_AV_OBJECT_TFLAG_H_STONEHEART_BUNKER
@ BG_AV_OBJECT_TFLAG_A_TOWER_POINT
@ BG_AV_OBJECT_FLAG_C_H_ICEBLOOD_GRAVE
@ BG_AV_OBJECT_AURA_N_FROSTWOLF_GRAVE
@ BG_AV_OBJECT_BURN_DUNBALDAR_NORTH
@ BG_AV_OBJECT_FLAG_A_ICEWING_BUNKER
@ BG_AV_OBJECT_FLAG_H_FROSTWOLF_GRAVE
@ BG_AV_OBJECT_FLAG_C_A_TOWER_POINT
BG_AV_OTHER_VALUES
@ AV_MINE_TICK_TIMER
@ AV_MINE_RECLAIM_TIMER
@ AV_NORTH_MINE
@ AV_STATICCPLACE_MAX
@ AV_NEUTRAL_TEAM
@ AV_SOUTH_MINE
BG_AV_Graveyards
@ AV_GRAVE_STORM_GRAVE
@ AV_GRAVE_ICE_GRAVE
@ AV_GRAVE_MAIN_ALLIANCE
@ AV_GRAVE_STORM_AID
@ AV_GRAVE_STONE_GRAVE
@ AV_GRAVE_FROST_HUT
@ AV_GRAVE_FROSTWOLF
@ AV_GRAVE_SNOWFALL
@ AV_GRAVE_MAIN_HORDE
BG_AV_Objectives
@ AV_OBJECTIVE_DEFEND_GRAVEYARD
@ AV_OBJECTIVE_ASSAULT_GRAVEYARD
@ AV_OBJECTIVE_ASSAULT_TOWER
@ AV_OBJECTIVE_DEFEND_TOWER
BG_AV_QuestIds
@ AV_QUEST_A_COMMANDER3
@ AV_QUEST_H_SCRAPS1
@ AV_QUEST_H_BOSS1
@ AV_QUEST_H_RIDER_TAME
@ AV_QUEST_A_COMMANDER1
@ AV_QUEST_A_RIDER_HIDE
@ AV_QUEST_A_SCRAPS1
@ AV_QUEST_H_COMMANDER1
@ AV_QUEST_A_RIDER_TAME
@ AV_QUEST_H_COMMANDER3
@ AV_QUEST_H_NEAR_MINE
@ AV_QUEST_A_COMMANDER2
@ AV_QUEST_A_OTHER_MINE
@ AV_QUEST_A_NEAR_MINE
@ AV_QUEST_H_OTHER_MINE
@ AV_QUEST_A_SCRAPS2
@ AV_QUEST_H_BOSS2
@ AV_QUEST_A_BOSS1
@ AV_QUEST_H_COMMANDER2
@ AV_QUEST_H_RIDER_HIDE
@ AV_QUEST_A_BOSS2
@ AV_QUEST_H_SCRAPS2
const float BG_AV_StaticCreaturePos[AV_STATICCPLACE_MAX][5]
const uint32 BG_AV_GraveyardIds[9]
const uint32 BG_AV_NodeWorldStates[16][4]
BG_AV_Nodes & operator++(BG_AV_Nodes &i)
BG_AV_CreatureIds
@ AV_NPC_N_MINE_A_3
@ AV_NPC_S_MINE_H_2
@ AV_NPC_H_TOWERDEFENSE
@ AV_NPC_H_MARSHAL_WTOWER
@ AV_NPC_A_GRAVEDEFENSE3
@ AV_NPC_H_GRAVEDEFENSE0
@ AV_NPC_N_MINE_H_1
@ AV_NPC_S_MINE_N_S
@ AV_NPC_S_MINE_N_1
@ AV_NPC_S_MINE_H_4
@ AV_NPC_N_MINE_A_2
@ AV_NPC_HERALD
@ AV_NPC_N_MINE_N_1
@ AV_NPC_H_MARSHAL_ICE
@ AV_NPC_A_GRAVEDEFENSE1
@ AV_NPC_INFO_MAX
@ AV_NPC_N_MINE_N_2
@ AV_NPC_S_MINE_H_1
@ AV_NPC_N_MINE_A_4
@ AV_NPC_MARSHAL_NORTH
@ AV_NPC_H_CAPTAIN
@ AV_NPC_H_MARSHAL_TOWER
@ AV_NPC_N_MINE_N_4
@ AV_NPC_H_GRAVEDEFENSE2
@ AV_NPC_S_MINE_N_4
@ AV_NPC_N_MINE_A_1
@ AV_NPC_A_TOWERDEFENSE
@ AV_NPC_A_MARSHAL_STONE
@ AV_NPC_A_GRAVEDEFENSE0
@ AV_NPC_S_MINE_N_2
@ AV_NPC_S_MINE_N_3
@ AV_NPC_S_MINE_A_4
@ AV_NPC_N_MINE_H_3
@ AV_NPC_H_BOSS
@ AV_NPC_A_MARSHAL_SOUTH
@ AV_NPC_A_BOSS
@ AV_NPC_MARSHAL_ETOWER
@ AV_NPC_A_MARSHAL_ICE
@ AV_NPC_H_GRAVEDEFENSE1
@ AV_NPC_N_MINE_H_4
@ AV_NPC_S_MINE_H_3
@ AV_NPC_S_MINE_A_3
@ AV_NPC_N_MINE_N_3
@ AV_NPC_S_MINE_A_2
@ AV_NPC_S_MINE_A_1
@ AV_NPC_A_GRAVEDEFENSE2
@ AV_NPC_H_GRAVEDEFENSE3
@ AV_NPC_A_CAPTAIN
@ AV_NPC_N_MINE_H_2
const uint32 BG_AV_StaticCreatureInfo[51][4]
BG_AV_CreaturePlace
@ AV_CPLACE_DEFENSE_FROST_t
@ AV_CPLACE_TRIGGER18
@ AV_CPLACE_SPIRIT_MAIN_HORDE
@ AV_CPLACE_TRIGGER01
@ AV_CPLACE_MINE_S_2_MAX
@ AV_CPLACE_SPIRIT_FROSTWOLF
@ AV_CPLACE_TRIGGER12
@ AV_CPLACE_TRIGGER07
@ AV_CPLACE_MINE_N_1_MIN
@ AV_CPLACE_DEFENSE_ICE_TOWER
@ AV_CPLACE_TRIGGER19
@ AV_CPLACE_DEFENSE_SNOWFALL
@ AV_CPLACE_TRIGGER05
@ AV_CPLACE_MINE_S_S_MIN
@ AV_CPLACE_MINE_S_2_MIN
@ AV_CPLACE_DEFENSE_ICEWING
@ AV_CPLACE_SPIRIT_STORM_GRAVE
@ AV_CPLACE_TRIGGER06
@ AV_CPLACE_SPIRIT_MAIN_ALLIANCE
@ AV_CPLACE_H_MARSHAL_ICE
@ AV_CPLACE_DEFENSE_STONE_GRAVE
@ AV_CPLACE_A_MARSHAL_NORTH
@ AV_CPLACE_DEFENSE_FROST_HUT
@ AV_CPLACE_MINE_S_1_MIN
@ AV_CPLACE_DEFENSE_DUN_N
@ AV_CPLACE_H_MARSHAL_WTOWER
@ AV_CPLACE_MINE_S_S_MAX
@ AV_CPLACE_TRIGGER17
@ AV_CPLACE_SPIRIT_ICE_GRAVE
@ AV_CPLACE_TRIGGER11
@ AV_CPLACE_TRIGGER14
@ AV_CPLACE_H_MARSHAL_TOWER
@ AV_CPLACE_TRIGGER03
@ AV_CPLACE_DEFENSE_FROST_E
@ AV_CPLACE_H_MARSHAL_ETOWER
@ AV_CPLACE_MINE_N_2_MAX
@ AV_CPLACE_SPIRIT_SNOWFALL
@ AV_CPLACE_SPIRIT_STORM_AID
@ AV_CPLACE_DEFENSE_STONE_TOWER
@ AV_CPLACE_TRIGGER13
@ AV_CPLACE_TRIGGER16
@ AV_CPLACE_DEFENSE_ICE_GRAVE
@ AV_CPLACE_TRIGGER15
@ AV_CPLACE_MAX
@ AV_CPLACE_TRIGGER04
@ AV_CPLACE_MINE_N_1_MAX
@ AV_CPLACE_A_MARSHAL_SOUTH
@ AV_CPLACE_DEFENSE_TOWERPOINT
@ AV_CPLACE_MINE_S_3
@ AV_CPLACE_TRIGGER08
@ AV_CPLACE_MINE_S_1_MAX
@ AV_CPLACE_DEFENSE_DUN_S
@ AV_CPLACE_TRIGGER09
@ AV_CPLACE_DEFENSE_FROSTWOLF
@ AV_CPLACE_A_MARSHAL_ICE
@ AV_CPLACE_DEFEMSE_STORM_GRAVE
@ AV_CPLACE_DEFENSE_STORM_AID
@ AV_CPLACE_MINE_N_3
@ AV_CPLACE_HERALD
@ AV_CPLACE_TRIGGER02
@ AV_CPLACE_SPIRIT_STONE_GRAVE
@ AV_CPLACE_TRIGGER10
@ AV_CPLACE_SPIRIT_FROST_HUT
@ AV_CPLACE_MINE_N_2_MIN
@ AV_CPLACE_A_MARSHAL_STONE
BG_AV_WorldStates
@ AV_SNOWFALL_N
@ AV_SHOW_A_SCORE
@ AV_Horde_Score
@ AV_Alliance_Score
@ AV_SHOW_H_SCORE
std::int32_t int32
Definition Define.h:73
std::uint8_t uint8
Definition Define.h:79
std::uint32_t uint32
Definition Define.h:77
#define OVERRIDE
Definition Define.h:60
std::uint64_t uint64
Definition Define.h:76
std::uint16_t uint16
Definition Define.h:78
std::int16_t int16
Definition Define.h:74
void EventPlayerClickedOnFlag(Player *source, GameObject *target_obj) OVERRIDE
void AddPlayer(Player *player) OVERRIDE
void HandleKillUnit(Creature *unit, Player *killer) OVERRIDE
void ResetBGSubclass() OVERRIDE
void PopulateNode(BG_AV_Nodes node)
bool CheckAchievementCriteriaMeet(uint32 criteriaId, Player const *source, Unit const *target=NULL, uint32 miscvalue1=0) OVERRIDE
void HandleAreaTrigger(Player *player, uint32 trigger) OVERRIDE
BG_AV_NodeInfo m_Nodes[BG_AV_NODES_MAX]
bool CanActivateGO(int32 GOId, uint32 team) const OVERRIDE
uint32 GetPrematureWinner() OVERRIDE
void ChangeMineOwner(uint8 mine, uint32 team, bool initial=false)
void InitNode(BG_AV_Nodes node, uint16 team, bool tower)
void EventPlayerAssaultsPoint(Player *player, uint32 object)
void FillInitialWorldStates(WorldStateBuilder &builder) OVERRIDE
bool m_IsInformedNearVictory[2]
uint32 GetObjectThroughNode(BG_AV_Nodes node)
void EndBattleground(uint32 winner)
void HandleQuestComplete(uint32 questid, Player *player) OVERRIDE
void DePopulateNode(BG_AV_Nodes node)
void StartingEventCloseDoors() OVERRIDE
BG_AV_Nodes GetNodeThroughObject(uint32 object)
void PostUpdateImpl(uint32 diff) OVERRIDE
Post-update hook.
char const * GetNodeName(BG_AV_Nodes node)
void StartingEventOpenDoors() OVERRIDE
uint32 m_CaptainBuffTimer[2]
void UpdatePlayerScore(Player *player, uint32 type, uint32 value, bool doAddHonor=true) OVERRIDE
void EventPlayerDestroyedPoint(BG_AV_Nodes node)
void RemovePlayer(Player *player, uint64 guid, uint32 team) OVERRIDE
void HandleKillPlayer(Player *player, Player *killer) OVERRIDE
Creature * AddAVCreature(uint16 cinfoid, uint16 type)
uint16 GetBonusHonor(uint8 kills)
uint8 GetWorldStateType(uint8 state, uint16 team)
void SendMineWorldStates(uint32 mine)
void DefendNode(BG_AV_Nodes node, uint16 team)
void UpdateScore(uint16 team, int16 points)
void AssaultNode(BG_AV_Nodes node, uint16 team)
void UpdateNodeWorldState(BG_AV_Nodes node)
uint32 m_Mine_Reclaim_Timer[2]
uint32 m_Team_QuestStatus[2][9]
bool SetupBattleground() OVERRIDE
bool IsTower(BG_AV_Nodes node) const
WorldSafeLocsEntry const * GetClosestGraveYard(Player *player) OVERRIDE
void DestroyNode(BG_AV_Nodes node)
uint32 m_Mine_Owner[2]
void EventPlayerDefendsPoint(Player *player, uint32 object)
uint32 m_Mine_PrevOwner[2]
Definition Unit.h:1367
BG_AV_States State
BG_AV_States PrevState