mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Allow to sell item for: money, extendedCost or money+extendedCost.
The new method (money+extende) can be used by using negative values on npc_vendor.ExtendedCost. This one goes dedicated to ZxBiohazardZx. Tnx also to VladimirMangos. --HG-- branch : trunk
This commit is contained in:
1
sql/updates/8568_world_npc_vendor.sql
Normal file
1
sql/updates/8568_world_npc_vendor.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE npc_vendor CHANGE COLUMN `ExtendedCost` `ExtendedCost` mediumint(8) NOT NULL default '0' COMMENT 'negative if cost must exclude normal money cost';
|
||||
4
sql/updates/8568_world_trinity_string.sql
Normal file
4
sql/updates/8568_world_trinity_string.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
DELETE FROM trinity_string WHERE entry IN (210);
|
||||
INSERT INTO trinity_string VALUES
|
||||
(210,'Item \'%i\' (with extended cost %i) already in vendor list.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
|
||||
Reference in New Issue
Block a user