From 8249ca51edcbaca37034a3900e50cc3f8c2422a5 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Fri, 6 Feb 2026 18:05:48 -0300 Subject: [PATCH] fix(Scripts/TempestKeep): Add Teleport Position to Astromancer Solarian and Threat Reset (#24622) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../sql/updates/pending_db_world/rev_1770249033416011200.sql | 4 ++++ .../scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 data/sql/updates/pending_db_world/rev_1770249033416011200.sql diff --git a/data/sql/updates/pending_db_world/rev_1770249033416011200.sql b/data/sql/updates/pending_db_world/rev_1770249033416011200.sql new file mode 100644 index 000000000..c7e7f30a1 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1770249033416011200.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `spell_target_position` WHERE `ID` = 33244 AND `EffectIndex` = 0; +INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES +(33244, 0, 550, 432.74, -373.645, 18.0138, 1.39626, 50791); diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp index 94e300720..749763428 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp @@ -40,7 +40,7 @@ enum Spells SPELL_PSYCHIC_SCREAM = 34322, SPELL_VOID_BOLT = 39329, SPELL_TRUE_BEAM = 33365, - SPELL_TELEPORT_START_POSITION = 33244, + SPELL_TELEPORT_START_POSITION = 33244, // Serverside }; enum Misc @@ -153,7 +153,7 @@ struct boss_high_astromancer_solarian : public BossAI { me->SetReactState(REACT_PASSIVE); scheduler.DelayAll(22s); - // blink to room center in this line using SPELL_TELEPORT_START_POSITION and START_POSITION_X, START_POSITION_Y, START_POSITION_Z + DoCastSelf(SPELL_TELEPORT_START_POSITION); scheduler.Schedule(1s, [this](TaskContext) { for (uint8 i = 0; i < 3; ++i) @@ -198,6 +198,7 @@ struct boss_high_astromancer_solarian : public BossAI }); }).Schedule(23s, [this](TaskContext) { + me->GetThreatMgr().ClearAllThreat(); me->SetReactState(REACT_AGGRESSIVE); summons.DoForAllSummons([&](WorldObject* summon) {