Core/Chat Commands: add name of GM (or Console) into output of gmannounce command (and also fix typo from previous commit)
This commit is contained in:
@@ -748,7 +748,7 @@ class spell_shield_of_runes : public SpellScriptLoader
|
||||
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
if (Unit* caster = GetCaster())
|
||||
if (GetTargetApplication()->GetRemoveMode() == AURA_REMOVE_BY_EXPIRE)
|
||||
if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE)
|
||||
caster->CastSpell(caster, SPELL_SHIELD_OF_RUNES_BUFF, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user