mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 22:37:04 +00:00
[12140] Basic curency support. Based on @Supabad, @Shocker, @Shauren work.
TODO: reward/take currencies from quests, take currencies with extended cost, reset currencies week count. Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
This commit is contained in:
parent
d8eb7327a1
commit
b4d7780f46
25 changed files with 620 additions and 162 deletions
6
sql/updates/12141_01_mangos_command.sql
Normal file
6
sql/updates/12141_01_mangos_command.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_12138_01_mangos_command required_12141_01_mangos_command bit;
|
||||
|
||||
DELETE FROM `command` WHERE `name` IN ('modify honor', 'modify arena', 'modify currency', 'lookup currency');
|
||||
INSERT INTO `command` VALUES
|
||||
('modify currency',2,'Syntax: .modify currency $id $amount\r\n\r\nAdd $amount points of currency $id to the selected player.'),
|
||||
('lookup currency',3,'Syntax: .lookup currency $namepart\r\n\r\nLooks up a currency by $namepart, and returns all matches.');
|
||||
Loading…
Add table
Add a link
Reference in a new issue