mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core: Cleanup in MiscHandler::SendAreaTriggerMessage and warning fixes
This commit is contained in:
@@ -101,7 +101,6 @@ class boss_sulfuron : public CreatureScript
|
||||
break;
|
||||
case EVENT_INSPIRE:
|
||||
{
|
||||
Creature* target = NULL;
|
||||
std::list<Creature*> healers = DoFindFriendlyMissingBuff(45.0f, SPELL_INSPIRE);
|
||||
if (!healers.empty())
|
||||
DoCast(SelectRandomContainerElement(healers), SPELL_INSPIRE);
|
||||
|
||||
@@ -648,7 +648,7 @@ public:
|
||||
else m_uiRangeCheckTimer -= uiDiff;
|
||||
}
|
||||
|
||||
void SpellHitTarget(Unit* who, const SpellInfo* spell)
|
||||
void SpellHitTarget(Unit* who, const SpellInfo* /*spell*/)
|
||||
{
|
||||
if (who->HasAura(SPELL_DARK_ESSENCE_HELPER))
|
||||
who->CastSpell(who, SPELL_POWERING_UP, true);
|
||||
@@ -687,7 +687,7 @@ public:
|
||||
else m_uiRangeCheckTimer -= uiDiff;
|
||||
}
|
||||
|
||||
void SpellHitTarget(Unit* who, const SpellInfo* spell)
|
||||
void SpellHitTarget(Unit* who, const SpellInfo* /*spell*/)
|
||||
{
|
||||
if (who->HasAura(SPELL_LIGHT_ESSENCE_HELPER))
|
||||
who->CastSpell(who, SPELL_POWERING_UP, true);
|
||||
@@ -821,7 +821,7 @@ class spell_power_of_the_twins : public SpellScriptLoader
|
||||
return GetCaster()->GetTypeId() == TYPEID_UNIT;
|
||||
}
|
||||
|
||||
void HandleEffectApply(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
|
||||
void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
if (InstanceScript* instance = GetCaster()->GetInstanceScript())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user