Skip to content

Commit a29e48d

Browse files
committed
[3100] Cleanup whitespaces
1 parent df365c1 commit a29e48d

File tree

12 files changed

+40
-40
lines changed

12 files changed

+40
-40
lines changed

scripts/eastern_kingdoms/blackrock_depths/boss_ambassador_flamelash.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct boss_ambassador_flamelashAI : public ScriptedAI
7070
ScriptedAI::MoveInLineOfSight(pWho);
7171

7272
if (pWho->GetEntry() == NPC_BURNING_SPIRIT && pWho->isAlive() && m_sSpiritsGuidsSet.find(pWho->GetObjectGuid()) != m_sSpiritsGuidsSet.end() &&
73-
pWho->IsWithinDistInMap(m_creature, 2 * CONTACT_DISTANCE))
73+
pWho->IsWithinDistInMap(m_creature, 2 * CONTACT_DISTANCE))
7474
{
7575
pWho->CastSpell(m_creature, SPELL_BURNING_SPIRIT, true);
7676
m_sSpiritsGuidsSet.erase(pWho->GetObjectGuid());

scripts/eastern_kingdoms/western_plaguelands.cpp

+9-9
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
450450
else if (eventType == AI_EVENT_CUSTOM_B && pInvoker->GetEntry() == NPC_ISILLIEN)
451451
{
452452
StartNextDialogueText(NPC_TIRION_FORDRING);
453-
m_creature->SummonCreature(NPC_TIRION_FORDRING, 2620.273f, -1920.917f, 74.25f, 0, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
453+
m_creature->SummonCreature(NPC_TIRION_FORDRING, 2620.273f, -1920.917f, 74.25f, 0, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
454454
}
455455
}
456456

@@ -480,9 +480,9 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
480480
// summon additional crimson elites
481481
float fX, fY, fZ;
482482
pSummoned->GetNearPoint(pSummoned, fX, fY, fZ, 0, 5.0f, M_PI_F * 1.25f);
483-
pSummoned->SummonCreature(NPC_CRIMSON_ELITE, fX, fY, fZ, pSummoned->GetOrientation(), TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
483+
pSummoned->SummonCreature(NPC_CRIMSON_ELITE, fX, fY, fZ, pSummoned->GetOrientation(), TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
484484
pSummoned->GetNearPoint(pSummoned, fX, fY, fZ, 0, 5.0f, 0);
485-
pSummoned->SummonCreature(NPC_CRIMSON_ELITE, fX, fY, fZ, pSummoned->GetOrientation(), TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
485+
pSummoned->SummonCreature(NPC_CRIMSON_ELITE, fX, fY, fZ, pSummoned->GetOrientation(), TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
486486
break;
487487
case NPC_TIRION_FORDRING:
488488
m_tirionGuid = pSummoned->GetObjectGuid();
@@ -576,7 +576,7 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
576576
break;
577577
case SAY_REACH_TOWER:
578578
// start fight event
579-
m_creature->SummonCreature(NPC_ISILLIEN, 2693.12f, -1943.04f, 72.04f, 2.11f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
579+
m_creature->SummonCreature(NPC_ISILLIEN, 2693.12f, -1943.04f, 72.04f, 2.11f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
580580
break;
581581
case SAY_ISILLIEN_2:
582582
if (Creature* pIsillien = m_creature->GetMap()->GetCreature(m_isillenGuid))
@@ -585,9 +585,9 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
585585
case SPELL_CRUSADER_STRIKE:
586586
{
587587
// spawn additioinal elites
588-
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2711.32f, -1882.67f, 67.89f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
589-
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2710.93f, -1878.90f, 67.97f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
590-
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2710.53f, -1875.28f, 67.90f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15*MINUTE*IN_MILLISECONDS);
588+
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2711.32f, -1882.67f, 67.89f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
589+
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2710.93f, -1878.90f, 67.97f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
590+
m_creature->SummonCreature(NPC_CRIMSON_ELITE, 2710.53f, -1875.28f, 67.90f, 3.2f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 15 * MINUTE * IN_MILLISECONDS);
591591

592592
std::list<Creature*> lElitesInRange;
593593
Player* pPlayer = GetPlayerForEscort();
@@ -651,10 +651,10 @@ struct npc_taelan_fordringAI: public npc_escortAI, private DialogueHelper
651651
pTirion->SetFacingToObject(pPlayer);
652652
}
653653

654-
pTirion->ForcedDespawn(3*MINUTE*IN_MILLISECONDS);
654+
pTirion->ForcedDespawn(3 * MINUTE * IN_MILLISECONDS);
655655
pTirion->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
656656
}
657-
m_creature->ForcedDespawn(3*MINUTE*IN_MILLISECONDS);
657+
m_creature->ForcedDespawn(3 * MINUTE * IN_MILLISECONDS);
658658
break;
659659
}
660660
}

scripts/kalimdor/caverns_of_time/culling_of_stratholme/culling_of_stratholme.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ struct npc_arthasAI : public npc_escortAI, private DialogueHelper
733733
case NPC_TOWNHALL_RESIDENT:
734734
if (Creature* pCitizen = m_creature->GetMap()->GetCreature(m_thirdCitizenGuid))
735735
pCitizen->HandleEmote(EMOTE_ONESHOT_LAUGH);
736-
break;
736+
break;
737737
case TEXT_ID_TOWN_HALL_2:
738738
if (Creature* pCitizen = m_creature->GetMap()->GetCreature(m_thirdCitizenGuid))
739739
DoScriptText(SAY_CITIZEN_NO_UNDERSTAD, pCitizen);

scripts/kalimdor/razorfen_downs/instance_razorfen_downs.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void instance_razorfen_downs::Initialize()
3737

3838
void instance_razorfen_downs::OnCreatureCreate(Creature* pCreature)
3939
{
40-
switch(pCreature->GetEntry())
40+
switch (pCreature->GetEntry())
4141
{
4242
case NPC_TOMB_FIEND:
4343
case NPC_TOMB_REAVER:

scripts/northrend/crusaders_coliseum/trial_of_the_champion/instance_trial_of_the_champion.cpp

+13-13
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ void instance_trial_of_the_champion::JustDidDialogueStep(int32 iEntry)
759759
{
760760
switch (iEntry)
761761
{
762-
// start arena long intro
762+
// start arena long intro
763763
case TYPE_ARENA_CHALLENGE:
764764
if (Creature* pHerald = GetSingleCreatureFromStorage(m_uiHeraldEntry))
765765
{
@@ -780,13 +780,13 @@ void instance_trial_of_the_champion::JustDidDialogueStep(int32 iEntry)
780780
// ToDo: play intro music
781781
}
782782
break;
783-
// complete intro - start arena event
783+
// complete intro - start arena event
784784
case NPC_TIRION_FORDRING:
785785
m_uiIntroStage = 0;
786786
m_uiIntroTimer = 1000;
787787
break;
788788

789-
// start argent challenge
789+
// start argent challenge
790790
case NPC_ARGENT_MONK:
791791
if (Creature* pHerald = GetSingleCreatureFromStorage(m_uiHeraldEntry))
792792
pHerald->GetMotionMaster()->MovePoint(0, aHeraldPositions[0][0], aHeraldPositions[0][1], aHeraldPositions[0][2]);
@@ -858,7 +858,7 @@ void instance_trial_of_the_champion::JustDidDialogueStep(int32 iEntry)
858858
pHerald->SetFacingToObject(pTirion);
859859
}
860860
break;
861-
// argent challenge completed
861+
// argent challenge completed
862862
case POINT_ID_EXIT:
863863
if (Creature* pChampion = GetSingleCreatureFromStorage(m_uiGrandChampionEntry))
864864
{
@@ -879,7 +879,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
879879
{
880880
switch (m_uiIntroStage)
881881
{
882-
// spawn champions
882+
// spawn champions
883883
case 0:
884884
case 1:
885885
case 2:
@@ -906,15 +906,15 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
906906

907907
// summon grand champion, mount and emote
908908
if (Creature* pChampion = pHerald->SummonCreature(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].uiEntry : aAllianceChampions[uiIndex].uiEntry,
909-
pTrigger->GetPositionX(), pTrigger->GetPositionY(), pTrigger->GetPositionZ(), pTrigger->GetAngle(pCenterTrigger), TEMPSUMMON_DEAD_DESPAWN, 0))
909+
pTrigger->GetPositionX(), pTrigger->GetPositionY(), pTrigger->GetPositionZ(), pTrigger->GetAngle(pCenterTrigger), TEMPSUMMON_DEAD_DESPAWN, 0))
910910
{
911911
// handle emote
912912
if (Creature* pStalker = GetSingleCreatureFromStorage(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].uiCrowdStalker : aAllianceChampions[uiIndex].uiCrowdStalker))
913913
DoScriptText(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].iEmoteEntry : aAllianceChampions[uiIndex].iEmoteEntry, pStalker, pChampion);
914914

915915
// summon champion mount
916916
if (Creature* pMount = pChampion->SummonCreature(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].uiMount : aAllianceChampions[uiIndex].uiMount,
917-
pTrigger->GetPositionX(), pTrigger->GetPositionY(), pTrigger->GetPositionZ(), pTrigger->GetAngle(pCenterTrigger), TEMPSUMMON_DEAD_DESPAWN, 0))
917+
pTrigger->GetPositionX(), pTrigger->GetPositionY(), pTrigger->GetPositionZ(), pTrigger->GetAngle(pCenterTrigger), TEMPSUMMON_DEAD_DESPAWN, 0))
918918
{
919919
pChampion->CastSpell(pMount, SPELL_RIDE_VEHICLE_HARDCODED, true);
920920

@@ -930,7 +930,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
930930
{
931931
pTrigger->GetNearPoint(pTrigger, fX, fY, fZ, 0, 5.0f, pTrigger->GetAngle(pCenterTrigger) - (M_PI_F * 0.25f) + j * (M_PI_F * 0.25f));
932932
if (Creature* pHelper = pHerald->SummonCreature(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].uiChampion : aAllianceChampions[uiIndex].uiChampion,
933-
fX, fY, fZ, pTrigger->GetAngle(pCenterTrigger), TEMPSUMMON_DEAD_DESPAWN, 0))
933+
fX, fY, fZ, pTrigger->GetAngle(pCenterTrigger), TEMPSUMMON_DEAD_DESPAWN, 0))
934934
m_sArenaHelpersGuids[m_uiIntroStage].insert(pHelper->GetObjectGuid());
935935
}
936936

@@ -948,7 +948,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
948948

949949
// summon grand champion, mount and emote
950950
if (Creature* pChampion = pHerald->SummonCreature(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].uiEntry : aAllianceChampions[uiIndex].uiEntry,
951-
aIntroPositions[0][0], aIntroPositions[0][1], aIntroPositions[0][2], aIntroPositions[0][3], TEMPSUMMON_DEAD_DESPAWN, 0))
951+
aIntroPositions[0][0], aIntroPositions[0][1], aIntroPositions[0][2], aIntroPositions[0][3], TEMPSUMMON_DEAD_DESPAWN, 0))
952952
{
953953
// text
954954
DoScriptText(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].iYellEntry : aAllianceChampions[uiIndex].iYellEntry, pHerald);
@@ -967,7 +967,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
967967

