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

DB Rework for Quest 7631 - Dreadsteed of Xoroth (Warlock Mount Quest) #317

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sneakyabc
Copy link

  • Add missing emote dialog when demons unsummon
  • Make script NPC invisible
  • Remove creature_movement_template entries that produce bad movement (handled in cpp scripting now)
  • Tweaked wave spawn timers

- Add missing emote dialog when demons unsummon
- Make script NPC invisible
- Remove `creature_movement_template` entries that produce bad movement (handled in cpp scripting now)
- Tweaked wave spawn timers
@@ -0,0 +1,157 @@
-- missing emote dialog
INSERT INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `broadcast_text_id`, `comment`)
Copy link
Member

@AnonXS AnonXS May 11, 2024

Choose a reason for hiding this comment

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

script_texts is obsolete and does not belong into db repo

-- missing emote dialog
INSERT INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `broadcast_text_id`, `comment`)
VALUES ('-1429005', '%s is pulled back to Xoroth!', '0', '2', '0', '0', '10063', 'Xoroth demon unsummoned');
INSERT INTO `broadcast_text` (`Id`, `Text`, `Text1`, `ChatTypeID`, `LanguageID`, `ConditionID`, `EmotesID`, `Flags`, `SoundEntriesID1`, `SoundEntriesID2`, `EmoteID1`, `EmoteID2`, `EmoteID3`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `VerifiedBuild`)
Copy link
Member

Choose a reason for hiding this comment

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

this should exist in some form.

UPDATE `creature_template` SET `ExtraFlags` = 128 WHERE `Entry` = 14501;

-- produces janky movement, removing to handle in script
DELETE FROM `creature_movement_template` WHERE `Entry` IN (14482, 14483);
Copy link
Member

@AnonXS AnonXS May 11, 2024

Choose a reason for hiding this comment

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

most of this and following data should be in instance file, so it can be properly diffed..

VALUES ('10063', '%s is pulled back to Xoroth!', '', '2', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '31882');

-- make DND creature invisible
UPDATE `creature_template` SET `ExtraFlags` = 128 WHERE `Entry` = 14501;
Copy link
Member

Choose a reason for hiding this comment

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

Faction seems to be 90, isnt there a better solution then adding 128 as extraflag?

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