TrinityCore / WowPacketParser

World of Warcraft Packet Parser
GNU General Public License v3.0
423 stars 354 forks source link

Added @GROUP_ID #646

Closed JustZerooo closed 2 years ago

JustZerooo commented 2 years ago

Added @GROUP_ID Example :

INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
(12136, @GROUP_ID+0, @ID+, 'The zeppelin to Grom\'gol has just arrived! All aboard for Stranglethorn!', 14, 0, 100, 22, 0, 11804, PLEASE_SET_A_BROADCASTTEXT_ID, 'Snurk Bucksquick'), -- BroadcastTextID: 22075 - 22097
mdX7 commented 2 years ago

we might actually just drop @GROUP_ID itself, leaving this open for discussion for now

Ref: https://github.com/TrinityCore/WowPacketParser/blob/master/WowPacketParser/SQL/Builders/UnitMisc.cs#L750

mdX7 commented 2 years ago

thats a field which has to be manually adjusted anyway, defining a global variable for all creatures is not that useful here