mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 04:37:02 +00:00
[7168] Spell shift-link and command improvements.
* Support Htrade shift link (it created by client at click by crafting profession spell icon in spellbook) in spell comands. * Support "all" second arg for .learn for learning not provided spell id but it's all ranks. * Drop support range for .unlearn command but support instead "all" second arg for unlearn not specific spell id but it's all ranks. * In .list auras output print spell names as shift links for better readable view. * Add to beggining Chat.cpp lists all supported by commands shift-links (client generated and server-side)
This commit is contained in:
parent
7a8a1a71bf
commit
32f3331679
9 changed files with 148 additions and 83 deletions
6
sql/updates/7168_01_mangos_command.sql
Normal file
6
sql/updates/7168_01_mangos_command.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_7156_01_mangos_spell_proc_event required_7168_01_mangos_command bit;
|
||||
|
||||
DELETE FROM `command` WHERE `name` IN ('learn','unlearn');
|
||||
INSERT INTO `command` VALUES
|
||||
('learn',3,'Syntax: .learn #spell [all]\r\n\r\nSelected character learn a spell of id #spell. If \'all\' provided then all ranks learned.'),
|
||||
('unlearn',3,'Syntax: .unlearn #spell [all]\r\n\r\nUnlearn for selected player a spell #spell. If \'all\' provided then all ranks unlearned.');
|
||||
|
|
@ -150,6 +150,7 @@ pkgdata_DATA = \
|
|||
7149_01_mangos_spell_proc_event.sql \
|
||||
7150_01_mangos_playercreateinfo_spell.sql \
|
||||
7156_01_mangos_spell_proc_event.sql \
|
||||
7168_01_mangos_command.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -280,4 +281,5 @@ EXTRA_DIST = \
|
|||
7149_01_mangos_spell_proc_event.sql \
|
||||
7150_01_mangos_playercreateinfo_spell.sql \
|
||||
7156_01_mangos_spell_proc_event.sql \
|
||||
7168_01_mangos_command.sql \
|
||||
README
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue