mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Scripts/Ulduar: Fix Ignis' golems not shattering in 25m
Closes #10519
(cherry picked from commit 60493b3057)
This commit is contained in:
@@ -50,6 +50,7 @@ enum Spells
|
||||
SPELL_HEAT = 65667,
|
||||
SPELL_MOLTEN = 62373,
|
||||
SPELL_BRITTLE = 62382,
|
||||
SPELL_BRITTLE_25 = 67114,
|
||||
SPELL_SHATTER = 62383,
|
||||
SPELL_GROUND = 62548,
|
||||
};
|
||||
@@ -320,7 +321,7 @@ class npc_iron_construct : public CreatureScript
|
||||
|
||||
void DamageTaken(Unit* /*attacker*/, uint32& damage) override
|
||||
{
|
||||
if (me->HasAura(SPELL_BRITTLE) && damage >= 5000)
|
||||
if (me->HasAura(RAID_MODE(SPELL_BRITTLE, SPELL_BRITTLE_25)) && damage >= 5000)
|
||||
{
|
||||
DoCast(SPELL_SHATTER);
|
||||
if (Creature* ignis = ObjectAccessor::GetCreature(*me, _instance->GetGuidData(BOSS_IGNIS)))
|
||||
|
||||
Reference in New Issue
Block a user