264{
265
266 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);
267 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);
268
269 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);
270 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);
271 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);
272 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);
273 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);
274 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);
275 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);
276 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);
277 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);
278 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);
279 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);
280 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);
281
282 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);
283 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);
284 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);
285 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);
286 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);
287 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);
288 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);
289 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);
290 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);
291 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);
292 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);
293 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);
294
295 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);
296 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);
297 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);
298 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);
299 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);
300 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);
301 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);
302 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);
303 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);
304 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);
305 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);
306 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);
307
308 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);
309 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);
310 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);
311 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);
312 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);
313
314 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);
315 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);
316 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);
317 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);
318
320 {
322 AddObject(
BG_EY_OBJECT_SPEEDBUFF_FEL_REAVER + i * 3 + 0,
Buff_Entries[0], at->
x, at->
y, at->
z, 0.907571f, 0, 0, 0.438371f, 0.898794f,
RESPAWN_ONE_DAY);
323 AddObject(
BG_EY_OBJECT_SPEEDBUFF_FEL_REAVER + i * 3 + 1,
Buff_Entries[1], at->
x, at->
y, at->
z, 0.907571f, 0, 0, 0.438371f, 0.898794f,
RESPAWN_ONE_DAY);
324 AddObject(
BG_EY_OBJECT_SPEEDBUFF_FEL_REAVER + i * 3 + 2,
Buff_Entries[2], at->
x, at->
y, at->
z, 0.907571f, 0, 0, 0.438371f, 0.898794f,
RESPAWN_ONE_DAY);
325 }
326
330
333
336 {
337 LOG_ERROR(
"sql.sql",
"BatteGroundEY: Failed to spawn some object Battleground not created!");
338 return false;
339 }
340
343 {
344 LOG_ERROR(
"sql.sql",
"BatteGroundEY: Failed to spawn spirit guides Battleground not created!");
345 return false;
346 }
347
348 return true;
349}
#define LOG_ERROR(filterType__,...)
Definition: Log.h:157
#define sObjectMgr
Definition: ObjectMgr.h:1635
const uint32 Buff_Entries[3]
Definition: Battleground.h:195
@ BG_EY_OBJECT_DOOR_H
Definition: BattlegroundEY.h:164
@ BG_EY_OBJECT_N_BANNER_DRAENEI_RUINS_LEFT
Definition: BattlegroundEY.h:196
@ BG_EY_OBJECT_N_BANNER_MAGE_TOWER_RIGHT
Definition: BattlegroundEY.h:200
@ BG_EY_OBJECT_N_BANNER_MAGE_TOWER_CENTER
Definition: BattlegroundEY.h:198
@ BG_EY_OBJECT_H_BANNER_FEL_REAVER_RIGHT
Definition: BattlegroundEY.h:179
@ BG_EY_OBJECT_A_BANNER_MAGE_TOWER_RIGHT
Definition: BattlegroundEY.h:176
@ BG_EY_OBJECT_TOWER_CAP_BLOOD_ELF
Definition: BattlegroundEY.h:202
@ BG_EY_OBJECT_TOWER_CAP_FEL_REAVER
Definition: BattlegroundEY.h:201
@ BG_EY_OBJECT_H_BANNER_BLOOD_ELF_CENTER
Definition: BattlegroundEY.h:180
@ BG_EY_OBJECT_TOWER_CAP_DRAENEI_RUINS
Definition: BattlegroundEY.h:203
@ BG_EY_OBJECT_N_BANNER_FEL_REAVER_LEFT
Definition: BattlegroundEY.h:190
@ BG_EY_OBJECT_A_BANNER_DRAENEI_RUINS_CENTER
Definition: BattlegroundEY.h:171
@ BG_EY_OBJECT_A_BANNER_BLOOD_ELF_RIGHT
Definition: BattlegroundEY.h:170
@ BG_EY_OBJECT_H_BANNER_MAGE_TOWER_CENTER
Definition: BattlegroundEY.h:186
@ BG_EY_OBJECT_A_BANNER_BLOOD_ELF_CENTER
Definition: BattlegroundEY.h:168
@ BG_EY_OBJECT_N_BANNER_FEL_REAVER_CENTER
Definition: BattlegroundEY.h:189
@ BG_EY_OBJECT_N_BANNER_BLOOD_ELF_RIGHT
Definition: BattlegroundEY.h:194
@ BG_EY_OBJECT_A_BANNER_FEL_REAVER_RIGHT
Definition: BattlegroundEY.h:167
@ BG_EY_OBJECT_A_BANNER_MAGE_TOWER_CENTER
Definition: BattlegroundEY.h:174
@ BG_EY_OBJECT_H_BANNER_DRAENEI_RUINS_RIGHT
Definition: BattlegroundEY.h:185
@ BG_EY_OBJECT_SPEEDBUFF_FEL_REAVER
Definition: BattlegroundEY.h:211
@ BG_EY_OBJECT_DOOR_A
Definition: BattlegroundEY.h:163
@ BG_EY_OBJECT_H_BANNER_DRAENEI_RUINS_LEFT
Definition: BattlegroundEY.h:184
@ BG_EY_OBJECT_H_BANNER_MAGE_TOWER_RIGHT
Definition: BattlegroundEY.h:188
@ BG_EY_OBJECT_N_BANNER_BLOOD_ELF_CENTER
Definition: BattlegroundEY.h:192
@ BG_EY_OBJECT_H_BANNER_BLOOD_ELF_LEFT
Definition: BattlegroundEY.h:181
@ BG_EY_OBJECT_A_BANNER_BLOOD_ELF_LEFT
Definition: BattlegroundEY.h:169
@ BG_EY_OBJECT_N_BANNER_FEL_REAVER_RIGHT
Definition: BattlegroundEY.h:191
@ BG_EY_OBJECT_A_BANNER_FEL_REAVER_LEFT
Definition: BattlegroundEY.h:166
@ BG_EY_OBJECT_H_BANNER_MAGE_TOWER_LEFT
Definition: BattlegroundEY.h:187
@ BG_EY_OBJECT_A_BANNER_MAGE_TOWER_LEFT
Definition: BattlegroundEY.h:175
@ BG_EY_OBJECT_H_BANNER_FEL_REAVER_LEFT
Definition: BattlegroundEY.h:178
@ BG_EY_OBJECT_TOWER_CAP_MAGE_TOWER
Definition: BattlegroundEY.h:204
@ BG_EY_OBJECT_A_BANNER_DRAENEI_RUINS_RIGHT
Definition: BattlegroundEY.h:173
@ BG_EY_OBJECT_H_BANNER_BLOOD_ELF_RIGHT
Definition: BattlegroundEY.h:182
@ BG_EY_OBJECT_H_BANNER_DRAENEI_RUINS_CENTER
Definition: BattlegroundEY.h:183
@ BG_EY_OBJECT_H_BANNER_FEL_REAVER_CENTER
Definition: BattlegroundEY.h:177
@ BG_EY_OBJECT_A_BANNER_DRAENEI_RUINS_LEFT
Definition: BattlegroundEY.h:172
@ BG_EY_OBJECT_N_BANNER_DRAENEI_RUINS_CENTER
Definition: BattlegroundEY.h:195
@ BG_EY_OBJECT_A_BANNER_FEL_REAVER_CENTER
Definition: BattlegroundEY.h:165
@ BG_EY_OBJECT_N_BANNER_BLOOD_ELF_LEFT
Definition: BattlegroundEY.h:193
@ BG_EY_OBJECT_N_BANNER_DRAENEI_RUINS_RIGHT
Definition: BattlegroundEY.h:197
@ BG_EY_OBJECT_N_BANNER_MAGE_TOWER_LEFT
Definition: BattlegroundEY.h:199
@ BG_EY_SPIRIT_MAIN_HORDE
Definition: BattlegroundEY.h:151
@ BG_EY_SPIRIT_MAIN_ALLIANCE
Definition: BattlegroundEY.h:150
@ BG_OBJECT_HU_TOWER_CAP_EY_ENTRY
Definition: BattlegroundEY.h:109
@ BG_OBJECT_BE_TOWER_CAP_EY_ENTRY
Definition: BattlegroundEY.h:107
@ BG_OBJECT_H_BANNER_EY_ENTRY
Definition: BattlegroundEY.h:105
@ BG_OBJECT_FLAG2_EY_ENTRY
Definition: BattlegroundEY.h:102
@ BG_OBJECT_FR_TOWER_CAP_EY_ENTRY
Definition: BattlegroundEY.h:108
@ BG_OBJECT_A_DOOR_EY_ENTRY
Definition: BattlegroundEY.h:99
@ BG_OBJECT_H_DOOR_EY_ENTRY
Definition: BattlegroundEY.h:100
@ BG_OBJECT_FLAG1_EY_ENTRY
Definition: BattlegroundEY.h:101
@ BG_OBJECT_A_BANNER_EY_ENTRY
Definition: BattlegroundEY.h:104
@ BG_OBJECT_N_BANNER_EY_ENTRY
Definition: BattlegroundEY.h:106
@ BG_OBJECT_DR_TOWER_CAP_EY_ENTRY
Definition: BattlegroundEY.h:110
@ BG_EY_GRAVEYARD_MAIN_HORDE
Definition: BattlegroundEY.h:128
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:1407
Definition: ObjectMgr.h:420
float x
Definition: ObjectMgr.h:423
float y
Definition: ObjectMgr.h:424
float z
Definition: ObjectMgr.h:425