968968
// summon champion mount
969969
if (Creature* pMount = pChampion->SummonCreature(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].uiMount : aAllianceChampions[uiIndex].uiMount,
970-
aIntroPositions[0][0], aIntroPositions[0][1], aIntroPositions[0][2], aIntroPositions[0][3], TEMPSUMMON_DEAD_DESPAWN, 0))
970+
aIntroPositions[0][0], aIntroPositions[0][1], aIntroPositions[0][2], aIntroPositions[0][3], TEMPSUMMON_DEAD_DESPAWN, 0))
971971
{
972972
pChampion->CastSpell(pMount, SPELL_RIDE_VEHICLE_HARDCODED, true);
973973

@@ -983,9 +983,9 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
983983
for (uint8 j = 0; j < 3; ++j)
984984
{
985985
if (Creature* pHelper = pChampion->SummonCreature(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].uiChampion : aAllianceChampions[uiIndex].uiChampion,
986-
aIntroPositions[j + 1][0], aIntroPositions[j + 1][1], aIntroPositions[j + 1][2], aIntroPositions[j + 1][3], TEMPSUMMON_DEAD_DESPAWN, 0))
986+
aIntroPositions[j + 1][0], aIntroPositions[j + 1][1], aIntroPositions[j + 1][2], aIntroPositions[j + 1][3], TEMPSUMMON_DEAD_DESPAWN, 0))
987987
{
988-
pHelper->GetMotionMaster()->MoveFollow(pMount, pHelper->GetDistance(pMount), M_PI_F/2 + pHelper->GetAngle(pMount));
988+
pHelper->GetMotionMaster()->MoveFollow(pMount, pHelper->GetDistance(pMount), M_PI_F / 2 + pHelper->GetAngle(pMount));
989989
m_sArenaHelpersGuids[m_uiIntroStage].insert(pHelper->GetObjectGuid());
990990
}
991991
}
@@ -1047,7 +1047,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
10471047
uiIndex = m_vChampionsIndex[i];
10481048

