From 7c314e06ecfe66a9f6adbc74a686401dfa3c19f9 Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Mon, 23 Mar 2026 18:15:48 -0300 Subject: [PATCH] fix: remove scale/mechanic_immune_mask/spell_school_immune_mask from creature_template SQL These columns were removed from creature_template in AzerothCore. - scale moved to creature_template_model.DisplayScale - mechanic_immune_mask/spell_school_immune_mask replaced by CreatureImmunitiesId Co-Authored-By: Claude Opus 4.6 (1M context) --- data/sql/db-world/base/morphsummon.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/sql/db-world/base/morphsummon.sql b/data/sql/db-world/base/morphsummon.sql index e064fce..23a22cf 100644 --- a/data/sql/db-world/base/morphsummon.sql +++ b/data/sql/db-world/base/morphsummon.sql @@ -11,8 +11,7 @@ SET @MENU_SORRY := @MENU_HELLO + 1; SET @MENU_CHOICE := @MENU_HELLO + 2; DELETE FROM `creature_template` WHERE `entry` = @ENTRY; -INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES -(@ENTRY, 0, 0, 0, 0, 0, @NAME, @SUBNAME, NULL, 0, 80, 80, 2, 35, 1, 1, 1.14286, 1, 0, 0, 1, 2000, 2000, 8, 0, 2048, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1, 1, 1, 0, 0, 1, 0, 2, @SCRIPTNAME, 0); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES(@ENTRY, 0, 0, 0, 0, 0, @NAME, @SUBNAME, NULL, 0, 80, 80, 2, 35, 1, 1, 1.14286, 0, 0, 1, 2000, 2000, 8, 0, 2048, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1, 1, 1, 0, 0, 1, 2, @SCRIPTNAME, 0); DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (@ENTRY); INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES