mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Merge remote-tracking branch 'origin/master' into 4.3.4
This commit is contained in:
5
sql/updates/world/2012_08_26_00_world_conditions.sql
Normal file
5
sql/updates/world/2012_08_26_00_world_conditions.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=61632;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
|
||||
(13,7,61632,0,0,31,0,3,30449,0,0,0,'','Sartharion Berserk - Only hit Tenebron, Shadron & Vesperon'),
|
||||
(13,7,61632,0,1,31,0,3,30451,0,0,0,'','Sartharion Berserk - Only hit Tenebron, Shadron & Vesperon'),
|
||||
(13,7,61632,0,2,31,0,3,30452,0,0,0,'','Sartharion Berserk - Only hit Tenebron, Shadron & Vesperon');
|
||||
@@ -39,6 +39,12 @@ enum WGVehicles
|
||||
NPC_WG_CATAPULT = 27881,
|
||||
};
|
||||
|
||||
BattlefieldWG::~BattlefieldWG()
|
||||
{
|
||||
for (Workshop::const_iterator itr = WorkshopsList.begin(); itr != WorkshopsList.end(); ++itr)
|
||||
delete *itr;
|
||||
}
|
||||
|
||||
bool BattlefieldWG::SetupBattlefield()
|
||||
{
|
||||
InitStalker(BATTLEFIELD_WG_NPC_STALKER, WintergraspStalkerPos[0], WintergraspStalkerPos[1], WintergraspStalkerPos[2], WintergraspStalkerPos[3]);
|
||||
|
||||
@@ -273,6 +273,7 @@ class WintergraspCapturePoint : public BfCapturePoint
|
||||
class BattlefieldWG : public Battlefield
|
||||
{
|
||||
public:
|
||||
~BattlefieldWG();
|
||||
/**
|
||||
* \brief Called when the battle start
|
||||
* - Spawn relic and turret
|
||||
|
||||
@@ -2937,7 +2937,7 @@ void World::LoadCharacterNameData()
|
||||
QueryResult result = CharacterDatabase.Query("SELECT guid, name, race, gender, class FROM characters WHERE deleteDate IS NULL");
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, "No character name data loaded, empty query");
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "No character name data loaded, empty query");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user