From 77a4fdc9fead3a1984290e2b9b79148704d2c3f0 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 17 May 2012 08:56:17 +0000 Subject: Fixed bugreport:5491 Adrenaline Rush boost was updated to renewal standards. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16119 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 3569346d1..52d0d41aa 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1706,13 +1706,11 @@ int status_base_amotion_pc(struct map_session_data* sd, struct status_data* stat amotion+= sd->aspd_add; #ifdef RENEWAL - if( sd->status.shield ) - {// bearing a shield decreases your ASPD by a fixed value depending on your class + if( sd->status.shield ) {// bearing a shield decreases your ASPD by a fixed value depending on your class amotion += re_job_db[pc_class2idx(sd->status.class_)][SHIELD_ASPD]; } - if( sd->sc.count ) - {// renewal absolute ASPD modifiers + if( sd->sc.count ) {// renewal absolute ASPD modifiers int i; if ( sd->sc.data[i=SC_ASPDPOTION3] || sd->sc.data[i=SC_ASPDPOTION2] || @@ -1723,6 +1721,8 @@ int status_base_amotion_pc(struct map_session_data* sd, struct status_data* stat amotion -= 150; else if( sd->sc.data[SC_SPEARQUICKEN] || sd->sc.data[SC_TWOHANDQUICKEN] ) amotion -= 70; + if( sd->sc.data[SC_ADRENALINE] )/* +7 for self, +6 for others */ + amotion -= sd->sc.data[SC_ADRENALINE]->val2 ? 70 : 60; } #endif @@ -4896,8 +4896,7 @@ static short status_calc_aspd_rate(struct block_list *bl, struct status_change * if(!sc || !sc->count) return cap_value(aspd_rate,0,SHRT_MAX); - if(!sc->data[SC_QUAGMIRE]) - { + if( !sc->data[SC_QUAGMIRE] ){ int max = 0; if(sc->data[SC_STAR_COMFORT]) max = sc->data[SC_STAR_COMFORT]->val2; @@ -4917,12 +4916,11 @@ static short status_calc_aspd_rate(struct block_list *bl, struct status_change * if(sc->data[SC_ADRENALINE2] && max < sc->data[SC_ADRENALINE2]->val3) max = sc->data[SC_ADRENALINE2]->val3; - +#ifndef RENEWAL if(sc->data[SC_ADRENALINE] && max < sc->data[SC_ADRENALINE]->val3) max = sc->data[SC_ADRENALINE]->val3; -#ifndef RENEWAL if(sc->data[SC_SPEARQUICKEN] && max < sc->data[SC_SPEARQUICKEN]->val2) max = sc->data[SC_SPEARQUICKEN]->val2; -- cgit v1.2.3-70-g09d2