mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-17 01:04:34 +00:00
feat(CI/Codestyle): added codestyle check (#3668)
This commit is contained in:
@@ -128,7 +128,6 @@ public:
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
|
||||
|
||||
switch (eventId)
|
||||
{
|
||||
case EVENT_SPELL_ATTRACT_MAGIC:
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -28,7 +28,6 @@ enum Events
|
||||
EVENT_DARK_SHELL
|
||||
};
|
||||
|
||||
|
||||
class boss_pandemonius : public CreatureScript
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -29,4 +29,3 @@ enum slNPCandGO
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -449,7 +449,6 @@ public:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
EnterEvadeIfOutOfCombatArea();
|
||||
|
||||
if (!UpdateVictim())
|
||||
|
||||
@@ -193,7 +193,6 @@ public:
|
||||
|
||||
void AttackStart(Unit*) override { }
|
||||
|
||||
|
||||
void JustDied(Unit* killer) override
|
||||
{
|
||||
summons.clear();
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -361,7 +361,6 @@ public:
|
||||
amplitude = 8 * IN_MILLISECONDS;
|
||||
}
|
||||
|
||||
|
||||
void HandlePeriodic(AuraEffect const* /*aurEff*/)
|
||||
{
|
||||
PreventDefaultAction();
|
||||
|
||||
@@ -28,7 +28,6 @@ enum DataTypes
|
||||
DATA_BRIDGE_ACTIVATED = 23,
|
||||
DATA_ACTIVATE_SHIELD = 24,
|
||||
|
||||
|
||||
};
|
||||
|
||||
enum SSNPCs
|
||||
@@ -68,4 +67,3 @@ enum SSSpells
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -26,4 +26,3 @@ enum steamVaultNPCGO
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -73,7 +73,6 @@ public:
|
||||
events.ScheduleEvent(EVENT_SPELL_SPORES, urand(10000, 15000));
|
||||
}
|
||||
|
||||
|
||||
void JustSummoned(Creature* summon) override
|
||||
{
|
||||
summons.Summon(summon);
|
||||
|
||||
@@ -40,4 +40,3 @@ enum bloodFurnaceNPC
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -347,4 +347,3 @@ void AddSC_boss_kelidan_the_breaker()
|
||||
new boss_kelidan_the_breaker();
|
||||
new npc_shadowmoon_channeler();
|
||||
}
|
||||
|
||||
|
||||
@@ -130,4 +130,3 @@ void AddSC_boss_the_maker()
|
||||
{
|
||||
new boss_the_maker();
|
||||
}
|
||||
|
||||
|
||||
@@ -326,4 +326,3 @@ void AddSC_instance_blood_furnace()
|
||||
{
|
||||
new instance_blood_furnace();
|
||||
}
|
||||
|
||||
|
||||
@@ -173,4 +173,3 @@ void AddSC_boss_omor_the_unscarred()
|
||||
{
|
||||
new boss_omor_the_unscarred();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@ enum GoIds
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -89,7 +89,6 @@ enum Spells
|
||||
SPELL_NETHER_BEAM = 35869,
|
||||
SPELL_NETHER_BEAM_DAMAGE = 35873,
|
||||
|
||||
|
||||
SPELL_REMOTE_TOY_STUN = 37029
|
||||
};
|
||||
|
||||
|
||||
@@ -122,4 +122,3 @@ void AddSC_boss_void_reaver()
|
||||
{
|
||||
new boss_void_reaver();
|
||||
}
|
||||
|
||||
|
||||
@@ -102,4 +102,3 @@ void AddSC_boss_gatewatcher_iron_hand()
|
||||
{
|
||||
new boss_gatewatcher_iron_hand();
|
||||
}
|
||||
|
||||
|
||||
@@ -154,4 +154,3 @@ void AddSC_boss_pathaleon_the_calculator()
|
||||
{
|
||||
new boss_pathaleon_the_calculator();
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include "ScriptedCreature.h"
|
||||
#include "arcatraz.h"
|
||||
|
||||
|
||||
enum MillhouseSays
|
||||
{
|
||||
SAY_INTRO_1 = 0,
|
||||
|
||||
@@ -171,4 +171,3 @@ void AddSC_boss_harbinger_skyriss()
|
||||
{
|
||||
new boss_harbinger_skyriss();
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@ public:
|
||||
{
|
||||
boss_zereketh_the_unboundAI(Creature* creature) : BossAI(creature, DATA_ZEREKETH) { }
|
||||
|
||||
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
{
|
||||
_JustDied();
|
||||
|
||||
@@ -208,4 +208,3 @@ void AddSC_instance_arcatraz()
|
||||
{
|
||||
new instance_arcatraz();
|
||||
}
|
||||
|
||||
|
||||
@@ -146,4 +146,3 @@ void AddSC_boss_high_botanist_freywinn()
|
||||
{
|
||||
new boss_high_botanist_freywinn();
|
||||
}
|
||||
|
||||
|
||||
@@ -142,4 +142,3 @@ void AddSC_boss_laj()
|
||||
{
|
||||
new boss_laj();
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,6 @@ public:
|
||||
BossAI::MoveInLineOfSight(who);
|
||||
}
|
||||
|
||||
|
||||
void EnterCombat(Unit* /*who*/) override
|
||||
{
|
||||
_EnterCombat();
|
||||
|
||||
@@ -109,4 +109,3 @@ void AddSC_boss_warp_splinter()
|
||||
{
|
||||
new boss_warp_splinter();
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -62,7 +62,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// Theirs
|
||||
/*######
|
||||
## npc_aeranas
|
||||
|
||||
@@ -1315,7 +1315,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// Theirs
|
||||
/*######
|
||||
## npc_commander_dawnforge
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -314,7 +314,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// Theirs
|
||||
/*######
|
||||
## npc_unkor_the_ruthless
|
||||
|
||||
@@ -112,7 +112,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// Theirs
|
||||
/*######
|
||||
## npcs_ashyen_and_keleth
|
||||
|
||||
Reference in New Issue
Block a user