From ac45ebca3e9537eca665ba042412ddc1e65e9f73 Mon Sep 17 00:00:00 2001 From: malufett Date: Mon, 10 Feb 2014 18:21:39 +0800 Subject: Fixed Bug#7933 -http://hercules.ws/board/tracker/issue-7933-sonic-blow/?gopid=21551#entry21551 Signed-off-by: malufett --- src/config/renewal.h | 1 + src/map/battle.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/config/renewal.h b/src/config/renewal.h index 3b11aff74..36615d63b 100644 --- a/src/config/renewal.h +++ b/src/config/renewal.h @@ -60,6 +60,7 @@ /// - damage is NOT increased by 400% /// - it does NOT affect grimtooth /// - weapon and status ATK are increased +/// - some skill's damage ratio has modified #define RENEWAL_EDP /// renewal ASPD [malufett] diff --git a/src/map/battle.c b/src/map/battle.c index e56e3d12d..687db1b95 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2498,12 +2498,14 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block } //Skill damage modifiers that stack linearly if(sc && skill_id != PA_SACRIFICE){ +#ifdef RENEWAL_EDP if( sc->data[SC_EDP] ){ if( skill_id == AS_SONICBLOW || skill_id == GC_COUNTERSLASH || skill_id == GC_CROSSIMPACT ) skillratio >>= 1; } +#endif if(sc->data[SC_OVERTHRUST]) skillratio += sc->data[SC_OVERTHRUST]->val3; if(sc->data[SC_OVERTHRUSTMAX]) -- cgit v1.2.3-60-g2f50