10491049
if (Creature* pChampion = pHerald->SummonCreature(m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].uiEntry : aAllianceChampions[uiIndex].uiEntry,
1050-
aChampsPositions[i][0], aChampsPositions[i][1], aChampsPositions[i][2], aChampsPositions[i][3], TEMPSUMMON_DEAD_DESPAWN, 0))
1050+
aChampsPositions[i][0], aChampsPositions[i][1], aChampsPositions[i][2], aChampsPositions[i][3], TEMPSUMMON_DEAD_DESPAWN, 0))
10511051
m_ArenaChampionsGuids[i] = pChampion->GetObjectGuid();
10521052
}
10531053
m_uiChampionsTimer = 0;

scripts/northrend/icecrown.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ struct npc_infantryAI : public ScriptedAI
350350
if (m_bEscortActive)
351351
{
352352
if (Creature* pLeader = m_creature->GetMap()->GetCreature(m_squadLeaderGuid))
353-
m_creature->GetMotionMaster()->MoveFollow(pLeader, m_creature->GetDistance(pLeader), M_PI_F/2 + m_creature->GetAngle(pLeader));
353+
m_creature->GetMotionMaster()->MoveFollow(pLeader, m_creature->GetDistance(pLeader), M_PI_F / 2 + m_creature->GetAngle(pLeader));
354354
}
355355
else
356356
m_creature->GetMotionMaster()->MoveTargetedHome();
@@ -367,7 +367,7 @@ struct npc_infantryAI : public ScriptedAI
367367
if (eventType == AI_EVENT_CUSTOM_A && (pSender->GetEntry() == NPC_SKYBREAKER_SQUAD_LEADER || pSender->GetEntry() == NPC_KORKRON_SQUAD_LEADER))
368368
{
369369
m_creature->SetStandState(UNIT_STAND_STATE_STAND);
370-
m_creature->GetMotionMaster()->MoveFollow(pSender, m_creature->GetDistance(pSender), M_PI_F/2 + m_creature->GetAngle(pSender));
370+
m_creature->GetMotionMaster()->MoveFollow(pSender, m_creature->GetDistance(pSender), M_PI_F / 2 + m_creature->GetAngle(pSender));
371371
m_squadLeaderGuid = pSender->GetObjectGuid();
372372
m_bEscortActive = true;
373373
}
@@ -548,7 +548,7 @@ CreatureAI* GetAI_npc_father_kamaros(Creature* pCreature)
548548
bool QuestAccept_npc_father_kamaros(Player* pPlayer, Creature* pCreature, const Quest* pQuest)
549549
{
550550
if (pQuest->GetQuestId() == QUEST_ID_NOT_DEAD_YET_A || pQuest->GetQuestId() == QUEST_ID_NOT_DEAD_YET_H ||
551-
pQuest->GetQuestId() == QUEST_ID_GET_OUT_OF_HERE_A || pQuest->GetQuestId() == QUEST_ID_GET_OUT_OF_HERE_H)
551+
pQuest->GetQuestId() == QUEST_ID_GET_OUT_OF_HERE_A || pQuest->GetQuestId() == QUEST_ID_GET_OUT_OF_HERE_H)
552552
{
553553
pCreature->AI()->SendAIEvent(AI_EVENT_START_ESCORT, pPlayer, pCreature, pQuest->GetQuestId());
554554
return true;
@@ -643,7 +643,7 @@ bool GossipSelect_npc_saronite_mine_slave(Player* pPlayer, Creature* pCreature,
643643
case 1:
644644
pCreature->GetMotionMaster()->MovePoint(0, afPointSlaveSuicide2[0], afPointSlaveSuicide2[1], afPointSlaveSuicide2[2]);
645645
break;
646-
case 2:
646+
case 2:
647647
pCreature->GetMotionMaster()->MovePoint(0, afPointSlaveSuicide3[0], afPointSlaveSuicide3[1], afPointSlaveSuicide3[2]);
648648
break;
649649
}

scripts/northrend/sholazar_basin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ struct npc_tipsy_mcmanusAI : public ScriptedAI
553553
{
554554
switch (m_uiTaskIndex)
555555
{
556-
// fruit tasks
556+
// fruit tasks
557557
case 0:
558558
case 1:
559559
case 3:

scripts/northrend/ulduar/ulduar/boss_yogg_saron.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ struct npc_brain_yogg_saronAI : public Scripted_NoMovementAI, private DialogueHe
11001100
{
11011101
switch (uiIndex)
11021102
{
1103-
// stormwind
1103+
// stormwind
11041104
case 0:
11051105
m_creature->SummonCreature(NPC_LAUGHING_SKULL, 1955.173f, 85.26153f, 239.7496f, 4.049f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
11061106
m_creature->SummonCreature(NPC_LAUGHING_SKULL, 1893.146f, 44.24343f, 239.7496f, 0, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
@@ -1121,7 +1121,7 @@ struct npc_brain_yogg_saronAI : public Scripted_NoMovementAI, private DialogueHe
11211121
// start dialogue
11221122
StartNextDialogueText(NPC_KING_LLANE);
11231123
break;
1124-
// chamber
1124+
// chamber
11251125
case 1:
11261126
m_creature->SummonCreature(NPC_LAUGHING_SKULL, 2063.156f, 27.95839f, 244.2707f, 5.288f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
11271127
m_creature->SummonCreature(NPC_LAUGHING_SKULL, 2061.257f, -53.8788f, 239.8633f, 2.478f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
@@ -1145,7 +1145,7 @@ struct npc_brain_yogg_saronAI : public Scripted_NoMovementAI, private DialogueHe
11451145
// start dialogue
11461146
StartNextDialogueText(NPC_NELTHARION);
11471147
break;
1148-
// icecrown
1148+
// icecrown
11491149
case 2:
11501150
m_creature->SummonCreature(NPC_LAUGHING_SKULL, 1948.668f, -152.4481f, 240.073f, 1.919f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
11511151
m_creature->SummonCreature(NPC_LAUGHING_SKULL, 1879.845f, -72.91819f, 240.073f, 5.689f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
@@ -1162,8 +1162,8 @@ struct npc_brain_yogg_saronAI : public Scripted_NoMovementAI, private DialogueHe
11621162
m_creature->SummonCreature(NPC_DEATHSWORM_ZEALOT, 1897.345f, -106.6076f, 240.1444f, 4.939f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
11631163
m_creature->SummonCreature(NPC_LICH_KING, 1908.557f, -152.4427f, 240.0719f, 4.238f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
11641164
// the following is guesswork
1165-
m_creature->SummonCreature(NPC_IMMOLATED_CHAMPION, 1915.371f,-139.9342f,239.9896f, 4.159f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
1166-
m_creature->SummonCreature(NPC_YOGGSARON_ILLUSION, 1915.371f,-139.9342f,239.9896f, 0.0f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
1165+
m_creature->SummonCreature(NPC_IMMOLATED_CHAMPION, 1915.371f, -139.9342f, 239.9896f, 4.159f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
1166+
m_creature->SummonCreature(NPC_YOGGSARON_ILLUSION, 1915.371f, -139.9342f, 239.9896f, 0.0f, TEMPSUMMON_TIMED_OOC_OR_DEAD_DESPAWN, 90000);
11671167

11681168
// start dialogue
11691169
StartNextDialogueText(NPC_LICH_KING);

scripts/outland/shadowmoon_valley.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ struct npc_wildaAI : public npc_escortAI
592592
for (std::list<Creature*>::const_iterator itr = lSpiritsInRange.begin(); itr != lSpiritsInRange.end(); ++itr)
593593
{
594594
(*itr)->RemoveAurasDueToSpell(SPELL_WATER_BUBBLE);
595-
(*itr)->GetMotionMaster()->MoveFollow(m_creature, m_creature->GetDistance(*itr) * 0.25f, M_PI_F/2 + m_creature->GetAngle(*itr));
595+
(*itr)->GetMotionMaster()->MoveFollow(m_creature, m_creature->GetDistance(*itr) * 0.25f, M_PI_F / 2 + m_creature->GetAngle(*itr));
596596
(*itr)->SetLevitate(false);
597597
}
598598
}

sd2_revision_nr.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#ifndef __SD2_REVISION_NR_H__
22
#define __SD2_REVISION_NR_H__
3-
#define SD2_REVISION_NR "3099"
3+
#define SD2_REVISION_NR "3100"
44
#endif // __SD2_REVISION_NR_H__

0 commit comments

Comments
 (0)