Skip to content

Commit

Permalink
Fixed Bug#7933
Browse files Browse the repository at this point in the history
-http://hercules.ws/board/tracker/issue-7933-sonic-blow/?gopid=21551#entry21551

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
  • Loading branch information
malufett committed Feb 10, 2014
1 parent c178a5b commit ac45ebc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/config/renewal.h
Expand Up @@ -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]
Expand Down
2 changes: 2 additions & 0 deletions src/map/battle.c
Expand Up @@ -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])
Expand Down

0 comments on commit ac45ebc

Please sign in to comment.