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

@@ -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

@@ -1033,7 +1033,6 @@ public:
}
};
// Theirs
// 50462 - Anti-Magic Shell (on raid member)
class spell_dk_anti_magic_shell_raid : public SpellScriptLoader

View File

@@ -31,7 +31,6 @@ enum DruidSpells
SPELL_DRUID_GLYPH_OF_BARKSKIN = 63057,
SPELL_DRUID_GLYPH_OF_BARKSKIN_TRIGGER = 63058,
// Theirs
SPELL_DRUID_ENRAGE_MOD_DAMAGE = 51185,
SPELL_DRUID_GLYPH_OF_TYPHOON = 62135,
@@ -365,7 +364,6 @@ public:
}
};
// Theirs
// -1850 - Dash
class spell_dru_dash : public SpellScriptLoader

View File

@@ -32,7 +32,6 @@
#include "Chat.h"
#include "Vehicle.h"
// Ours
class spell_gen_model_visible : public SpellScriptLoader
{
@@ -448,7 +447,6 @@ public:
public:
spell_gen_disabled_above_level_SpellScript(uint8 level) : SpellScript(), _level(level) { }
SpellCastResult CheckRequirement()
{
if (Unit* target = GetExplTargetUnit())
@@ -1498,7 +1496,6 @@ public:
}
};
// Theirs
class spell_gen_absorb0_hitlimit1 : public SpellScriptLoader
{

View File

@@ -336,8 +336,6 @@ public:
}
};
// Theirs
// 13161 Aspect of the Beast
class spell_hun_aspect_of_the_beast : public SpellScriptLoader
@@ -405,7 +403,6 @@ public:
}
};
// Theirs
// 34074 - Aspect of the Viper
class spell_hun_ascpect_of_the_viper : public SpellScriptLoader
@@ -575,7 +572,6 @@ public:
}
};
// -19572 - Improved Mend Pet
class spell_hun_improved_mend_pet : public SpellScriptLoader
{

View File

@@ -496,7 +496,6 @@ public:
}
};
// Theirs
// Incanter's Absorbtion
class spell_mage_incanters_absorbtion_base_AuraScript : public AuraScript
@@ -1086,7 +1085,6 @@ public:
else
caster->CastSpell(caster, SPELL_MAGE_SUMMON_WATER_ELEMENTAL_TEMPORARY, true);
if (Creature* pet = ObjectAccessor::GetCreature(*caster, caster->GetPetGUID()))
if (pet->GetCharmInfo() && caster->ToPlayer())
{

View File

@@ -286,7 +286,6 @@ public:
}
};
// Theirs
// 31850 - Ardent Defender
class spell_pal_ardent_defender : public SpellScriptLoader

View File

@@ -134,7 +134,6 @@ public:
}
};
// Theirs
// -34861 - Circle of Healing
class spell_pri_circle_of_healing : public SpellScriptLoader

View File

@@ -1017,7 +1017,6 @@ public:
}
};
// Theirs
class spell_generic_quest_update_entry_SpellScript : public SpellScript
{
@@ -2839,7 +2838,6 @@ public:
}
};
enum DeathComesFromOnHigh
{
SPELL_FORGE_CREDIT = 51974,
@@ -3077,7 +3075,6 @@ public:
}
};
void AddSC_quest_spell_scripts()
{
// Ours

View File

@@ -98,7 +98,6 @@ public:
}
};
// Theirs
// 13877, 33735, (check 51211, 65956) - Blade Flurry
class spell_rog_blade_flurry : public SpellScriptLoader

View File

@@ -403,7 +403,6 @@ public:
}
};
// Theirs
// 52759 - Ancestral Awakening (Proc)
class spell_sha_ancestral_awakening_proc : public SpellScriptLoader

View File

@@ -188,7 +188,6 @@ public:
{
PrepareAuraScript(spell_warr_improved_spell_reflection_trigger_AuraScript);
void HandleRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
if (!IsExpired())
@@ -220,7 +219,6 @@ public:
}
};
// Theirs
// 12975 - Last Stand
class spell_warr_last_stand : public SpellScriptLoader
@@ -454,7 +452,6 @@ public:
if (AuraEffect* aurEff = caster->GetAuraEffect(SPELL_WARRIOR_GLYPH_OF_EXECUTION, EFFECT_0))
rageUsed += aurEff->GetAmount() * 10;
int32 bp = GetEffectValue() + int32(rageUsed * spellInfo->Effects[effIndex].DamageMultiplier + caster->GetTotalAttackPowerValue(BASE_ATTACK) * 0.2f);
caster->CastCustomSpell(target, SPELL_WARRIOR_EXECUTE, &bp, nullptr, nullptr, true, nullptr, nullptr, GetOriginalCaster()->GetGUID());
}