mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 07:06:23 +00:00
chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
This commit is contained in:
@@ -161,7 +161,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class npc_towering_infernal : public CreatureScript
|
||||
@@ -245,7 +244,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_anetheron()
|
||||
|
||||
@@ -168,7 +168,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class npc_lesser_doomguard : public CreatureScript
|
||||
@@ -265,7 +264,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_azgalor()
|
||||
|
||||
@@ -152,7 +152,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class spell_mark_of_kazrogal : public SpellScriptLoader
|
||||
|
||||
@@ -148,7 +148,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_rage_winterchill()
|
||||
|
||||
@@ -112,7 +112,6 @@ public:
|
||||
|
||||
return ai;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
class npc_thrall : public CreatureScript
|
||||
@@ -193,7 +192,6 @@ public:
|
||||
|
||||
return ai;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
class npc_tyrande_whisperwind : public CreatureScript
|
||||
@@ -239,7 +237,6 @@ public:
|
||||
SendGossipMenuFor(player, 907, creature->GetGUID());
|
||||
return true;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
void AddSC_hyjal()
|
||||
|
||||
@@ -476,7 +476,6 @@ void hyjalAI::SummonCreature(uint32 entry, float Base[4][3])
|
||||
default:
|
||||
creature = me->SummonCreature(entry, SpawnLoc[0], SpawnLoc[1], SpawnLoc[2], 0, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 120000);
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
if (creature)
|
||||
@@ -706,7 +705,6 @@ void hyjalAI::UpdateAI(uint32 diff)
|
||||
HideNearPos(5037.76f, -1889.71f);
|
||||
for (uint8 i = 0; i < 92; ++i)//summon fires
|
||||
me->SummonGameObject(GO_ROARING_FLAME, AllianceFirePos[i][0], AllianceFirePos[i][1], AllianceFirePos[i][2], AllianceFirePos[i][3], AllianceFirePos[i][4], AllianceFirePos[i][5], AllianceFirePos[i][6], AllianceFirePos[i][7], 0);
|
||||
|
||||
}
|
||||
else me->SetVisible(true);
|
||||
break;
|
||||
@@ -719,7 +717,6 @@ void hyjalAI::UpdateAI(uint32 diff)
|
||||
HideNearPos(5542.2f, -2629.36f);
|
||||
for (uint8 i = 0; i < 65; ++i)//summon fires
|
||||
me->SummonGameObject(GO_ROARING_FLAME, HordeFirePos[i][0], HordeFirePos[i][1], HordeFirePos[i][2], HordeFirePos[i][3], HordeFirePos[i][4], HordeFirePos[i][5], HordeFirePos[i][6], HordeFirePos[i][7], 0);
|
||||
|
||||
}
|
||||
else me->SetVisible(true);
|
||||
break;
|
||||
|
||||
@@ -135,7 +135,6 @@ float AllianceOverrunWP[55][3] = //waypoints in the alliance base used in the en
|
||||
{5180.41f, -2121.87f, 1292.62f}, //52 garg target3
|
||||
{5088.68f, -2432.04f, 1441.73f}, //53 garg target4
|
||||
{5111.26f, -2454.73f, 1449.63f}//54 garg target5
|
||||
|
||||
};
|
||||
|
||||
float HordeOverrunWP[21][3] = //waypoints in the horde base used in the end in the cleaning wave
|
||||
@@ -622,7 +621,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class npc_ghoul : public CreatureScript
|
||||
@@ -723,7 +721,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class npc_necromancer : public CreatureScript
|
||||
@@ -849,7 +846,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class npc_banshee : public CreatureScript
|
||||
@@ -953,7 +949,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class npc_crypt_fiend : public CreatureScript
|
||||
@@ -1041,7 +1036,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class npc_fel_stalker : public CreatureScript
|
||||
@@ -1129,7 +1123,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class npc_frost_wyrm : public CreatureScript
|
||||
@@ -1459,7 +1452,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_hyjal_trash()
|
||||
|
||||
@@ -275,7 +275,6 @@ public:
|
||||
SaveToDB();
|
||||
OUT_SAVE_INST_DATA_COMPLETE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
uint32 GetData(uint32 type) const override
|
||||
|
||||
@@ -139,7 +139,6 @@ public:
|
||||
Talk(SAY_SLAY);
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_epoch()
|
||||
|
||||
@@ -145,7 +145,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_infinite_corruptor()
|
||||
|
||||
@@ -155,7 +155,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_mal_ganis()
|
||||
|
||||
@@ -101,7 +101,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_meathook()
|
||||
|
||||
@@ -145,7 +145,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class spell_boss_salramm_steal_flesh : public SpellScriptLoader
|
||||
|
||||
@@ -647,7 +647,6 @@ public:
|
||||
SetEscortPaused(true);
|
||||
eventInRun = true;
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1427,7 +1426,6 @@ public:
|
||||
arthas->AI()->Reset();
|
||||
}
|
||||
player->NearTeleportTo(LeaderIntroPos2.GetPositionX(), LeaderIntroPos2.GetPositionY(), LeaderIntroPos2.GetPositionZ(), LeaderIntroPos2.GetOrientation());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -166,7 +166,6 @@ public:
|
||||
else if (Creature* arthas = instance->GetCreature(_arthasGUID))
|
||||
Reposition(arthas);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
if (type == DATA_ARTHAS_EVENT)
|
||||
@@ -256,7 +255,6 @@ public:
|
||||
if (instance->IsHeroic() && _infiniteGUID)
|
||||
if (Creature* cr = instance->GetCreature(_infiniteGUID))
|
||||
cr->AI()->DoAction(ACTION_RUN_OUT_OF_TIME);
|
||||
|
||||
}
|
||||
else if (div > divAfter)
|
||||
{
|
||||
|
||||
@@ -198,13 +198,11 @@ public:
|
||||
me->CastSpell(me, SPELL_CONSECRATION, false);
|
||||
events.ScheduleEvent(EVENT_SPELL_CONSECRATION, 20000);
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_captain_skarloc()
|
||||
|
||||
@@ -104,7 +104,6 @@ public:
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_epoch_hunter()
|
||||
|
||||
@@ -150,7 +150,6 @@ public:
|
||||
EventMap events;
|
||||
Movement::PointsArray pathPoints;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_boss_lieutenant_drake()
|
||||
|
||||
@@ -22,7 +22,6 @@ const Position thrallPositions[THRALL_POSITIONS_COUNT] =
|
||||
{2062.9f, 229.93f, 64.454f, 2.45f}, // After Captain Skarloc death
|
||||
{2486.91f, 626.356f, 58.0761f, 0.0f}, // Arrived at Tarren Mill
|
||||
{2660.47f, 659.223f, 62.0f, 5.78f} // Taretha Met
|
||||
|
||||
};
|
||||
|
||||
class instance_old_hillsbrad : public InstanceMapScript
|
||||
@@ -339,7 +338,6 @@ public:
|
||||
|
||||
EventMap _events;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_instance_old_hillsbrad()
|
||||
|
||||
@@ -174,7 +174,6 @@ enum Events
|
||||
EVENT_THRALL_TALK_6 = 90,
|
||||
EVENT_THRALL_RUN_AWAY = 91,
|
||||
EVENT_TARETHA_TALK_2 = 92
|
||||
|
||||
};
|
||||
|
||||
class npc_thrall_old_hillsbrad : public CreatureScript
|
||||
@@ -898,7 +897,6 @@ public:
|
||||
void AttackStart(Unit*) override { }
|
||||
void MoveInLineOfSight(Unit*) override { }
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_old_hillsbrad()
|
||||
|
||||
@@ -72,7 +72,6 @@ enum MiscIds
|
||||
|
||||
INSTANCE_POSITIONS_COUNT = 3,
|
||||
THRALL_POSITIONS_COUNT = 5
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -339,7 +339,6 @@ public:
|
||||
protected:
|
||||
EventMap Events;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
void AddSC_instance_the_black_morass()
|
||||
|
||||
@@ -246,7 +246,6 @@ public:
|
||||
cr->AI()->Talk(SAY_ORCS_ANSWER);
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user