Hercules Elf Bot - Dec 5, 2008 3:05
Originally posted by [b]linlinzero[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2516
successremovecards expire_time = 0 not delete rentitem
//find
BUILDIN_FUNC(successremovecards)
{
int i=-1,j,c,cardflag=0;
TBL_PC* sd = script_rid2sd(st);
int num = script_getnum(st,2);
if (num > 0 && num <= ARRAYLENGTH(equip))
i=pc_checkequip(sd,equip[num-1]);
if (i < 0) {
return 0;
}
//add
if( sd->status.inventory[i].expire_time != 0 ){
return 0;
}
This post has been edited by linlinzero: Dec 5 2008, 02:29 PM