mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Script/Hyjal: prevent Archimode from attacking players while invisible, and fix his scale (thanks Killyana!).
Closes #16424.
This commit is contained in:
2
sql/updates/world/3.3.5/2019_08_03_00_world.sql
Normal file
2
sql/updates/world/3.3.5/2019_08_03_00_world.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
--
|
||||
UPDATE `creature_template` SET `scale`=1 WHERE `entry` =17968;
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user