summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-11 15:47:41 +0000
committershadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-11 15:47:41 +0000
commite82efd3e5d1defe88fa478ebd20644788e541f6b (patch)
treecb0b90cc449e0d9f3f72b8d2b1169f5caae25575
parent90b8989dea1f9842d3c5c7ef0858b45975a30cdd (diff)
downloadhercules-e82efd3e5d1defe88fa478ebd20644788e541f6b.tar.gz
hercules-e82efd3e5d1defe88fa478ebd20644788e541f6b.tar.bz2
hercules-e82efd3e5d1defe88fa478ebd20644788e541f6b.tar.xz
hercules-e82efd3e5d1defe88fa478ebd20644788e541f6b.zip
Fixed a bug on Sharp Shooting critical rate bonus.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@131 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 9ccdffa06..32ba10fab 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2911,7 +2911,7 @@ static struct Damage battle_calc_pc_weapon_attack(
cri <<= 1;
}
- if(skill_num == SN_SHARPSHOOTING && rand()%100 < 50)
+ if(skill_num == SN_SHARPSHOOTING)
cri += 200;
}