summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-02 19:53:38 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-02 19:53:38 +0000
commitc3a511f4b1f1419307439685c64bc5aee3cfa76f (patch)
tree491bf1b824f85d9dec9f01d901cf32290567ffe3 /src/map/pc.c
parent8533f328ee73b484e72a18d3bcbc284ca11b3987 (diff)
downloadhercules-c3a511f4b1f1419307439685c64bc5aee3cfa76f.tar.gz
hercules-c3a511f4b1f1419307439685c64bc5aee3cfa76f.tar.bz2
hercules-c3a511f4b1f1419307439685c64bc5aee3cfa76f.tar.xz
hercules-c3a511f4b1f1419307439685c64bc5aee3cfa76f.zip
- Absorb Spirit Sphere now gives +10SP per sphere as per discussions with Haplo.
- Changed a <= into a < in pc_steal_item. This means drops with 0.01% are impossible to steal unless you have at least 100% steal-rate (where steal rate is dex - opponent dex + skill_lv*3% + 10%) - Cleaned up clif_parse_action_request to enable sitting/standing while in shops, interacting with npcs, etc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6451 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
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)