mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Scripts/Ulduar: apply stalker feedback
:)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user