Fixed #397 as follow up 823bc539. Thank @LyndisRain

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
This commit is contained in:
Cydh Ramdh 2015-04-16 11:56:04 +07:00
parent f19e2dc6c7
commit 9b1c138af0

View File

@ -18674,12 +18674,12 @@ BUILDIN_FUNC(showdigit)
}
/**
* Rune Knight
* makerune({<char_id>});
* makerune <% success bonus>{,<char_id>};
**/
BUILDIN_FUNC(makerune) {
TBL_PC* sd;
if (!script_charid2sd(2,sd))
if (!script_charid2sd(3,sd))
return SCRIPT_CMD_FAILURE;
clif_skill_produce_mix_list(sd,RK_RUNEMASTERY,24);
sd->itemid = script_getnum(st,2);