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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
400 changed files with 238 additions and 748 deletions

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());
}