commit
47e7771563
@ -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.
|
||||
|
@ -131,7 +131,8 @@ function Job_Menu {
|
||||
mes "You are now "+callfunc("F_InsertArticle",jobname(.@i))+"!";
|
||||
if (.@i==4001 && .LastJob) set lastJob, Class;
|
||||
jobchange .@i;
|
||||
if (.@i==4001 || .@i==4023) resetlvl(1);
|
||||
if (.@i==4001) resetlvl(1);
|
||||
else if (.@i==Job_Baby) resetstatus;
|
||||
specialeffect2 EF_ANGEL2; specialeffect2 EF_ELECTRIC;
|
||||
if (.Platinum) callsub Get_Platinum;
|
||||
close;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -15722,7 +15722,7 @@ BUILDIN_FUNC(getmonsterinfo)
|
||||
script_pushconststr(st,"null");
|
||||
else
|
||||
script_pushint(st,-1);
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
mob = mob_db(mob_id);
|
||||
switch ( script_getnum(st,3) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user