From c7b797976772947074346d63c0cdb70b4d302755 Mon Sep 17 00:00:00 2001 From: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Date: Sat, 4 Jan 2025 11:14:29 -0500 Subject: [PATCH 1/2] Init. --- data/sql/db-world/updates/smartstone.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/sql/db-world/updates/smartstone.sql b/data/sql/db-world/updates/smartstone.sql index 63ff8df..be7580c 100644 --- a/data/sql/db-world/updates/smartstone.sql +++ b/data/sql/db-world/updates/smartstone.sql @@ -25,6 +25,7 @@ INSERT INTO `smartstone_services` (`ServiceId`, `Title`, `SubscriptionLevel`, `E (3, 'Limited Duration Companions', 0, 1); UPDATE `item_template` SET `name` = "Smartstone", `ScriptName` = 'item_chromiecraft_smartstone', stackable = 1, `spellid_1` = 36177, maxcount = 1 WHERE (entry = 32547); +UPDATE `item_template_locale` SET `Name` = "Smartstone" WHERE (entry = 32547); DELETE FROM `creature_template` WHERE `entry` = 80000; INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES @@ -182,4 +183,4 @@ INSERT INTO `creature_template_spell` (`CreatureId`, `Index`, `Spell`) VALUES DELETE FROM `smartstone_pets` WHERE `CreatureId` = @Entry; INSERT INTO `smartstone_pets` (`CreatureId`, `Category`, `Enabled`, `Description`) VALUES -(@Entry, 1, 1, @Description); \ No newline at end of file +(@Entry, 1, 1, @Description); From 11cf1aa96bc0bb0d0603f1317df724319f6fcfb7 Mon Sep 17 00:00:00 2001 From: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Date: Sat, 4 Jan 2025 12:03:28 -0500 Subject: [PATCH 2/2] Whoops. --- data/sql/db-world/updates/smartstone.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/sql/db-world/updates/smartstone.sql b/data/sql/db-world/updates/smartstone.sql index be7580c..092dca3 100644 --- a/data/sql/db-world/updates/smartstone.sql +++ b/data/sql/db-world/updates/smartstone.sql @@ -25,7 +25,7 @@ INSERT INTO `smartstone_services` (`ServiceId`, `Title`, `SubscriptionLevel`, `E (3, 'Limited Duration Companions', 0, 1); UPDATE `item_template` SET `name` = "Smartstone", `ScriptName` = 'item_chromiecraft_smartstone', stackable = 1, `spellid_1` = 36177, maxcount = 1 WHERE (entry = 32547); -UPDATE `item_template_locale` SET `Name` = "Smartstone" WHERE (entry = 32547); +UPDATE `item_template_locale` SET `Name` = "Smartstone" WHERE (ID = 32547); DELETE FROM `creature_template` WHERE `entry` = 80000; INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES