- script Poring_Coin -1,{
OnNPCKillEvent:
if ( rand( 100 ) <= 90 ) {
.@item_id = F_Rand( 7539 );
getitem .@item_id,1;
}
end;
}
i have this script. but i want to make it like 0.01% drop rate
but when i cahnge it to this:
- script Poring_Coin -1,{
OnNPCKillEvent:
if ( rand( 100 ) <= 0.01 ) {
.@item_id = F_Rand( 7539 );
getitem .@item_id,1;
}
end;
}
i get this error: