Merge branch 'master' of github.com:TrinityCore/TrinityCore
This commit is contained in:
@@ -1034,7 +1034,6 @@ class spell_sindragosa_instability : public SpellScriptLoader
|
||||
|
||||
void OnRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
PreventDefaultAction();
|
||||
if (GetTargetApplication()->GetRemoveMode() == AURA_REMOVE_BY_EXPIRE)
|
||||
GetTarget()->CastCustomSpell(SPELL_BACKLASH, SPELLVALUE_BASE_POINT0, aurEff->GetAmount(), GetTarget(), true, NULL, aurEff, GetCasterGUID());
|
||||
}
|
||||
|
||||
@@ -192,6 +192,9 @@ class npc_flash_freeze : public CreatureScript
|
||||
if (!UpdateVictim() || me->getVictim()->HasAura(SPELL_BLOCK_OF_ICE) || me->getVictim()->HasAura(SPELL_FLASH_FREEZE_HELPER))
|
||||
return;
|
||||
|
||||
if (me->getVictim()->GetGUID() != targetGUID || instance->GetBossState(BOSS_HODIR) != IN_PROGRESS)
|
||||
me->DespawnOrUnsummon();
|
||||
|
||||
if (checkDespawnTimer <= diff)
|
||||
{
|
||||
if (Unit* target = ObjectAccessor::GetUnit(*me, targetGUID))
|
||||
|
||||
Reference in New Issue
Block a user