Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD2: Add Hodir updates to sd2.sql #567

Merged
merged 2 commits into from
Nov 12, 2024
Merged

Conversation

insunaa
Copy link
Contributor

@insunaa insunaa commented Nov 10, 2024

🍰 Pullrequest

This PR implements the requests of Grz3s of moving data from the DB repo to the Core repo

UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_snowpack_target' WHERE `Entry`=33174;
UPDATE `creature_template` SET `AIName`='EventAI', `ScriptName` = '' WHERE `Entry` = 33169; -- Icicle
-- Hodir's Helper NPCs
UPDATE `creature_template` SET `StringId1`=6030701 WHERE `entry` IN (32941, 33333, 32950, 33332, 32946, 33331, 32948, 33330, 32901, 33325, 32900, 33328, 32893, 33327, 32897, 33326, 33342);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only scriptname goes here. All the rest of the sql goes to db.

And if script is set, ai name is overriden so you dont need to do that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason why it's fragmented like this? I'll change it ofc, I'm just curious

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, after a long discussion with cyberium we are trying to remove almost all sql from core, except script assignments to respective entries until a point in time when spell and other refactoring is reaching critical mass.

@killerwife killerwife merged commit 2f5d3f4 into cmangos:master Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants