aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-11-18 20:09:34 +0100
committerGitHub <noreply@github.com>2020-11-18 20:09:34 +0100
commitcc8287927b9c9f0bf20143972fd4d3c338bff688 (patch)
tree99c1dce36f11521c0afa9b32c864b595f9da68ad /sql/updates
parent4abbeb2a60370157bc9a72e5c566c1112ff904e9 (diff)
[3.3.5] Scripts/Commands: .learn adjustments (PR #25454)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/3.3.5/2020_11_18_00_world.sql32
1 files changed, 32 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_11_18_00_world.sql b/sql/updates/world/3.3.5/2020_11_18_00_world.sql
new file mode 100644
index 00000000000..805a36b259e
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_11_18_00_world.sql
@@ -0,0 +1,32 @@
+--
+DELETE FROM `command` WHERE (`name` LIKE 'learn%') OR (`name` = 'unlearn');
+
+DELETE FROM `trinity_string` WHERE `entry` BETWEEN 383 AND 394;
+INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES
+(383, '### USAGE: .learn <spell> [all]
+Teaches the specified spell.
+If \'all\' is specified, teaches all ranks of the spell instead.'),
+(384, '### USAGE: .unlearn <spell> [all]
+Removes the specified spell from the target\'s spellbook.
+If \'all\' is specified, removes all ranks of the spell instead.'),
+(385, '### USAGE: .learn my quests
+Teaches you any spells your class can obtain through class quests.'),
+(386, '### USAGE: .learn my trainer
+Teaches you any spells you could currently train at your class trainer.'),
+(387, '### USAGE: .learn all blizzard
+Teaches you all available Blizzard internal spells.'),
+(388, '### USAGE: .learn all debug
+Teaches you a set of spells useful for testing raid encounters.
+You shouldn\'t be using GM commands during testing - they can cause weird behavior on their own!'),
+(389, '### USAGE: .learn all crafts [<player>]
+Teaches the specified player, or target/self, all available professions and recipes'),
+(390, '### USAGE: .learn all default [<player>]
+Teaches the specified player, or target/self, all default spells for their race/class, as well as any quests they have unlocked through quests.'),
+(391, '### USAGE: .learn all languages
+Teaches all available languages.'),
+(392, '### USAGE: .learn all recipes <profession>
+Teaches all recipes for the given profession.'),
+(393, '### USAGE: .learn all talents
+Unlocks all talents for the player\'s class.'),
+(394, '### USAGE: .learn all pettalents
+Unlocks all talents for the player\'s pet.');