Update script command (bugreport 7836).

This commit is contained in:
Capuche 2014-05-30 20:52:29 +02:00
parent be1fd7b1fa
commit dcd6b02c09

View File

@ -2803,14 +2803,24 @@ and return the info set by TYPE argument.
It will return -1 if there is no such item.
Valid types are:
0 - Buy Price; 1 - Sell Price; 2 - Item Type;
3 - maxchance (max drop chance of this item, e.g. 1 = 0.01%)
if = 0, then monsters don't drop it at all (rare or a quest item)
if = 10000, then this item is sold in NPC shops only
4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range;
10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id (from 'db/item_avail.txt')
If RENEWAL is defined, 15 - matk
0 - Buy Price
1 - Sell Price
2 - Type
3 - maxchance (max drop chance of this item, e.g. 1 = 0.01%)
if = 0, then monsters don't drop it at all (rare or a quest item)
if = 10000, then this item is sold in NPC shops only
4 - Gender
5 - Loc
6 - Weight
7 - ATK
8 - DEF
9 - Range
10 - Slot
11 - View
12 - eLV
13 - wLV
14 - SpriteID from 'db/item_avail.txt'
15 - matk if RENEWAL is defined
See the sample in 'doc/sample/getiteminfo.txt'.