I was trying to make a npc and had a problem when making a division ... count returns 0
prt_in,63,58,3 script test 826,{
set .price_R, 100000;
set .desc, 50;
mes "repair all?";
next;
if(select("- yes:- close")==1){
mes "ok";
set .price_R2, .price_R*(.desc/100);
set Zeny, Zeny - .price_R2;
atcommand "@repairall";
close;
}
else {close;}
}
.desc/100 >> Returns 0... how to solve this?
thks