From b9d77010fc9474d3db72778508ea35f5b311be58 Mon Sep 17 00:00:00 2001 From: epoque11 Date: Tue, 6 Dec 2011 16:46:03 +0000 Subject: - Added support for additional item information when OnSellItem is called - Added information is refine, attribute, identify flag and the item cards git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15017 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 6f7a213c1..254350904 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5678,8 +5678,9 @@ is bought or sold by a player. In the OnBuyItem, two arrays are set (@bought_nameid and @bought_quantity), which hold information about the name id (item id) sold and the amount sold of it. Same goes for the OnSellItem label, only the variables are named different -(@sold_nameid and @sold_quantity). An example on a shop comes with eAthena, and -can be found in the doc/sample/npc_dynamic_shop.txt file. +(@sold_nameid, @sold_quantity, @sold_refine, @sold_attribute, @sold_identify, +@sold_card1, @sold_card2, @sold_card3, @sold_card4). An example on a shop comes +with eAthena, and can be found in the doc/sample/npc_dynamic_shop.txt file. This example shows how to use the labels and their set variables to create a dynamic shop. -- cgit v1.2.3-60-g2f50