mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Scripts/GB: some minor cleanups in Throngus' script
This commit is contained in:
@@ -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<uint32>(spellInfo->Effects[EFFECT_2].BasePoints),
|
||||
SPELL_FLAMING_SHIELD
|
||||
});
|
||||
}
|
||||
|
||||
void OnApply(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
if (Unit* caster = GetOwner()->ToUnit())
|
||||
|
||||
Reference in New Issue
Block a user