Mission 0 Posted November 6, 2013 help me please ty. Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted November 7, 2013 Sample ( a shop selling poring card for 500 zeny and fabre card for 1000 zeny ) : prontera,150,150,0 shop Sample 100,4001:500,4002:1000 Reference ( https://raw.github.com/HerculesWS/Hercules/master/doc/script_commands.txt ) : ** Define a shop/cashshop NPC.-%TAB%shop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...}<map name>,<x>,<y>,<facing>%TAB%shop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...}This will define a shop NPC, which, when triggered (which can only be doneby clicking) will cause a shop window to come up. No code whatsoever runsin shop NPCs and you can't change the prices otherwise than by editing thescript itself (no variables even exist at this point of scripting, sodon't even bother trying to use them).The item id is the number of item in the 'item_db.txt' database. If Priceis set to -1, the 'buy price' given in the item database will be used.Otherwise, the price you gave will be used for this item, which is how youcreate differing prices for items in different shops.You can alternatively use "cashshop" in place of "shop" to use the CashShop interface, allowing you to buy items with special points (Currentlystored as account vars in global_reg #CASHPOINTS and #KAFRAPOINTS). Thistype of shop will not allow you to sell items at it, you may only purchaseitems here. The layout used to define sale items still count, and"<price>" refers to how many points will be spent purchasing the them. 2 Mumbles and Mission reacted to this Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted November 6, 2013 Card seller npc? Quote Share this post Link to post Share on other sites
0 Mission 0 Posted November 7, 2013 Card seller npc? yes sir.. a npc that sell normal cards with those renewal monster cards Quote Share this post Link to post Share on other sites
0 Mission 0 Posted November 8, 2013 thank you very much sir.. it works +1 to you... Quote Share this post Link to post Share on other sites
help me please ty.
Share this post
Link to post
Share on other sites