From 86f3c2e749586960ae50d7852db252b02bd2caa5 Mon Sep 17 00:00:00 2001 From: Ovalord <1Don7H4v3@m41L.com> Date: Tue, 30 Jan 2018 14:48:50 +0100 Subject: [PATCH] Scripts/GB: some minor cleanups in Throngus' script --- .../GrimBatol/boss_forgemaster_throngus.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/GrimBatol/boss_forgemaster_throngus.cpp b/src/server/scripts/EasternKingdoms/GrimBatol/boss_forgemaster_throngus.cpp index 45f03ad6409..0e0d299e141 100644 --- a/src/server/scripts/EasternKingdoms/GrimBatol/boss_forgemaster_throngus.cpp +++ b/src/server/scripts/EasternKingdoms/GrimBatol/boss_forgemaster_throngus.cpp @@ -214,7 +214,7 @@ class boss_forgemaster_throngus : public CreatureScript } } - void PassengerBoarded(Unit* passenger, int8 seatId, bool apply) override + void PassengerBoarded(Unit* passenger, int8 /*seatId*/, bool apply) override { if (!me->GetVehicleKit()) return; @@ -471,15 +471,6 @@ class spell_throngus_personal_phalanx : public SpellScriptLoader { PrepareAuraScript(spell_throngus_personal_phalanx_AuraScript); - bool Validate(SpellInfo const* spellInfo) override - { - return ValidateSpellInfo( - { - static_cast(spellInfo->Effects[EFFECT_2].BasePoints), - SPELL_FLAMING_SHIELD - }); - } - void OnApply(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { if (Unit* caster = GetOwner()->ToUnit())