Skip to content

Commit

Permalink
[Custom] c.12999 should use static modelid 11686 always
Browse files Browse the repository at this point in the history
no need for a spawn_data_template, modelid1_chance = 0
  • Loading branch information
AnonXS committed May 8, 2023
1 parent 7d7c97b commit 71c5c93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Updates/0753_c.12999_static_modelid.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- c.12999 should use static modelid 11686 always, no need for a spawn_data_template
-- SELECT * FROm dbscripts_on_event where id IN (14143);
UPDATE `dbscripts_on_event` SET `dataint4` = 0 WHERE `id` = 14143 AND `command` = 10; -- Spawn World Invisible Trigger 1 path ID 1, Spawn World Invisible Trigger 2 path ID 2, Spawn World Invisible Trigger 3 path ID 3
DELETE FROM `creature_spawn_data_template` WHERE `entry` = 10003; -- World Invisible Trigger - ModelId (dscripts_on_event 14143), set model 11686

1 change: 1 addition & 0 deletions utilities/cmangos_custom.sql
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ UPDATE creature_template SET `modelid2` = 0, `modelid3` = 0, `modelid4` = 0 WHER
);

UPDATE creature_template SET `modelid1` = 0, `modelid3` = 0, `modelid4` = 0 WHERE `entry` IN (
12999, -- World Invisible Trigger (11686)
21419, -- Infernal Attacker - modelid1 (17312)
22418 -- Archimonde Channel Target (18783)
);
Expand Down

0 comments on commit 71c5c93

Please sign in to comment.