Script/Hyjal: prevent Archimode from attacking players while invisible, and fix his scale (thanks Killyana!).

Closes #16424.
This commit is contained in:
Wyrserth
2019-08-03 09:33:50 +02:00
parent 0b87dffc35
commit 9da5e850f6
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
--
UPDATE `creature_template` SET `scale`=1 WHERE `entry` =17968;

View File

@@ -129,7 +129,10 @@ public:
case ARCHIMONDE:
Archimonde = creature->GetGUID();
if (GetData(DATA_AZGALOREVENT) != DONE)
{
creature->SetVisible(false);
creature->SetReactState(REACT_PASSIVE);
}
break;
case JAINA:
JainaProudmoore = creature->GetGUID();
@@ -183,6 +186,7 @@ public:
if (Creature* archimonde = instance->GetCreature(Archimonde))
{
archimonde->SetVisible(true);
archimonde->SetReactState(REACT_AGGRESSIVE);
if (!ArchiYell)
{