mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-05 18:20:24 -08:00
Compare commits
6 commits
dc8318cf6a
...
ff161bb824
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff161bb824 | ||
|
|
426384d59d | ||
|
|
0368276fca | ||
|
|
48025f9695 | ||
|
|
f526c778e6 | ||
|
|
2e3cddb9d2 |
4 changed files with 18 additions and 1 deletions
8
data/sql/updates/db_world/2025_11_30_00.sql
Normal file
8
data/sql/updates/db_world/2025_11_30_00.sql
Normal 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)');
|
||||
3
data/sql/updates/db_world/2025_11_30_01.sql
Normal file
3
data/sql/updates/db_world/2025_11_30_01.sql
Normal 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;
|
||||
6
data/sql/updates/db_world/2025_11_30_02.sql
Normal file
6
data/sql/updates/db_world/2025_11_30_02.sql
Normal 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.');
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue