summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-06 16:46:03 +0000
committerepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-06 16:46:03 +0000
commitb9d77010fc9474d3db72778508ea35f5b311be58 (patch)
tree84810951b944d57205c27ccf2d0ac43a9201d6b0 /doc
parent0e361a16b060d6a49d8832d5bc5d3bf88dd71486 (diff)
downloadhercules-b9d77010fc9474d3db72778508ea35f5b311be58.tar.gz
hercules-b9d77010fc9474d3db72778508ea35f5b311be58.tar.bz2
hercules-b9d77010fc9474d3db72778508ea35f5b311be58.tar.xz
hercules-b9d77010fc9474d3db72778508ea35f5b311be58.zip
- 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
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt5
1 files changed, 3 insertions, 2 deletions
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.