@@ -759,7 +759,7 @@ void instance_trial_of_the_champion::JustDidDialogueStep(int32 iEntry)
759
759
{
760
760
switch (iEntry)
761
761
{
762
- // start arena long intro
762
+ // start arena long intro
763
763
case TYPE_ARENA_CHALLENGE:
764
764
if (Creature* pHerald = GetSingleCreatureFromStorage (m_uiHeraldEntry))
765
765
{
@@ -780,13 +780,13 @@ void instance_trial_of_the_champion::JustDidDialogueStep(int32 iEntry)
780
780
// ToDo: play intro music
781
781
}
782
782
break ;
783
- // complete intro - start arena event
783
+ // complete intro - start arena event
784
784
case NPC_TIRION_FORDRING:
785
785
m_uiIntroStage = 0 ;
786
786
m_uiIntroTimer = 1000 ;
787
787
break ;
788
788
789
- // start argent challenge
789
+ // start argent challenge
790
790
case NPC_ARGENT_MONK:
791
791
if (Creature* pHerald = GetSingleCreatureFromStorage (m_uiHeraldEntry))
792
792
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)
858
858
pHerald->SetFacingToObject (pTirion);
859
859
}
860
860
break ;
861
- // argent challenge completed
861
+ // argent challenge completed
862
862
case POINT_ID_EXIT:
863
863
if (Creature* pChampion = GetSingleCreatureFromStorage (m_uiGrandChampionEntry))
864
864
{
@@ -879,7 +879,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
879
879
{
880
880
switch (m_uiIntroStage)
881
881
{
882
- // spawn champions
882
+ // spawn champions
883
883
case 0 :
884
884
case 1 :
885
885
case 2 :
@@ -906,15 +906,15 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
906
906
907
907
// summon grand champion, mount and emote
908
908
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 ))
910
910
{
911
911
// handle emote
912
912
if (Creature* pStalker = GetSingleCreatureFromStorage (m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].uiCrowdStalker : aAllianceChampions[uiIndex].uiCrowdStalker ))
913
913
DoScriptText (m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].iEmoteEntry : aAllianceChampions[uiIndex].iEmoteEntry , pStalker, pChampion);
914
914
915
915
// summon champion mount
916
916
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 ))
918
918
{
919
919
pChampion->CastSpell (pMount, SPELL_RIDE_VEHICLE_HARDCODED, true );
920
920
@@ -930,7 +930,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
930
930
{
931
931
pTrigger->GetNearPoint (pTrigger, fX , fY , fZ , 0 , 5 .0f , pTrigger->GetAngle (pCenterTrigger) - (M_PI_F * 0 .25f ) + j * (M_PI_F * 0 .25f ));
932
932
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 ))
934
934
m_sArenaHelpersGuids[m_uiIntroStage].insert (pHelper->GetObjectGuid ());
935
935
}
936
936
@@ -948,7 +948,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
948
948
949
949
// summon grand champion, mount and emote
950
950
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 ))
952
952
{
953
953
// text
954
954
DoScriptText (m_uiTeam == ALLIANCE ? aHordeChampions[uiIndex].iYellEntry : aAllianceChampions[uiIndex].iYellEntry , pHerald);
@@ -967,7 +967,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
967
967
968
968
// summon champion mount
969
969
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 ))
971
971
{
972
972
pChampion->CastSpell (pMount, SPELL_RIDE_VEHICLE_HARDCODED, true );
973
973
@@ -983,9 +983,9 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
983
983
for (uint8 j = 0 ; j < 3 ; ++j)
984
984
{
985
985
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 ))
987
987
{
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));
989
989
m_sArenaHelpersGuids[m_uiIntroStage].insert (pHelper->GetObjectGuid ());
990
990
}
991
991
}
@@ -1047,7 +1047,7 @@ void instance_trial_of_the_champion::Update(uint32 uiDiff)
1047
1047
uiIndex = m_vChampionsIndex[i];
1048
1048
1049
1049
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 ))
1051
1051
m_ArenaChampionsGuids[i] = pChampion->GetObjectGuid ();
1052
1052
}
1053
1053
m_uiChampionsTimer = 0 ;
0 commit comments