[9656] Implement '.list talents' command.

Command show really know by selected player talent ranks,
including bugged cases like 2 rank same talent known and etc.
Also command claculated count of talents and total used talent
points cost of known talent ranks.

Can be helpful in bug debuging and cheating cases.
This commit is contained in:
VladimirMangos 2010-04-02 06:35:18 +04:00
parent db22a0a9fb
commit 034da8f6d4
10 changed files with 114 additions and 47 deletions

View file

@ -0,0 +1,7 @@
ALTER TABLE db_version CHANGE COLUMN required_9656_01_mangos_command required_9656_02_mangos_mangos_string bit;
DELETE FROM mangos_string WHERE entry in (1135,1136);
INSERT INTO mangos_string VALUES
(1135,'List known talents:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(1136,' (Found talents: %u used talent points: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);