Fixed a typo in Stalk/Tunnel Drive speed calculation

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1288 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
DracoRPG 2005-03-24 21:25:17 +00:00
parent 52f7d15a04
commit 46017c82a1
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Date Added
* Print number of online users in online.txt/.html even if there's only 1 user
online [celest]
* Updated obj_del to delete all GNUMakeFile and .o files + compiled exes [DracoRPG]
* Fixed a typo in Stalk / Tunnel Drive speed calculation [DracoRPG]
03/23
* Adjusted my trade fix [1280: MouseJstr]

View File

@ -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);