fix(Scripts/Arcatraz): fix Trial of the Naaru: Tenacity complete condition (#15742)
* fix(Scripts/Arcatraz): fix Trial of the Naaru: Tenacity complete condition should now only complete on heroic mode * adaptation of edit to AC syntax brackets fixed :)
This commit is contained in:
@@ -348,8 +348,11 @@ public:
|
|||||||
me->setActive(false);
|
me->setActive(false);
|
||||||
instance->SetBossState(DATA_WARDEN_MELLICHAR, DONE);
|
instance->SetBossState(DATA_WARDEN_MELLICHAR, DONE);
|
||||||
if (Creature* creature = summons.GetCreatureWithEntry(NPC_MILLHOUSE))
|
if (Creature* creature = summons.GetCreatureWithEntry(NPC_MILLHOUSE))
|
||||||
|
{
|
||||||
|
if (IsHeroic())
|
||||||
{
|
{
|
||||||
instance->DoCastSpellOnPlayers(SPELL_QID10886);
|
instance->DoCastSpellOnPlayers(SPELL_QID10886);
|
||||||
|
}
|
||||||
creature->AI()->Talk(SAY_COMPLETE);
|
creature->AI()->Talk(SAY_COMPLETE);
|
||||||
creature->ReplaceAllNpcFlags(UNIT_NPC_FLAG_GOSSIP);
|
creature->ReplaceAllNpcFlags(UNIT_NPC_FLAG_GOSSIP);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user