From e52cb33ab5f9900e9c10818a19b49c80c2196f76 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 12 Nov 2017 02:01:05 +0100 Subject: 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 --- doc/sample/getiteminfo.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/sample/getiteminfo.txt') 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; } -- cgit v1.2.3-70-g09d2