summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-25 16:03:46 +0000
committerDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-25 16:03:46 +0000
commit4b81980f6e503ff3f62832c8bd9eb60035e14559 (patch)
tree72ef04ae6e0b13598bff255e606e36823a2a2e56
parentee7dda128a9c3004db9eb43b5e3376f74033ab87 (diff)
downloadhercules-4b81980f6e503ff3f62832c8bd9eb60035e14559.tar.gz
hercules-4b81980f6e503ff3f62832c8bd9eb60035e14559.tar.bz2
hercules-4b81980f6e503ff3f62832c8bd9eb60035e14559.tar.xz
hercules-4b81980f6e503ff3f62832c8bd9eb60035e14559.zip
Fixed a typo I made in my typo fix for Stalk / Tunnel Drive speed calculation xD... sorry ^^
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1295 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-SVN.txt1
-rw-r--r--src/map/status.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt
index 77008de5f..c74d02b95 100644
--- a/Changelog-SVN.txt
+++ b/Changelog-SVN.txt
@@ -8,6 +8,7 @@ Date Added
set to 'no' [celest]
* Fixed @monsterbig/@monstersmall not working [celest]
* Fixed @killmonster2 not working [celest]
+ * Fixed a typo in my fix for Stalk / Tunnel Drive increasing instead of decreasing speed, sorry [DracoRPG]
03/24
* Added some mapflags for new towns [Lupus]
diff --git a/src/map/status.c b/src/map/status.c
index 814121be0..e1f78e6e9 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);