- Updated docs about strmobinfo.

- Fixed an exploit in jobmaster.txt
This commit is contained in:
Capuche 2014-05-30 20:46:23 +02:00
parent 5e44c68a49
commit 45a7abcf4e
2 changed files with 4 additions and 1 deletions

View File

@ -5637,6 +5637,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.

View File

@ -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;