diff options
-rw-r--r-- | Changelog-SVN.txt | 3 | ||||
-rw-r--r-- | src/map/status.c | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt index c74d02b95..2079e27ce 100644 --- a/Changelog-SVN.txt +++ b/Changelog-SVN.txt @@ -9,6 +9,9 @@ Date Added * 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] + * Rewrote a little bit Improve Dodge [DracoRPG] + - The speed bonus does not effect when Cloaked + - Assassins & Rogues get +4 Flee/lv, but all other jobs can get +3/lv if they have the skill (not only Thiefs & Super Novices) 03/24 * Added some mapflags for new towns [Lupus] diff --git a/src/map/status.c b/src/map/status.c index e1f78e6e9..30887e201 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1034,11 +1034,8 @@ int status_calc_pc(struct map_session_data* sd,int first) //Flee上昇 if( (skill=pc_checkskill(sd,TF_MISS))>0 ){ // 回避率?加 - if(sd->status.class_==6||sd->status.class_==4007 || sd->status.class_==23) - sd->flee += skill*3; - else if(sd->status.class_==12||sd->status.class_==17||sd->status.class_==4013||sd->status.class_==4018) - sd->flee += skill*4; - if(sd->status.class_==12||sd->status.class_==4013) + 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); } if( (skill=pc_checkskill(sd,MO_DODGE))>0 ) // 見切り |