summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-24 21:25:17 +0000
committerDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-24 21:25:17 +0000
commitd3f86dcfdc81aa5446873b1d4df7147120b0bdb1 (patch)
tree3d859db6d0c49bd45d541a6e27c988e51258ee48 /src
parent3d61916919b495cda50f8c423bf80af7c3fb69be (diff)
downloadhercules-d3f86dcfdc81aa5446873b1d4df7147120b0bdb1.tar.gz
hercules-d3f86dcfdc81aa5446873b1d4df7147120b0bdb1.tar.bz2
hercules-d3f86dcfdc81aa5446873b1d4df7147120b0bdb1.tar.xz
hercules-d3f86dcfdc81aa5446873b1d4df7147120b0bdb1.zip
Fixed a typo in Stalk/Tunnel Drive speed calculation
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1288 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 742dd7d52..e7fcf22b3 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -921,7 +921,7 @@ int status_calc_pc(struct map_session_data* sd,int first)
if( (skill=pc_checkskill(sd,BS_WEAPONRESEARCH))>0) // 武器?究の命中率?加
sd->hit += skill*2;
if(sd->status.option&2 && (skill = pc_checkskill(sd,RG_TUNNELDRIVE))>0 ) // トンネルドライブ // トンネルドライブ
- sd->speed += (100-16)*skill*DEFAULT_WALK_SPEED/100;
+ sd->speed = (100-16*skill)*DEFAULT_WALK_SPEED/100;
//sd->speed += (1.2*DEFAULT_WALK_SPEED - skill*9);
if (pc_iscarton(sd) && (skill=pc_checkskill(sd,MC_PUSHCART))>0) // カ?トによる速度低下
sd->speed += (10-skill) * (DEFAULT_WALK_SPEED * 0.1);