Scripts/Ulduar: apply stalker feedback

:)
This commit is contained in:
Ovahlord
2021-01-06 15:59:33 +01:00
parent 455e74d3c5
commit 4f50bafd03
2 changed files with 2 additions and 2 deletions

View File

@@ -757,7 +757,7 @@ class spell_assembly_shield_of_runes : public AuraScript
void AfterRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
{
if (Unit* caster = GetCaster())
if (!GetTargetApplication()->GetRemoveMode().HasFlag(AuraRemoveFlags::ByEnemySpell) && aurEff->GetAmount() <= 0)
if (GetTargetApplication()->GetRemoveMode().HasFlag(AuraRemoveFlags::ByEnemySpell) && aurEff->GetAmount() <= 0)
caster->CastSpell(caster, SPELL_SHIELD_OF_RUNES_BUFF, false);
}

View File

@@ -258,7 +258,7 @@ class instance_ulduar : public InstanceMapScript
instance->SummonCreature(NPC_MIMIRON_YS, YSKeepersPos[3]);
}
// This hook is being called when the instance is created for the first time without a instance safe. Handle the Assembly of Iron initial spawn procedure in here.
// This hook is being called when the instance is created for the first time without a instance save. Handle the Assembly of Iron initial spawn procedure in here.
void Create() override
{
SetBossState(DATA_ASSEMBLY_OF_IRON, NOT_STARTED);