Synth
Exalted Member
Hello Emudevs,well i'm making a query that i can update costs on npc_vendor by the itemlevels so les't say i have this query for npc_vendor:
I want now to update cost for those itemslevel by using ExtendedCost:
I try that but its wrong cz its updating costs like create 1 for free and the other costed with same items id i try that:
If someone can find for me another way that make it work without creating the items double time so just set cost for this item level.
Thank you!
Best regards,
Synth !
Code:
INSERT INTO `npc_vendor` SELECT 55560,0,`entry`,0,0,0
FROM `item_template` WHERE `InventoryType`= 6 AND `ItemLevel` = 277 AND NAME NOT LIKE "%Gladiator%";
I want now to update cost for those itemslevel by using ExtendedCost:
I try that but its wrong cz its updating costs like create 1 for free and the other costed with same items id i try that:
Code:
INSERT INTO `npc_vendor` SELECT 55560,0,`entry`,0,0,[COLOR="#00FF00"]33001[/COLOR] -- Cost ID
FROM `item_template` WHERE `InventoryType`= 6 AND `ItemLevel` = 277 AND NAME NOT LIKE "%Gladiator%";
If someone can find for me another way that make it work without creating the items double time so just set cost for this item level.
Thank you!
Best regards,
Synth !