458 if (!
AddObject(
BG_EY_OBJECT_DOOR_A,
BG_OBJECT_A_DOOR_EY_ENTRY, 2527.6f, 1596.91f, 1262.13f, -3.12414f, -0.173642f, -0.001515f, 0.98477f, -0.008594f,
RESPAWN_IMMEDIATELY)
459 || !
AddObject(
BG_EY_OBJECT_DOOR_H,
BG_OBJECT_H_DOOR_EY_ENTRY, 1803.21f, 1539.49f, 1261.09f, 3.14159f, 0.173648f, 0, 0.984808f, 0,
RESPAWN_IMMEDIATELY)
461 || !
AddObject(
BG_EY_OBJECT_A_BANNER_FEL_REAVER_CENTER,
BG_OBJECT_A_BANNER_EY_ENTRY, 2057.46f, 1735.07f, 1187.91f, -0.925024f, 0, 0, 0.446198f, -0.894934f,
RESPAWN_ONE_DAY)
462 || !
AddObject(
BG_EY_OBJECT_A_BANNER_FEL_REAVER_LEFT,
BG_OBJECT_A_BANNER_EY_ENTRY, 2032.25f, 1729.53f, 1190.33f, 1.8675f, 0, 0, 0.803857f, 0.594823f,
RESPAWN_ONE_DAY)
463 || !
AddObject(
BG_EY_OBJECT_A_BANNER_FEL_REAVER_RIGHT,
BG_OBJECT_A_BANNER_EY_ENTRY, 2092.35f, 1775.46f, 1187.08f, -0.401426f, 0, 0, 0.199368f, -0.979925f,
RESPAWN_ONE_DAY)
464 || !
AddObject(
BG_EY_OBJECT_A_BANNER_BLOOD_ELF_CENTER,
BG_OBJECT_A_BANNER_EY_ENTRY, 2047.19f, 1349.19f, 1189.0f, -1.62316f, 0, 0, 0.725374f, -0.688354f,
RESPAWN_ONE_DAY)
465 || !
AddObject(
BG_EY_OBJECT_A_BANNER_BLOOD_ELF_LEFT,
BG_OBJECT_A_BANNER_EY_ENTRY, 2074.32f, 1385.78f, 1194.72f, 0.488692f, 0, 0, 0.241922f, 0.970296f,
RESPAWN_ONE_DAY)
466 || !
AddObject(
BG_EY_OBJECT_A_BANNER_BLOOD_ELF_RIGHT,
BG_OBJECT_A_BANNER_EY_ENTRY, 2025.13f, 1386.12f, 1192.74f, 2.3911f, 0, 0, 0.930418f, 0.366501f,
RESPAWN_ONE_DAY)
467 || !
AddObject(
BG_EY_OBJECT_A_BANNER_DRAENEI_RUINS_CENTER,
BG_OBJECT_A_BANNER_EY_ENTRY, 2276.8f, 1400.41f, 1196.33f, 2.44346f, 0, 0, 0.939693f, 0.34202f,
RESPAWN_ONE_DAY)
468 || !
AddObject(
BG_EY_OBJECT_A_BANNER_DRAENEI_RUINS_LEFT,
BG_OBJECT_A_BANNER_EY_ENTRY, 2305.78f, 1404.56f, 1199.38f, 1.74533f, 0, 0, 0.766044f, 0.642788f,
RESPAWN_ONE_DAY)
469 || !
AddObject(
BG_EY_OBJECT_A_BANNER_DRAENEI_RUINS_RIGHT,
BG_OBJECT_A_BANNER_EY_ENTRY, 2245.4f, 1366.41f, 1195.28f, 2.21657f, 0, 0, 0.894934f, 0.446198f,
RESPAWN_ONE_DAY)
470 || !
AddObject(
BG_EY_OBJECT_A_BANNER_MAGE_TOWER_CENTER,
BG_OBJECT_A_BANNER_EY_ENTRY, 2270.84f, 1784.08f, 1186.76f, 2.42601f, 0, 0, 0.936672f, 0.350207f,
RESPAWN_ONE_DAY)
471 || !
AddObject(
BG_EY_OBJECT_A_BANNER_MAGE_TOWER_LEFT,
BG_OBJECT_A_BANNER_EY_ENTRY, 2269.13f, 1737.7f, 1186.66f, 0.994838f, 0, 0, 0.477159f, 0.878817f,
RESPAWN_ONE_DAY)
472 || !
AddObject(
BG_EY_OBJECT_A_BANNER_MAGE_TOWER_RIGHT,
BG_OBJECT_A_BANNER_EY_ENTRY, 2300.86f, 1741.25f, 1187.7f, -0.785398f, 0, 0, 0.382683f, -0.92388f,
RESPAWN_ONE_DAY)
474 || !
AddObject(
BG_EY_OBJECT_H_BANNER_FEL_REAVER_CENTER,
BG_OBJECT_H_BANNER_EY_ENTRY, 2057.46f, 1735.07f, 1187.91f, -0.925024f, 0, 0, 0.446198f, -0.894934f,
RESPAWN_ONE_DAY)
475 || !
AddObject(
BG_EY_OBJECT_H_BANNER_FEL_REAVER_LEFT,
BG_OBJECT_H_BANNER_EY_ENTRY, 2032.25f, 1729.53f, 1190.33f, 1.8675f, 0, 0, 0.803857f, 0.594823f,
RESPAWN_ONE_DAY)
476 || !
AddObject(
BG_EY_OBJECT_H_BANNER_FEL_REAVER_RIGHT,
BG_OBJECT_H_BANNER_EY_ENTRY, 2092.35f, 1775.46f, 1187.08f, -0.401426f, 0, 0, 0.199368f, -0.979925f,
RESPAWN_ONE_DAY)
477 || !
AddObject(
BG_EY_OBJECT_H_BANNER_BLOOD_ELF_CENTER,
BG_OBJECT_H_BANNER_EY_ENTRY, 2047.19f, 1349.19f, 1189.0f, -1.62316f, 0, 0, 0.725374f, -0.688354f,
RESPAWN_ONE_DAY)
478 || !
AddObject(
BG_EY_OBJECT_H_BANNER_BLOOD_ELF_LEFT,
BG_OBJECT_H_BANNER_EY_ENTRY, 2074.32f, 1385.78f, 1194.72f, 0.488692f, 0, 0, 0.241922f, 0.970296f,
RESPAWN_ONE_DAY)
479 || !
AddObject(
BG_EY_OBJECT_H_BANNER_BLOOD_ELF_RIGHT,
BG_OBJECT_H_BANNER_EY_ENTRY, 2025.13f, 1386.12f, 1192.74f, 2.3911f, 0, 0, 0.930418f, 0.366501f,
RESPAWN_ONE_DAY)
480 || !
AddObject(
BG_EY_OBJECT_H_BANNER_DRAENEI_RUINS_CENTER,
BG_OBJECT_H_BANNER_EY_ENTRY, 2276.8f, 1400.41f, 1196.33f, 2.44346f, 0, 0, 0.939693f, 0.34202f,
RESPAWN_ONE_DAY)
481 || !
AddObject(
BG_EY_OBJECT_H_BANNER_DRAENEI_RUINS_LEFT,
BG_OBJECT_H_BANNER_EY_ENTRY, 2305.78f, 1404.56f, 1199.38f, 1.74533f, 0, 0, 0.766044f, 0.642788f,
RESPAWN_ONE_DAY)
482 || !
AddObject(
BG_EY_OBJECT_H_BANNER_DRAENEI_RUINS_RIGHT,
BG_OBJECT_H_BANNER_EY_ENTRY, 2245.4f, 1366.41f, 1195.28f, 2.21657f, 0, 0, 0.894934f, 0.446198f,
RESPAWN_ONE_DAY)
483 || !
AddObject(
BG_EY_OBJECT_H_BANNER_MAGE_TOWER_CENTER,
BG_OBJECT_H_BANNER_EY_ENTRY, 2270.84f, 1784.08f, 1186.76f, 2.42601f, 0, 0, 0.936672f, 0.350207f,
RESPAWN_ONE_DAY)
484 || !
AddObject(
BG_EY_OBJECT_H_BANNER_MAGE_TOWER_LEFT,
BG_OBJECT_H_BANNER_EY_ENTRY, 2269.13f, 1737.7f, 1186.66f, 0.994838f, 0, 0, 0.477159f, 0.878817f,
RESPAWN_ONE_DAY)
485 || !
AddObject(
BG_EY_OBJECT_H_BANNER_MAGE_TOWER_RIGHT,
BG_OBJECT_H_BANNER_EY_ENTRY, 2300.86f, 1741.25f, 1187.7f, -0.785398f, 0, 0, 0.382683f, -0.92388f,
RESPAWN_ONE_DAY)
487 || !
AddObject(
BG_EY_OBJECT_N_BANNER_FEL_REAVER_CENTER,
BG_OBJECT_N_BANNER_EY_ENTRY, 2057.46f, 1735.07f, 1187.91f, -0.925024f, 0, 0, 0.446198f, -0.894934f,
RESPAWN_ONE_DAY)
488 || !
AddObject(
BG_EY_OBJECT_N_BANNER_FEL_REAVER_LEFT,
BG_OBJECT_N_BANNER_EY_ENTRY, 2032.25f, 1729.53f, 1190.33f, 1.8675f, 0, 0, 0.803857f, 0.594823f,
RESPAWN_ONE_DAY)
489 || !
AddObject(
BG_EY_OBJECT_N_BANNER_FEL_REAVER_RIGHT,
BG_OBJECT_N_BANNER_EY_ENTRY, 2092.35f, 1775.46f, 1187.08f, -0.401426f, 0, 0, 0.199368f, -0.979925f,
RESPAWN_ONE_DAY)
490 || !
AddObject(
BG_EY_OBJECT_N_BANNER_BLOOD_ELF_CENTER,
BG_OBJECT_N_BANNER_EY_ENTRY, 2047.19f, 1349.19f, 1189.0f, -1.62316f, 0, 0, 0.725374f, -0.688354f,
RESPAWN_ONE_DAY)
491 || !
AddObject(
BG_EY_OBJECT_N_BANNER_BLOOD_ELF_LEFT,
BG_OBJECT_N_BANNER_EY_ENTRY, 2074.32f, 1385.78f, 1194.72f, 0.488692f, 0, 0, 0.241922f, 0.970296f,
RESPAWN_ONE_DAY)
492 || !
AddObject(
BG_EY_OBJECT_N_BANNER_BLOOD_ELF_RIGHT,
BG_OBJECT_N_BANNER_EY_ENTRY, 2025.13f, 1386.12f, 1192.74f, 2.3911f, 0, 0, 0.930418f, 0.366501f,
RESPAWN_ONE_DAY)
493 || !
AddObject(
BG_EY_OBJECT_N_BANNER_DRAENEI_RUINS_CENTER,
BG_OBJECT_N_BANNER_EY_ENTRY, 2276.8f, 1400.41f, 1196.33f, 2.44346f, 0, 0, 0.939693f, 0.34202f,
RESPAWN_ONE_DAY)
494 || !
AddObject(
BG_EY_OBJECT_N_BANNER_DRAENEI_RUINS_LEFT,
BG_OBJECT_N_BANNER_EY_ENTRY, 2305.78f, 1404.56f, 1199.38f, 1.74533f, 0, 0, 0.766044f, 0.642788f,
RESPAWN_ONE_DAY)
495 || !
AddObject(
BG_EY_OBJECT_N_BANNER_DRAENEI_RUINS_RIGHT,
BG_OBJECT_N_BANNER_EY_ENTRY, 2245.4f, 1366.41f, 1195.28f, 2.21657f, 0, 0, 0.894934f, 0.446198f,
RESPAWN_ONE_DAY)
496 || !
AddObject(
BG_EY_OBJECT_N_BANNER_MAGE_TOWER_CENTER,
BG_OBJECT_N_BANNER_EY_ENTRY, 2270.84f, 1784.08f, 1186.76f, 2.42601f, 0, 0, 0.936672f, 0.350207f,
RESPAWN_ONE_DAY)
497 || !
AddObject(
BG_EY_OBJECT_N_BANNER_MAGE_TOWER_LEFT,
BG_OBJECT_N_BANNER_EY_ENTRY, 2269.13f, 1737.7f, 1186.66f, 0.994838f, 0, 0, 0.477159f, 0.878817f,
RESPAWN_ONE_DAY)
498 || !
AddObject(
BG_EY_OBJECT_N_BANNER_MAGE_TOWER_RIGHT,
BG_OBJECT_N_BANNER_EY_ENTRY, 2300.86f, 1741.25f, 1187.7f, -0.785398f, 0, 0, 0.382683f, -0.92388f,
RESPAWN_ONE_DAY)
500 || !
AddObject(
BG_EY_OBJECT_FLAG_NETHERSTORM,
BG_OBJECT_FLAG2_EY_ENTRY, 2174.782227f, 1569.054688f, 1160.361938f, -1.448624f, 0, 0, 0.662620f, -0.748956f,
RESPAWN_ONE_DAY)
501 || !
AddObject(
BG_EY_OBJECT_FLAG_FEL_REAVER,
BG_OBJECT_FLAG1_EY_ENTRY, 2044.28f, 1729.68f, 1189.96f, -0.017453f, 0, 0, 0.008727f, -0.999962f,
RESPAWN_ONE_DAY)
502 || !
AddObject(
BG_EY_OBJECT_FLAG_BLOOD_ELF,
BG_OBJECT_FLAG1_EY_ENTRY, 2048.83f, 1393.65f, 1194.49f, 0.20944f, 0, 0, 0.104528f, 0.994522f,
RESPAWN_ONE_DAY)
503 || !
AddObject(
BG_EY_OBJECT_FLAG_DRAENEI_RUINS,
BG_OBJECT_FLAG1_EY_ENTRY, 2286.56f, 1402.36f, 1197.11f, 3.72381f, 0, 0, 0.957926f, -0.287016f,
RESPAWN_ONE_DAY)
504 || !
AddObject(
BG_EY_OBJECT_FLAG_MAGE_TOWER,
BG_OBJECT_FLAG1_EY_ENTRY, 2284.48f, 1731.23f, 1189.99f, 2.89725f, 0, 0, 0.992546f, 0.121869f,
RESPAWN_ONE_DAY)
506 || !
AddObject(
BG_EY_OBJECT_TOWER_CAP_FEL_REAVER,
BG_OBJECT_FR_TOWER_CAP_EY_ENTRY, 2024.600708f, 1742.819580f, 1195.157715f, 2.443461f, 0, 0, 0.939693f, 0.342020f,
RESPAWN_ONE_DAY)
507 || !
AddObject(
BG_EY_OBJECT_TOWER_CAP_BLOOD_ELF,
BG_OBJECT_BE_TOWER_CAP_EY_ENTRY, 2050.493164f, 1372.235962f, 1194.563477f, 1.710423f, 0, 0, 0.754710f, 0.656059f,
RESPAWN_ONE_DAY)
508 || !
AddObject(
BG_EY_OBJECT_TOWER_CAP_DRAENEI_RUINS,
BG_OBJECT_DR_TOWER_CAP_EY_ENTRY, 2301.010498f, 1386.931641f, 1197.183472f, 1.570796f, 0, 0, 0.707107f, 0.707107f,
RESPAWN_ONE_DAY)
509 || !
AddObject(
BG_EY_OBJECT_TOWER_CAP_MAGE_TOWER,
BG_OBJECT_HU_TOWER_CAP_EY_ENTRY, 2282.121582f, 1760.006958f, 1189.707153f, 1.919862f, 0, 0, 0.819152f, 0.573576f,
RESPAWN_ONE_DAY)
512 TC_LOG_ERROR(
"sql.sql",
"BatteGroundEY: Failed to spawn some object Battleground not created!");
525 if (!
AddObject(
BG_EY_OBJECT_SPEEDBUFF_FEL_REAVER + i * 3,
Buff_Entries[0], at->
Pos.
X, at->
Pos.
Y, at->
Pos.
Z, 0.907571f, 0, 0, 0.438371f, 0.898794f,
RESPAWN_ONE_DAY)
526 || !
AddObject(
BG_EY_OBJECT_SPEEDBUFF_FEL_REAVER + i * 3 + 1,
Buff_Entries[1], at->
Pos.
X, at->
Pos.
Y, at->
Pos.
Z, 0.907571f, 0, 0, 0.438371f, 0.898794f,
RESPAWN_ONE_DAY)
527 || !
AddObject(
BG_EY_OBJECT_SPEEDBUFF_FEL_REAVER + i * 3 + 2,
Buff_Entries[2], at->
Pos.
X, at->
Pos.
Y, at->
Pos.
Z, 0.907571f, 0, 0, 0.438371f, 0.898794f,
RESPAWN_ONE_DAY)
529 TC_LOG_ERROR(
"bg.battleground",
"BattlegroundEY: Cannot spawn buff");
536 TC_LOG_ERROR(
"sql.sql",
"BatteGroundEY: Failed to spawn spirit guide! Battleground not created!");
543 TC_LOG_ERROR(
"sql.sql",
"BatteGroundEY: Failed to spawn spirit guide! Battleground not created!");
Definition: BattlegroundEY.h:198
Definition: BattlegroundEY.h:181
Definition: BattlegroundEY.h:193
Definition: Battleground.h:129
virtual bool AddObject(uint32 type, uint32 entry, float x, float y, float z, float o, float rotation0, float rotation1, float rotation2, float rotation3, uint32 respawnTime=0, GOState goState=GO_STATE_READY)
Definition: Battleground.cpp:1446
float Z
Definition: DBCEnums.h:36
float Y
Definition: DBCEnums.h:35
DBCStorage< WorldSafeLocsEntry > sWorldSafeLocsStore(WorldSafeLocsfmt)
Definition: BattlegroundEY.h:194
Definition: BattlegroundEY.h:201
Definition: BattlegroundEY.h:173
virtual bool AddSpiritGuide(uint32 type, float x, float y, float z, float o, TeamId teamId=TEAM_NEUTRAL)
Definition: Battleground.cpp:1676
Definition: BattlegroundEY.h:96
Definition: BattlegroundEY.h:93
DBCStorage< AreaTriggerEntry > sAreaTriggerStore(AreaTriggerfmt)
Definition: BattlegroundEY.h:168
Definition: BattlegroundEY.h:190
Definition: BattlegroundEY.h:184
Definition: DBCStructure.h:1434
Definition: BattlegroundEY.h:188
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: BattlegroundEY.h:101
Definition: BattlegroundEY.h:187
Definition: BattlegroundEY.h:200
Definition: BattlegroundEY.h:165
Definition: BattlegroundEY.h:186
Definition: BattlegroundEY.h:185
Definition: BattlegroundEY.h:182
Definition: BattlegroundEY.h:183
Definition: BattlegroundEY.h:94
Definition: BattlegroundEY.h:98
Definition: BattlegroundEY.h:172
Definition: BattlegroundEY.h:137
Definition: BattlegroundEY.h:179
Definition: BattlegroundEY.h:196
Definition: BattlegroundEY.h:166
Definition: BattlegroundEY.h:189
Definition: BattlegroundEY.h:160
DBCPosition3D Pos
Definition: DBCStructure.h:78
Definition: BattlegroundEY.h:100
Definition: BattlegroundEY.h:122
Definition: BattlegroundEY.h:170
Definition: BattlegroundEY.h:159
Definition: BattlegroundEY.h:162
Definition: BattlegroundEY.h:102
Definition: SharedDefines.h:992
Definition: BattlegroundEY.h:169
Definition: Battleground.h:128
uint32 m_Points_Trigger[EY_POINTS_MAX]
Definition: BattlegroundEY.h:421
Definition: BattlegroundEY.h:121
Definition: BattlegroundEY.h:195
float X
Definition: DBCEnums.h:34
Definition: BattlegroundEY.h:207
DBCPosition3D Loc
Definition: DBCStructure.h:1438
Definition: BattlegroundEY.h:191
Definition: BattlegroundEY.h:95
Definition: BattlegroundEY.h:164
Definition: BattlegroundEY.h:203
Definition: BattlegroundEY.h:167
Definition: BattlegroundEY.h:204
Definition: BattlegroundEY.h:177
Definition: BattlegroundEY.h:180
Definition: BattlegroundEY.h:199
Definition: BattlegroundEY.h:202
Definition: BattlegroundEY.h:174
Definition: BattlegroundEY.h:99
Definition: BattlegroundEY.h:205
Definition: BattlegroundEY.h:175
Definition: BattlegroundEY.h:163
Definition: BattlegroundEY.h:146
uint32 const Buff_Entries[3]
Definition: Battleground.h:152
Definition: BattlegroundEY.h:171
Definition: BattlegroundEY.h:192
Definition: DBCStructure.h:74
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207
Definition: BattlegroundEY.h:147
Definition: SharedDefines.h:993
Definition: BattlegroundEY.h:161
Definition: BattlegroundEY.h:178
Definition: BattlegroundEY.h:103
Definition: BattlegroundEY.h:197
Definition: BattlegroundEY.h:176
Definition: BattlegroundEY.h:104