|
@@ -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'.
|
|
|
|
|
@@ -5637,6 +5647,8 @@ command, simply use 1 for type. Any other number won't be recognized.
|
|
|
|
|
|
This function will return information about a monster record in the database, as
|
|
|
per 'db/(pre-)re/mob_db.txt'. Type is the kind of information returned. Valid types are:
|
|
|
+It will return 0 if there is no such monster (or the type value is invalid),
|
|
|
+or an empty string if you requested the monster's name.
|
|
|
|
|
|
1 - 'english name' field in the database, a string.
|
|
|
2 - 'japanese name' field in the database, a string.
|