diff options
| author | Rushor <Rushor@users.noreply.github.com> | 2020-02-15 20:18:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-15 20:18:58 +0100 |
| commit | f0bf447cd14315f1fe0bdab7d051691113525762 (patch) | |
| tree | 9f54ab3d45522d4192c7e59e163b62efc9324ec6 /sql | |
| parent | 322f0b8873e14a67bad0f23e1d3a2927a43c2495 (diff) | |
Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (#24157)
* Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (Thanks to Sunwell)
* Scripts/Gameobject: Journal of Jandice Barov - Update script and move go spawn to bossscript
* Update boss_jandice_barov.cpp
Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/3.3.5/9999_99_99_99_world.sql | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/9999_99_99_99_world.sql b/sql/updates/world/3.3.5/9999_99_99_99_world.sql new file mode 100644 index 00000000000..3a758fa3d20 --- /dev/null +++ b/sql/updates/world/3.3.5/9999_99_99_99_world.sql @@ -0,0 +1,26 @@ +-- +-- GO Journal of Jandice Barov (180794) +UPDATE `npc_text` SET `text0_0`='', `text0_1`='The journal of Jandice Barov is filled with rantings and ravings about the undead. Towards the end of the book is what appears to be a tailoring pattern for the creation of a bag of some sort. Your understanding of tailoring is insufficient to decipher the pattern.', `BroadcastTextID0`=11405 WHERE `ID`=8120; +UPDATE `npc_text` SET `text0_0`='', `text0_1`='The journal of Jandice Barov is filled with rantings and ravings about the undead. Towards the end of the book is what appears to be a tailoring pattern for the creation of a felcloth bag. This bag is used by warlocks to store soul shards. Do you wish to copy the pattern into your own journal?', `BroadcastTextID0`=11406 WHERE `ID`=8121; +UPDATE `npc_text` SET `text0_0`='', `text0_1`='The journal of Jandice Barov is filled with rantings and ravings about the undead. Towards the end of the book is what appears to be a tailoring pattern for the creation of a felcloth bag. This bag is used by warlocks to store soul shards. You already know how to create this bag.', `BroadcastTextID0`=11410 WHERE `ID`=8122; +DELETE FROM `gossip_menu` WHERE `MenuID`=6799; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES (6799, 8120),(6799, 8121),(6799, 8122); +DELETE FROM `gossip_menu_option` WHERE `MenuID`=6799; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`) VALUES +(6799, 0, 0, '<Copy the pattern into my journal.>', 11407, 1, 1); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14, 15) AND `SourceGroup`=6799; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 6799, 8120, 0, 0, 7, 0, 197, 280, 0, 1, 0, 0, '', 'Show text if player does not have tailoring'), +(14, 6799, 8121, 0, 0, 7, 0, 197, 280, 0, 0, 0, 0, '', 'Show text if player have tailoring'), +(14, 6799, 8121, 0, 0, 25, 0, 26086, 0, 0, 1, 0, 0, '', 'Show text if player does not have spell 26086'), +(14, 6799, 8122, 0, 0, 7, 0, 197, 280, 0, 0, 0, 0, '', 'Show text if player have tailoring'), +(14, 6799, 8122, 0, 0, 25, 0, 26086, 0, 0, 0, 0, 0, '', 'Show text if player have spell 26086'), +(15, 6799, 0, 0, 0, 7, 0, 197, 280, 0, 0, 0, 0, '', 'Show gossip if player have tailoring'), +(15, 6799, 0, 0, 0, 25, 0, 26086, 0, 0, 1, 0, 0, '', 'Show gossip if player does not have spell 26086'); +DELETE FROM `gameobject` WHERE `id`=180794; +DELETE FROM `gameobject_addon` WHERE `guid`=43231; +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI', `ScriptName`='' WHERE `entry`=180794; +DELETE FROM `smart_scripts` WHERE `entryorguid`=180794 AND `source_type`=1; +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 +(180794, 1, 0, 1, 62, 0, 100, 0, 6799, 0, 0, 0, 85, 26095, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Journal of Jandice Barov - On Gossip Select - Invoker Cast Felcloth Bag'), +(180794, 1, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Journal of Jandice Barov - On Gossip Select - Close Gossip'); |
