705 if (!
AddObject(
BG_WS_OBJECT_A_FLAG,
BG_OBJECT_A_FLAG_WS_ENTRY, 1540.423f, 1481.325f, 351.8284f, 3.089233f, 0, 0, 0.9996573f, 0.02617699f,
BG_WS_FLAG_RESPAWN_TIME/1000)
706 || !
AddObject(
BG_WS_OBJECT_H_FLAG,
BG_OBJECT_H_FLAG_WS_ENTRY, 916.0226f, 1434.405f, 345.413f, 0.01745329f, 0, 0, 0.008726535f, 0.9999619f,
BG_WS_FLAG_RESPAWN_TIME/1000)
708 || !
AddObject(
BG_WS_OBJECT_SPEEDBUFF_1,
BG_OBJECTID_SPEEDBUFF_ENTRY, 1449.93f, 1470.71f, 342.6346f, -1.64061f, 0, 0, 0.7313537f, -0.6819983f,
BUFF_RESPAWN_TIME)
709 || !
AddObject(
BG_WS_OBJECT_SPEEDBUFF_2,
BG_OBJECTID_SPEEDBUFF_ENTRY, 1005.171f, 1447.946f, 335.9032f, 1.64061f, 0, 0, 0.7313537f, 0.6819984f,
BUFF_RESPAWN_TIME)
710 || !
AddObject(
BG_WS_OBJECT_REGENBUFF_1,
BG_OBJECTID_REGENBUFF_ENTRY, 1317.506f, 1550.851f, 313.2344f, -0.2617996f, 0, 0, 0.1305263f, -0.9914448f,
BUFF_RESPAWN_TIME)
711 || !
AddObject(
BG_WS_OBJECT_REGENBUFF_2,
BG_OBJECTID_REGENBUFF_ENTRY, 1110.451f, 1353.656f, 316.5181f, -0.6806787f, 0, 0, 0.333807f, -0.9426414f,
BUFF_RESPAWN_TIME)
712 || !
AddObject(
BG_WS_OBJECT_BERSERKBUFF_1,
BG_OBJECTID_BERSERKERBUFF_ENTRY, 1320.09f, 1378.79f, 314.7532f, 1.186824f, 0, 0, 0.5591929f, 0.8290376f,
BUFF_RESPAWN_TIME)
713 || !
AddObject(
BG_WS_OBJECT_BERSERKBUFF_2,
BG_OBJECTID_BERSERKERBUFF_ENTRY, 1139.688f, 1560.288f, 306.8432f, -2.443461f, 0, 0, 0.9396926f, -0.3420201f,
BUFF_RESPAWN_TIME)
715 || !
AddObject(
BG_WS_OBJECT_DOOR_A_1,
BG_OBJECT_DOOR_A_1_WS_ENTRY, 1503.335f, 1493.466f, 352.1888f, 3.115414f, 0, 0, 0.9999143f, 0.01308903f,
RESPAWN_IMMEDIATELY)
716 || !
AddObject(
BG_WS_OBJECT_DOOR_A_2,
BG_OBJECT_DOOR_A_2_WS_ENTRY, 1492.478f, 1457.912f, 342.9689f, 3.115414f, 0, 0, 0.9999143f, 0.01308903f,
RESPAWN_IMMEDIATELY)
717 || !
AddObject(
BG_WS_OBJECT_DOOR_A_3,
BG_OBJECT_DOOR_A_3_WS_ENTRY, 1468.503f, 1494.357f, 351.8618f, 3.115414f, 0, 0, 0.9999143f, 0.01308903f,
RESPAWN_IMMEDIATELY)
718 || !
AddObject(
BG_WS_OBJECT_DOOR_A_4,
BG_OBJECT_DOOR_A_4_WS_ENTRY, 1471.555f, 1458.778f, 362.6332f, 3.115414f, 0, 0, 0.9999143f, 0.01308903f,
RESPAWN_IMMEDIATELY)
719 || !
AddObject(
BG_WS_OBJECT_DOOR_A_5,
BG_OBJECT_DOOR_A_5_WS_ENTRY, 1492.347f, 1458.34f, 342.3712f, -0.03490669f, 0, 0, 0.01745246f, -0.9998477f,
RESPAWN_IMMEDIATELY)
720 || !
AddObject(
BG_WS_OBJECT_DOOR_A_6,
BG_OBJECT_DOOR_A_6_WS_ENTRY, 1503.466f, 1493.367f, 351.7352f, -0.03490669f, 0, 0, 0.01745246f, -0.9998477f,
RESPAWN_IMMEDIATELY)
722 || !
AddObject(
BG_WS_OBJECT_DOOR_H_1,
BG_OBJECT_DOOR_H_1_WS_ENTRY, 949.1663f, 1423.772f, 345.6241f, -0.5756807f, -0.01673368f, -0.004956111f, -0.2839723f, 0.9586737f,
RESPAWN_IMMEDIATELY)
723 || !
AddObject(
BG_WS_OBJECT_DOOR_H_2,
BG_OBJECT_DOOR_H_2_WS_ENTRY, 953.0507f, 1459.842f, 340.6526f, -1.99662f, -0.1971825f, 0.1575096f, -0.8239487f, 0.5073641f,
RESPAWN_IMMEDIATELY)
724 || !
AddObject(
BG_WS_OBJECT_DOOR_H_3,
BG_OBJECT_DOOR_H_3_WS_ENTRY, 949.9523f, 1422.751f, 344.9273f, 0.0f, 0, 0, 0, 1,
RESPAWN_IMMEDIATELY)
725 || !
AddObject(
BG_WS_OBJECT_DOOR_H_4,
BG_OBJECT_DOOR_H_4_WS_ENTRY, 950.7952f, 1459.583f, 342.1523f, 0.05235988f, 0, 0, 0.02617695f, 0.9996573f,
RESPAWN_IMMEDIATELY)
728 TC_LOG_ERROR(
"sql.sql",
"BatteGroundWS: Failed to spawn some object Battleground not created!");
735 TC_LOG_ERROR(
"sql.sql",
"BatteGroundWS: Failed to spawn Alliance spirit guide! Battleground not created!");
742 TC_LOG_ERROR(
"sql.sql",
"BatteGroundWS: Failed to spawn Horde spirit guide! Battleground not created!");
746 TC_LOG_DEBUG(
"bg.battleground",
"BatteGroundWS: BG objects and spirit guides spawned");
Definition: BattlegroundWS.h:88
Definition: BattlegroundWS.h:98
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
Definition: BattlegroundWS.h:104
float Z
Definition: DBCEnums.h:36
Definition: BattlegroundWS.h:125
float Y
Definition: DBCEnums.h:35
DBCStorage< WorldSafeLocsEntry > sWorldSafeLocsStore(WorldSafeLocsfmt)
virtual bool AddSpiritGuide(uint32 type, float x, float y, float z, float o, TeamId teamId=TEAM_NEUTRAL)
Definition: Battleground.cpp:1676
Definition: BattlegroundWS.h:76
Definition: BattlegroundWS.h:96
Definition: BattlegroundWS.h:78
Definition: Battleground.h:148
Definition: BattlegroundWS.h:79
Definition: BattlegroundWS.h:85
Definition: DBCStructure.h:1434
Definition: BattlegroundWS.h:73
#define TC_LOG_DEBUG(filterType__,...)
Definition: Log.h:198
Definition: BattlegroundWS.h:102
Definition: BattlegroundWS.h:81
Definition: BattlegroundWS.h:131
Definition: BattlegroundWS.h:83
Definition: Battleground.h:149
Definition: BattlegroundWS.h:90
Definition: BattlegroundWS.h:101
Definition: BattlegroundWS.h:97
Definition: Battleground.h:147
Definition: BattlegroundWS.h:124
Definition: BattlegroundWS.h:105
Definition: SharedDefines.h:992
float X
Definition: DBCEnums.h:34
Definition: BattlegroundWS.h:86
DBCPosition3D Loc
Definition: DBCStructure.h:1438
Definition: BattlegroundWS.h:103
Definition: Battleground.h:130
Definition: BattlegroundWS.h:82
Definition: BattlegroundWS.h:80
Definition: BattlegroundWS.h:100
Definition: BattlegroundWS.h:130
Definition: BattlegroundWS.h:74
Definition: BattlegroundWS.h:107
Definition: BattlegroundWS.h:99
Definition: BattlegroundWS.h:28
Definition: BattlegroundWS.h:77
Definition: BattlegroundWS.h:87
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207
Definition: BattlegroundWS.h:106
Definition: BattlegroundWS.h:75
Definition: BattlegroundWS.h:89
Definition: SharedDefines.h:993
Definition: BattlegroundWS.h:84