aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authordr-j <dr-j@users.noreply.github.com>2020-05-20 23:20:37 +0200
committerKillyana <morphone1@gmail.com>2020-05-20 23:20:37 +0200
commite80b66fd528b3fe38db5392957adf1aa82f19f9b (patch)
tree3f6841a48e7fcd7cc83725363d03ae1557b5a2f8 /sql
parentcc5bea023a0c43f1c58e2cd93267d9e339659442 (diff)
DB/Quest: With a little help from my friends
Closes #24639
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2020_05_20_00_world_335.sql64
1 files changed, 64 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_05_20_00_world_335.sql b/sql/updates/world/3.3.5/2020_05_20_00_world_335.sql
new file mode 100644
index 00000000000..4ec3da17be6
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_05_20_00_world_335.sql
@@ -0,0 +1,64 @@
+--
+UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=9999;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=9999 AND `source_type`=0;
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (999900,999901,999902,999903) AND `source_type`=9;
+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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
+(9999, 0, 0, 0, 19, 0, 100, 0, 4491, 0, 0, 0, 0, 80, 999902, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Quest Accept (A Little Help From My Friends) - Action list'),
+(999902, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set NPC Flags'),
+(999902, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Store Target List'),
+(999902, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 8, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set Reactstate Passive'),
+(999902, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Say Line 0'),
+(999902, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Follow Invoker'),
+(999902, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set event Phase 2'),
+(999902, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 250, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set Faction'),
+(999902, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 91, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set Bytes 1'),
+(999902, 9, 8, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 1, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Say Line 7'),
+(9999, 0, 1, 2, 7, 0, 100, 0, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Evade - Set event Phase 2'),
+(9999, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 91, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Evade - Set Bytes 1'),
+(9999, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 6, 4491, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Death - Fail Quest'),
+(9999, 0, 4, 0, 1, 2, 100, 0, 30000, 60000, 60000, 90000, 0, 80, 999900, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - OOC (event Phase 2) - Action list'),
+(999900, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set Root'),
+(999900, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Say Line 1'),
+(999900, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 90, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set Bytes 1'),
+(999900, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Say Line 5'),
+(999900, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set home position'),
+(999900, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set event Phase 1'),
+(999900, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set Reactstate Passive'),
+(9999, 0, 5, 0, 8, 1, 100, 0, 15591, 0, 0, 0, 0, 80, 999901, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Spellhit (Revive Ringo) - Action list'),
+(999901, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 103, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Turn Root Off'),
+(999901, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 91, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set Bytes 1'),
+(999901, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ringo -Action list - Follow Invoker'),
+(999901, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Say Line 2'),
+(999901, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set event Phase 2'),
+(999901, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 8, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list - Set Reactstate Defensive'),
+(9999, 0, 6, 0, 75, 2, 100, 1, 0, 9997, 5, 0, 0, 80, 999903, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Spraggle within 10 yards - Set event Phase 1'),
+(999903, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Spraggle within 10 yards - Set event Phase 1'),
+(999903, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Spraggle within 10 yards - Root'),
+(999903, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 15, 4491, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Spraggle within 10 yards - Call areaexploredoreventhappens'),
+(999903, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - On Spraggle within 10 yards - Set Active'),
+(999903, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list 2 - Say Line 3'),
+(999903, 9, 5, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 9997, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list 2 - Say Line 0 (Spraggle)'),
+(999903, 9, 6, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list 2 - Say Line 4'),
+(999903, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list 2 - Say Line 5'),
+(999903, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 90, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list 2 - Set Bytes 1'),
+(999903, 9, 9, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list 2 - Say Line 6'),
+(999903, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 91, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list 2 - Set Bytes 1'),
+(999903, 9, 11, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 9997, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list 2 - Say Line 1 (Spraggle)'),
+(999903, 9, 12, 0, 0, 0, 100, 0, 15000, 15000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ringo - Action list 2 - Despawn');
+
+DELETE FROM `creature_text` WHERE `CreatureID` = 9999;
+INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
+(9999, 0, 0, "Well, I'm not sure how far I'll make it in this state... I'm feeling kind of faint...", 12, 0, 100, 0, 0, 0, 5391, 0, "ringo SAY_RIN_START_1"),
+(9999, 1, 0, "The heat... I can't take it...", 12, 0, 100, 0, 0, 0, 5396, 0, "ringo SAY_FAINT_1"),
+(9999, 1, 1, "Maybe... you could carry me?", 12, 0, 100, 0, 0, 0, 5397, 0, "ringo SAY_FAINT_2"),
+(9999, 1, 2, "Uuuuuuggggghhhhh....", 12, 0, 100, 0, 0, 0, 5394, 0, "ringo SAY_FAINT_3"),
+(9999, 1, 3, "I'm not feeling so well...", 12, 0, 100, 0, 0, 0, 5395, 0, "ringo SAY_FAINT_4"),
+(9999, 2, 0, "Where... where am I?", 12, 0, 100, 0, 0, 0, 5400, 0, "ringo SAY_WAKE_1"),
+(9999, 2, 1, "I am feeling a little better now, thank you.", 12, 0, 100, 0, 0, 0, 5399, 0, "ringo SAY_WAKE_2"),
+(9999, 2, 2, "Yes, I must go on.", 12, 0, 100, 0, 0, 0, 5398, 0, "ringo SAY_WAKE_3"),
+(9999, 2, 3, "How am I feeling? Quite soaked, thank you.", 12, 0, 100, 0, 0, 0, 5401, 0, "ringo SAY_WAKE_4"),
+(9999, 3, 0, "Spraggle! I didn't think I'd make it back!", 12, 0, 100, 0, 0, 0, 5402, 0, "ringo SAY_RIN_END_1"),
+(9999, 4, 0, "Oh... I'm feeling faint...", 12, 0, 100, 0, 0, 0, 5403, 0, "ringo SAY_RIN_END_3"),
+(9999, 5, 0, "%s faints and falls onto the ground.", 16, 0, 100, 0, 0, 0, 5393, 0, "ringo EMOTE_RIN_END_4"),
+(9999, 6, 0, "Ugh.", 12, 0, 100, 0, 0, 0, 5404, 0, "ringo SAY_RIN_END_6"),
+(9999, 7, 0, "If I look woozy, slap me. If I pass out, use the canteen. Now let's go!", 12, 0, 100, 0, 0, 0, 5392, 0, "ringo SAY_RIN_START_2");