fix(Scripts/TempestKeep): Add Teleport Position to Astromancer Solarian and Threat Reset (#24622)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Gultask
2026-02-06 18:05:48 -03:00
committed by GitHub
parent c74e1567d7
commit 8249ca51ed
2 changed files with 7 additions and 2 deletions

View File

@@ -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);

View File

@@ -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)
{