Fix build with scripts included
This commit is contained in:
@@ -239,7 +239,7 @@ public:
|
||||
{
|
||||
pInstance->UpdateEncounterState(ENCOUNTER_CREDIT_KILL_CREATURE, NPC_GRIMSTONE, me);
|
||||
pInstance->SetData(TYPE_RING_OF_LAW,DONE);
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: npc_grimstone: event reached end and set complete.");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: npc_grimstone: event reached end and set complete.");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@ public:
|
||||
|
||||
void SetData64(uint32 type, uint64 data)
|
||||
{
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Blackrock Depths: SetData64 update (Type: %u Data " UI64FMTD ")", type, data);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Blackrock Depths: SetData64 update (Type: %u Data " UI64FMTD ")", type, data);
|
||||
|
||||
switch(type)
|
||||
{
|
||||
@@ -230,7 +230,7 @@ public:
|
||||
|
||||
void SetData(uint32 type, uint32 data)
|
||||
{
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Blackrock Depths: SetData update (Type: %u Data %u)", type, data);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Blackrock Depths: SetData update (Type: %u Data %u)", type, data);
|
||||
|
||||
switch(type)
|
||||
{
|
||||
|
||||
@@ -227,7 +227,7 @@ public:
|
||||
|
||||
void PrepareEncounter()
|
||||
{
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Barnes Opera Event - Introduction complete - preparing encounter %d", m_uiEventId);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Barnes Opera Event - Introduction complete - preparing encounter %d", m_uiEventId);
|
||||
uint8 index = 0;
|
||||
uint8 count = 0;
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
for (uint8 i = 0; i < size; ++i)
|
||||
{
|
||||
uint64 guid = pInstance->GetData64(DATA_FEL_CRYSTAL);
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Selin: Adding Fel Crystal " UI64FMTD " to list", guid);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Selin: Adding Fel Crystal " UI64FMTD " to list", guid);
|
||||
Crystals.push_back(guid);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -216,7 +216,7 @@ public:
|
||||
else
|
||||
{
|
||||
me->GetMotionMaster()->MovePoint(1, anchorX, anchorY, me->GetPositionZ());
|
||||
//sLog->OutDebug(LOG_FILTER_TSCR, "npc_unworthy_initiateAI: move to %f %f %f", anchorX, anchorY, me->GetPositionZ());
|
||||
//sLog->outDebug(LOG_FILTER_TSCR, "npc_unworthy_initiateAI: move to %f %f %f", anchorX, anchorY, me->GetPositionZ());
|
||||
phase = PHASE_EQUIPING;
|
||||
wait_timer = 0;
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ class instance_stratholme : public InstanceMapScript
|
||||
return true;
|
||||
}
|
||||
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Cannot open slaugther square yet.");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Cannot open slaugther square yet.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -240,7 +240,7 @@ class instance_stratholme : public InstanceMapScript
|
||||
break;
|
||||
EncounterState[0] = data;
|
||||
events.ScheduleEvent(EVENT_BARON_RUN, 2700000);
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Baron run in progress.");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Baron run in progress.");
|
||||
break;
|
||||
case FAIL:
|
||||
DoRemoveAurasDueToSpellOnPlayers(SPELL_BARON_ULTIMATUM);
|
||||
@@ -298,10 +298,10 @@ class instance_stratholme : public InstanceMapScript
|
||||
//UpdateGoState(ziggurat4GUID,0,true);
|
||||
if (Creature* pBaron = instance->GetCreature(baronGUID))
|
||||
pBaron->SummonCreature(C_RAMSTEIN, 4032.84f, -3390.24f, 119.73f, 4.71f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 1800000);
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Ramstein spawned.");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Ramstein spawned.");
|
||||
}
|
||||
else
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: %u Abomnation left to kill.",count);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: %u Abomnation left to kill.",count);
|
||||
}
|
||||
|
||||
if (data == NOT_STARTED)
|
||||
@@ -310,7 +310,7 @@ class instance_stratholme : public InstanceMapScript
|
||||
if (data == DONE)
|
||||
{
|
||||
events.ScheduleEvent(EVENT_SLAUGHTER_SQUARE, 60000);
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Slaugther event will continue in 1 minute.");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Slaugther event will continue in 1 minute.");
|
||||
}
|
||||
EncounterState[4] = data;
|
||||
break;
|
||||
@@ -446,7 +446,7 @@ class instance_stratholme : public InstanceMapScript
|
||||
case EVENT_BARON_RUN:
|
||||
if (GetData(TYPE_BARON_RUN) != DONE)
|
||||
SetData(TYPE_BARON_RUN, FAIL);
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Baron run event reached end. Event has state %u.", GetData(TYPE_BARON_RUN));
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Baron run event reached end. Event has state %u.", GetData(TYPE_BARON_RUN));
|
||||
break;
|
||||
case EVENT_SLAUGHTER_SQUARE:
|
||||
if (Creature* baron = instance->GetCreature(baronGUID))
|
||||
@@ -456,7 +456,7 @@ class instance_stratholme : public InstanceMapScript
|
||||
|
||||
HandleGameObject(ziggurat4GUID, true);
|
||||
HandleGameObject(ziggurat5GUID, true);
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Black guard sentries spawned. Opening gates to baron.");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Stratholme: Black guard sentries spawned. Opening gates to baron.");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -1424,7 +1424,7 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
break;
|
||||
}
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "Sinister-Timer");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "Sinister-Timer");
|
||||
for (uint8 i = 0; i < 3; ++i)
|
||||
uiTimer[i] -= diff;
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: Instance Sunwell Plateau: GetPlayerInMap, but PlayerList is empty!");
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Instance Sunwell Plateau: GetPlayerInMap, but PlayerList is empty!");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user