Klutz 2 Posted April 10, 2017 Hi, I was looking at the Dynamic Shop and i have a question: In case i want to sell for example: 15x Box of Thunder for 1 Gold_Coin What will be the way to do it? Is it even possible? NPC script example if the above doesn't explain it well enough: delitem 7517,1; <--- 1 Gold Coins will be deleted getitem 12028,15; <--- For 15 Box of Thunders Regards, Klutz Quote Share this post Link to post Share on other sites
0 Asheraf 123 Posted April 10, 2017 Hello there, you can use an npc with trader type for more examples check this link https://github.com/HerculesWS/Hercules/blob/master/doc/sample/npc_trader_sample.txt Quote Share this post Link to post Share on other sites
0 Klutz 2 Posted April 10, 2017 Hello there, you can use an npc with trader type for more examples check this link https://github.com/HerculesWS/Hercules/blob/master/doc/sample/npc_trader_sample.txt It won't let you sell more then one item for one coin i can't sell 2 Red potions for 1 gold coin Quote Share this post Link to post Share on other sites
0 wallaby 1 Posted April 11, 2017 Try this: http://herc.ws/board/topic/996-customize-shop-and-cashshop-npc-using-character-based-or-account-based-variable/ Quote Share this post Link to post Share on other sites
0 Klutz 2 Posted April 11, 2017 (edited) can i use: OnBuyItem: with tradertype(NST_CUSTOM) ? Edited April 11, 2017 by Klutz Quote Share this post Link to post Share on other sites
Hi,
I was looking at the Dynamic Shop and i have a question:
In case i want to sell for example: 15x Box of Thunder for 1 Gold_Coin
What will be the way to do it?
Is it even possible?
NPC script example if the above doesn't explain it well enough:
Regards,
Klutz
Share this post
Link to post
Share on other sites