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 parent
410eb3d1b6
commit
5dff68e457
9 files changed
+45
-34
No files matched your search
@@ -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';
|
||||
@@ -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