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

@@ -181,7 +181,6 @@ enum MalygosLightOverrides
LIGHT_OBSCURE_ARCANE_RUNES = 1825,
};
class boss_malygos : public CreatureScript
{
public:
@@ -378,7 +377,7 @@ public:
case EVENT_BERSERK:
me->CastSpell(me, SPELL_BERSERK, true);
Talk(EMOTE_BERSERK);
break;
case EVENT_INTRO_MOVE_CENTER:
{
@@ -537,7 +536,7 @@ public:
}
case EVENT_VORTEX_LAND_0:
me->GetMotionMaster()->MoveLand(MI_POINT_VORTEX_LAND, CenterPos, 7.0f);
break;
case EVENT_VORTEX_LAND_1:
{
@@ -842,7 +841,6 @@ public:
};
};
#define VORTEX_DEFAULT_DIFF 250
#define VORTEX_TRAVEL_TIME 3000
//#define VORTEX_RADIUS 25.0f
@@ -945,7 +943,6 @@ public:
};
};
class npc_power_spark : public CreatureScript
{
public:
@@ -1042,7 +1039,6 @@ public:
};
};
class npc_nexus_lord : public CreatureScript
{
public:
@@ -1136,7 +1132,6 @@ public:
};
};
class npc_scion_of_eternity : public CreatureScript
{
public:
@@ -1211,7 +1206,6 @@ public:
};
};
class npc_hover_disk : public CreatureScript
{
public:
@@ -1354,7 +1348,6 @@ public:
};
};
class npc_alexstrasza : public CreatureScript
{
public:
@@ -1412,7 +1405,6 @@ public:
};
};
class npc_eoe_wyrmrest_skytalon : public CreatureScript
{
public:
@@ -1449,7 +1441,6 @@ public:
};
};
class go_the_focusing_iris : public GameObjectScript
{
public:
@@ -1467,7 +1458,6 @@ public:
}
};
class spell_eoe_ph3_surge_of_power : public SpellScriptLoader
{
public:
@@ -1525,7 +1515,6 @@ public:
}
};
void AddSC_boss_malygos()
{
new boss_malygos();

View File

@@ -161,7 +161,7 @@ public:
float angle = rand_norm() * 2 * M_PI;
me->SummonCreature(NPC_UNSTABLE_SPHERE, me->GetPositionX() + 5.0f * cos(angle), me->GetPositionY() + 5.0f * sin(angle), me->GetPositionZ(), 0.0f, TEMPSUMMON_TIMED_DESPAWN, 18000);
}
break;
}
}

View File

@@ -221,7 +221,6 @@ public:
return 0;
}
std::string GetSaveData() override
{
OUT_SAVE_INST_DATA;