diff options
| author | Wyrserth <wyrserth@protonmail.com> | 2019-08-03 09:33:50 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-12-18 00:11:44 +0100 |
| commit | 75114dd82090857ca81d5c887e69722ae929b396 (patch) | |
| tree | 9f5e0b281a7ef0ab6eba4b6e104edb9998429253 /src | |
| parent | 2f2de263114e1227e348a9177bf8b60076a17553 (diff) | |
Script/Hyjal: prevent Archimode from attacking players while invisible, and fix his scale (thanks Killyana!).
Closes #16424.
(cherry picked from commit 9da5e850f63fef2ae44739350a4771930e98cfda)
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp index 9796c467438..ecef187428c 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp @@ -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) { |
