diff --git a/data/sql/updates/pending_db_world/rev_1636799867064749300.sql b/data/sql/updates/pending_db_world/rev_1636799867064749300.sql new file mode 100644 index 000000000..045b4681a --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1636799867064749300.sql @@ -0,0 +1,21 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1636799867064749300'); + +-- shield +DELETE FROM `gameobject` WHERE `id` = 20992; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(6821, 20992, 1, 0, 0, 1, 1, -3734.65, -2530.93, 73.2862, 0, 0, 0.707107, 0, 0.707107, 0, 100, 1, '', 0); + +-- badge +DELETE FROM `gameobject` WHERE `id` = 21042; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(6376, 21042, 1, 0, 0, 1, 1, -3721.85, -2541.17, 69.785, -0.000001, 0.556657, -0.434788, 0.43101, 0.561536, 0, 100, 1, '', 0); + +-- fake hoofprint +DELETE FROM `gameobject` WHERE `id` = 187272; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(10175, 187272, 1, 0, 0, 1, 1, -3701.37, -2535.18, 69, 3.03687, 0, 0, -0.99863, -0.0523374, 900, 100, 1, '', 0); + +-- quest hoofprint +DELETE FROM `gameobject` WHERE `id` = 187273; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(10167, 187273, 1, 0, 0, 1, 1, -3700.58, -2534.09, 68.8, 3.05433, 0, 0, -0.999048, -0.0436174, 0, 100, 1, '', 0); diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 0cdd9301c..8c32faa42 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -298,6 +298,8 @@ bool GameObject::Create(ObjectGuid::LowType guidlow, uint32 name_id, Map* map, u // used switch since there should be more case 181233: // maexxna portal effect case 181575: // maexxna portal + case 20992: // theramore black shield + case 21042: // theramore guard badge SetLocalRotation(rotation); break; default: