diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-26 21:12:08 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-26 21:12:08 +0000 |
commit | 3299e0cf10d83dfa8827a6f538ef1bcf1382ae45 (patch) | |
tree | 366bef5a78533782ba52dce6a001c6c6236d95f3 /src/map | |
parent | 0693a231629beed6faa2ee4c3ce8b23bdf001262 (diff) | |
download | hercules-3299e0cf10d83dfa8827a6f538ef1bcf1382ae45.tar.gz hercules-3299e0cf10d83dfa8827a6f538ef1bcf1382ae45.tar.bz2 hercules-3299e0cf10d83dfa8827a6f538ef1bcf1382ae45.tar.xz hercules-3299e0cf10d83dfa8827a6f538ef1bcf1382ae45.zip |
Added missing parenthesis preventing SinX etc to get +4/lv from Improve Dodge
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1301 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index 30887e201..bc059e442 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1034,7 +1034,7 @@ int status_calc_pc(struct map_session_data* sd,int first) //Flee㸠if( (skill=pc_checkskill(sd,TF_MISS))>0 ){ // ‰ñ”ð—¦?‰Á - sd->flee += skill*(sd->status.class_==12 || sd->status.class_==17 || sd->status.class_==4013 || sd->status.class_==4018 ? 4 : 3); + sd->flee += skill*((sd->status.class_==12 || sd->status.class_==17 || sd->status.class_==4013 || sd->status.class_==4018) ? 4 : 3); if((sd->status.class_==12 || sd->status.class_==4013) && (sd->sc_count && sd->sc_data[SC_CLOAKING].timer==-1)) sd->speed -= (short)(skill*1.5/100 * DEFAULT_WALK_SPEED); } @@ -1539,7 +1539,7 @@ int status_calc_speed (struct map_session_data *sd) } if(sd->status.option&2 && (skill = pc_checkskill(sd,RG_TUNNELDRIVE))>0 ) - sd->speed += (1.2*DEFAULT_WALK_SPEED - skill*9); + sd->speed += (100-16*skill)*DEFAULT_WALK_SPEED/100; if (pc_iscarton(sd) && (skill=pc_checkskill(sd,MC_PUSHCART))>0) sd->speed += (10-skill) * (DEFAULT_WALK_SPEED * 0.1); else if (pc_isriding(sd)) { |