summaryrefslogtreecommitdiff
path: root/doc/sample/getiteminfo.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-11-12 02:01:05 +0100
committerHaru <haru@dotalux.com>2017-11-12 02:01:05 +0100
commite52cb33ab5f9900e9c10818a19b49c80c2196f76 (patch)
tree8f580cccd7acfebe13c17be56c8ea29003726ae7 /doc/sample/getiteminfo.txt
parentdfcb1ff37ad077249c0050bb1bab8994225191e1 (diff)
downloadhercules-e52cb33ab5f9900e9c10818a19b49c80c2196f76.tar.gz
hercules-e52cb33ab5f9900e9c10818a19b49c80c2196f76.tar.bz2
hercules-e52cb33ab5f9900e9c10818a19b49c80c2196f76.tar.xz
hercules-e52cb33ab5f9900e9c10818a19b49c80c2196f76.zip
Add ITEMINFO_VIEWSPRITE support to getiteminfo() / setiteminfo().
Adds the ability to query an item's view sprite, lost with #1828 Fixes #1895 Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/sample/getiteminfo.txt')
-rw-r--r--doc/sample/getiteminfo.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/sample/getiteminfo.txt b/doc/sample/getiteminfo.txt
index 63a6e7928..57407c072 100644
--- a/doc/sample/getiteminfo.txt
+++ b/doc/sample/getiteminfo.txt
@@ -33,5 +33,6 @@ prontera,156,179,6 script test_getiteminfo 4_F_KAFRA1,{
mesf("Weapon Level: %d", getiteminfo(.@value, ITEMINFO_WLV));
mesf("View ID: %d", getiteminfo(.@value, ITEMINFO_VIEWID));
mesf("MATK: %d", getiteminfo(.@value, ITEMINFO_MATK));
+ mesf("View Sprite: %d", getiteminfo(.@value, ITEMINFO_VIEWSPRITE));
close;
}