DB/World: DBErrors + Extras
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
-- DBError
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id`=1277297;
|
||||
|
||||
|
||||
|
||||
-- NPC Bragok (16227)
|
||||
DELETE FROM `creature_template_gossip` WHERE `CreatureID`=16227;
|
||||
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
|
||||
(16227, 12460, 56196);
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE `MenuID`=12460;
|
||||
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
|
||||
(12460, 39137, 0, 2, 'Show me where I can fly.', 12271, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 56196),
|
||||
(12460, 0, 1, 0, 'I need a flight to Dustwallow Marsh.', 48997, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 56196);
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=12460;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(15, 12460, 1, 0, 0, 28, 0, 26702, 0, 0, 0, 0, '', 'Bragok - Show Gossip Option 1 if Quest is Taken'),
|
||||
(15, 12460, 1, 0, 1, 28, 0, 26701, 0, 0, 0, 0, '', 'Bragok - Show Gossip Option 1 if Quest is Taken');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=16227 AND `source_type`=0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(16227, 0, 0, 0, 62, 0, 100, 0, 12460, 1, 0, 0, 52, 460, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Bragok - On Gossip Option 1 Select - Activate Taxi (Alliance)'),
|
||||
(16227, 0, 1, 0, 62, 0, 100, 0, 12460, 1, 0, 0, 52, 696, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Bragok - On Gossip Option 1 Select - Activate Taxi (Horde)');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=16227 AND `SourceId`=0;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 1, 16227, 0, 0, 6, 0, 469, 0, 0, 0, 0, '', 'Bragok - Run Script if Player is Alliance'),
|
||||
(22, 2, 16227, 0, 0, 6, 0, 67, 0, 0, 0, 0, '', 'Bragok - Run Script if Player is Horde');
|
||||
|
||||
Reference in New Issue
Block a user