diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 770b857a1..47efd18c0 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2952,7 +2952,7 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl) itemid = md->db->dropitem[i].nameid;
if(itemid <= 0 || (itemid>4000 && itemid<5000 && pc_checkskill(sd,TF_STEAL) <= 5))
continue;
- if(rand() % 10000 <= md->db->dropitem[i].p*skill/100)
+ if(rand() % 10000 < md->db->dropitem[i].p*skill/100)
break;
}
if (i == MAX_MOB_DROP)
|