Compare commits

...

6 commits

Author SHA1 Message Date
github-actions[bot]
ff161bb824 chore(DB): import pending files
Referenced commit(s): 426384d59d
2025-11-30 11:26:26 +00:00
Rocco Silipo
426384d59d
fix(DB/Condition): Solve continuous despawn issue with Alliance Steam Tank. (#23988) 2025-11-30 12:25:24 +01:00
Andrew
0368276fca
fix(Core/Unit): Call UpdatePosition() for pets as well (#23971) 2025-11-30 11:07:17 +01:00
github-actions[bot]
48025f9695 chore(DB): import pending files
Referenced commit(s): 2e3cddb9d2
2025-11-30 09:39:26 +00:00
Ryan Turner
f526c778e6
fix(DB/Quest) - Burning To Help no longer requires Sharpening Your Talons (#23982)
Co-authored-by: FlyingArowana <TheSCREWEDSoftware@users.noreply.github.com>
2025-11-30 10:38:43 +01:00
Ryan Turner
2e3cddb9d2
fix(DB/SAI) - Adjust Dalaran Wizard's Timers (#23973)
Co-authored-by: FlyingArowana <TheSCREWEDSoftware@users.noreply.github.com>
2025-11-30 10:38:21 +01:00
4 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,8 @@
-- DB update 2025_11_29_03 -> 2025_11_30_00
--
DELETE FROM `smart_scripts` WHERE `entryorguid` = 1889 AND `source_type` = 0 AND `id` IN (0, 1, 2, 3);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1889, 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 0, 0, 11, 12544, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dalaran Wizard - Out of Combat - Cast \'Frost Armor\''),
(1889, 0, 1, 0, 0, 0, 100, 0, 0, 0, 3400, 5400, 0, 0, 11, 20792, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Dalaran Wizard - In Combat - Cast \'Frostbolt\''),
(1889, 0, 2, 0, 106, 0, 100, 0, 12500, 45000, 15000, 45000, 0, 10, 11, 11831, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dalaran Wizard - On Hostile in Range - Cast \'Frost Nova\''),
(1889, 0, 3, 0, 0, 0, 100, 1, 3000, 5000, 14000, 20000, 0, 0, 11, 4980, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dalaran Wizard - In Combat - Cast \'Quick Frost Ward\' (No Repeat)');

View file

@ -0,0 +1,3 @@
-- DB update 2025_11_30_00 -> 2025_11_30_01
-- Burning to Help doesn't require Sharpening Your Talons
UPDATE `quest_template_addon` SET `PrevQuestID` = 0 WHERE `ID` = 12683;

View file

@ -0,0 +1,6 @@
-- DB update 2025_11_30_01 -> 2025_11_30_02
-- Event occours only if a player dismount.
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 6) AND (`SourceEntry` = 27587) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 32) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 16) AND (`ConditionValue2` = 0) AND (`ConditionValue3` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 6, 27587, 0, 0, 32, 0, 16, 0, 0, 0, 0, 0, '', 'Event occours only if a player dismount.');

View file

@ -628,7 +628,7 @@ void Unit::UpdateSplinePosition()
//if (HasUnitState(UNIT_STATE_CANNOT_TURN))
// loc.orientation = GetOrientation();
if (IsPlayer())
if (IsPlayer() || IsPet())
UpdatePosition(loc.x, loc.y, loc.z, loc.orientation);
else
ToCreature()->SetPosition(loc.x, loc.y, loc.z, loc.orientation);