feat(CI/Codestyle): added codestyle check (#3668)

This commit is contained in:
Kargatum
2021-01-09 17:59:50 +07:00
committed by GitHub
parent 57aa46244d
commit ea93a5c1a1
400 changed files with 238 additions and 748 deletions

View File

@@ -128,7 +128,6 @@ public:
if (!UpdateVictim())
return;
switch (eventId)
{
case EVENT_SPELL_ATTRACT_MAGIC:

View File

@@ -2,7 +2,6 @@
* Originally written by Xinef - Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
*/
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Player.h"

View File

@@ -28,7 +28,6 @@ enum Events
EVENT_DARK_SHELL
};
class boss_pandemonius : public CreatureScript
{
public:

View File

@@ -29,4 +29,3 @@ enum slNPCandGO
};
#endif

View File

@@ -449,7 +449,6 @@ public:
break;
}
EnterEvadeIfOutOfCombatArea();
if (!UpdateVictim())

View File

@@ -193,7 +193,6 @@ public:
void AttackStart(Unit*) override { }
void JustDied(Unit* killer) override
{
summons.clear();

View File

@@ -1,4 +1,4 @@
# Copyright (C)
# Copyright (C)
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without

View File

@@ -361,7 +361,6 @@ public:
amplitude = 8 * IN_MILLISECONDS;
}
void HandlePeriodic(AuraEffect const* /*aurEff*/)
{
PreventDefaultAction();

View File

@@ -28,7 +28,6 @@ enum DataTypes
DATA_BRIDGE_ACTIVATED = 23,
DATA_ACTIVATE_SHIELD = 24,
};
enum SSNPCs
@@ -68,4 +67,3 @@ enum SSSpells
};
#endif

View File

@@ -26,4 +26,3 @@ enum steamVaultNPCGO
};
#endif

View File

@@ -73,7 +73,6 @@ public:
events.ScheduleEvent(EVENT_SPELL_SPORES, urand(10000, 15000));
}
void JustSummoned(Creature* summon) override
{
summons.Summon(summon);

View File

@@ -40,4 +40,3 @@ enum bloodFurnaceNPC
};
#endif

View File

@@ -347,4 +347,3 @@ void AddSC_boss_kelidan_the_breaker()
new boss_kelidan_the_breaker();
new npc_shadowmoon_channeler();
}

View File

@@ -130,4 +130,3 @@ void AddSC_boss_the_maker()
{
new boss_the_maker();
}

View File

@@ -326,4 +326,3 @@ void AddSC_instance_blood_furnace()
{
new instance_blood_furnace();
}

View File

@@ -173,4 +173,3 @@ void AddSC_boss_omor_the_unscarred()
{
new boss_omor_the_unscarred();
}

View File

@@ -95,7 +95,6 @@ public:
EventMap events2;
void Reset() override
{
events2.Reset();
@@ -154,7 +153,6 @@ public:
break;
}
if (!UpdateVictim() || !CheckInRoom())
return;
@@ -325,4 +323,3 @@ void AddSC_boss_magtheridon()
new spell_magtheridon_blaze();
new spell_magtheridon_shadow_grasp();
}

View File

@@ -7,7 +7,6 @@
#include "InstanceScript.h"
#include "magtheridons_lair.h"
DoorData const doorData[] =
{
{ GO_MAGTHERIDON_DOORS, TYPE_MAGTHERIDON, DOOR_TYPE_ROOM, BOUNDARY_S },
@@ -224,4 +223,3 @@ void AddSC_instance_magtheridons_lair()
{
new instance_magtheridons_lair();
}

View File

@@ -39,4 +39,3 @@ enum GoIds
};
#endif

View File

@@ -45,7 +45,6 @@ enum Misc
EVENT_SPELL_VOID_BOLT = 9
};
#define INNER_PORTAL_RADIUS 14.0f
#define OUTER_PORTAL_RADIUS 28.0f
#define CENTER_X 432.909f
@@ -54,7 +53,6 @@ enum Misc
#define CENTER_O 1.06421f
#define PORTAL_Z 17.005f
class boss_high_astromancer_solarian : public CreatureScript
{
public:
@@ -301,4 +299,3 @@ void AddSC_boss_high_astromancer_solarian()
new spell_astromancer_wrath_of_the_astromancer();
new spell_astromancer_solarian_transform();
}

View File

@@ -89,7 +89,6 @@ enum Spells
SPELL_NETHER_BEAM = 35869,
SPELL_NETHER_BEAM_DAMAGE = 35873,
SPELL_REMOTE_TOY_STUN = 37029
};

View File

@@ -122,4 +122,3 @@ void AddSC_boss_void_reaver()
{
new boss_void_reaver();
}

View File

@@ -102,4 +102,3 @@ void AddSC_boss_gatewatcher_iron_hand()
{
new boss_gatewatcher_iron_hand();
}

View File

@@ -154,4 +154,3 @@ void AddSC_boss_pathaleon_the_calculator()
{
new boss_pathaleon_the_calculator();
}

View File

@@ -6,7 +6,6 @@
#include "ScriptedCreature.h"
#include "arcatraz.h"
enum MillhouseSays
{
SAY_INTRO_1 = 0,

View File

@@ -171,4 +171,3 @@ void AddSC_boss_harbinger_skyriss()
{
new boss_harbinger_skyriss();
}

View File

@@ -37,7 +37,6 @@ public:
{
boss_zereketh_the_unboundAI(Creature* creature) : BossAI(creature, DATA_ZEREKETH) { }
void JustDied(Unit* /*killer*/) override
{
_JustDied();

View File

@@ -208,4 +208,3 @@ void AddSC_instance_arcatraz()
{
new instance_arcatraz();
}

View File

@@ -146,4 +146,3 @@ void AddSC_boss_high_botanist_freywinn()
{
new boss_high_botanist_freywinn();
}

View File

@@ -142,4 +142,3 @@ void AddSC_boss_laj()
{
new boss_laj();
}

View File

@@ -63,7 +63,6 @@ public:
BossAI::MoveInLineOfSight(who);
}
void EnterCombat(Unit* /*who*/) override
{
_EnterCombat();

View File

@@ -109,4 +109,3 @@ void AddSC_boss_warp_splinter()
{
new boss_warp_splinter();
}

View File

@@ -811,7 +811,6 @@ public:
playableSequence.push_back(*i);
}
// Remove any existant glowing auras over clusters and set clusters ready for interating with them.
void PrepareClusters(bool clustersOnly = false)
{

View File

@@ -62,7 +62,6 @@ public:
}
};
// Theirs
/*######
## npc_aeranas

View File

@@ -1315,7 +1315,6 @@ public:
}
};
// Theirs
/*######
## npc_commander_dawnforge

View File

@@ -126,7 +126,6 @@ public:
}
};
// Theirs
/*#####
# npc_invis_infernal_caster
@@ -1829,4 +1828,3 @@ void AddSC_shadowmoon_valley()
new npc_enraged_spirit();
new npc_shadowmoon_tuber_node();
}

View File

@@ -314,7 +314,6 @@ public:
}
};
// Theirs
/*######
## npc_unkor_the_ruthless

View File

@@ -112,7 +112,6 @@ public:
}
};
// Theirs
/*######
## npcs_ashyen_and_keleth