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:
elthehablo
2023-04-02 20:27:06 +02:00
committed by GitHub
parent 19d4568202
commit e85d829493

View File

@@ -349,7 +349,10 @@ public:
instance->SetBossState(DATA_WARDEN_MELLICHAR, DONE);
if (Creature* creature = summons.GetCreatureWithEntry(NPC_MILLHOUSE))
{
instance->DoCastSpellOnPlayers(SPELL_QID10886);
if (IsHeroic())
{
instance->DoCastSpellOnPlayers(SPELL_QID10886);
}
creature->AI()->Talk(SAY_COMPLETE);
creature->ReplaceAllNpcFlags(UNIT_NPC_FLAG_GOSSIP);
}