mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Scripts): Ignis the Furnace Master - Iron construct buff stacks #3731
This commit is contained in:
@@ -125,15 +125,18 @@ public:
|
|||||||
}
|
}
|
||||||
else if (spell->Id == SPELL_HEAT_BUFF)
|
else if (spell->Id == SPELL_HEAT_BUFF)
|
||||||
{
|
{
|
||||||
if (Aura* a = me->GetAura(SPELL_HEAT_BUFF))
|
if (Aura* heat = me->GetAura(SPELL_HEAT_BUFF))
|
||||||
if( a->GetStackAmount() >= RAID_MODE(10, 20) )
|
{
|
||||||
|
if (heat->GetStackAmount() >= 10)
|
||||||
{
|
{
|
||||||
if (RAID_MODE(1, 0) && a->GetStackAmount() > 10) // prevent going over 10 on 10man version
|
if (heat->GetStackAmount() > 10)
|
||||||
a->ModStackAmount(-1);
|
{
|
||||||
|
heat->ModStackAmount(-1);
|
||||||
|
}
|
||||||
me->CastSpell(me, SPELL_MOLTEN, true);
|
me->CastSpell(me, SPELL_MOLTEN, true);
|
||||||
me->getThreatManager().resetAllAggro();
|
me->getThreatManager().resetAllAggro();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user