Skip to content

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

Open
Sneakyabc wants to merge 1 commit into
cmangos:masterfrom
Sneakyabc:7631-rework
Open

DB Rework for Quest 7631 - Dreadsteed of Xoroth (Warlock Mount Quest)#317
Sneakyabc wants to merge 1 commit into
cmangos:masterfrom
Sneakyabc:7631-rework

Conversation

@Sneakyabc

Copy link
Copy Markdown
  • 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`)

@AnonXS AnonXS May 11, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
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);

@AnonXS AnonXS May 11, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
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