summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2014-12-28 00:20:17 +0100
committerHaruna <haru@dotalux.com>2014-12-28 00:20:17 +0100
commitd0d09ad3afb792f1363ac9f24086c99d6e67b94a (patch)
tree70d0b3a70d0b858f140170127df112152148e819 /src/map/battle.c
parent990c25267aeefe4d792bf941a366a6603afcb42b (diff)
parent24e82f2cac83b6e8d777efe32e5c0b7993d22a02 (diff)
downloadhercules-d0d09ad3afb792f1363ac9f24086c99d6e67b94a.tar.gz
hercules-d0d09ad3afb792f1363ac9f24086c99d6e67b94a.tar.bz2
hercules-d0d09ad3afb792f1363ac9f24086c99d6e67b94a.tar.xz
hercules-d0d09ad3afb792f1363ac9f24086c99d6e67b94a.zip
Merge pull request #427 from csnv/skillswork
PR_KYRIE Visual fix, EDP corrections. Preliminary fix Maya Purple Hack update position.
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index f32919c85..77edb31f1 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -440,12 +440,12 @@ int64 battle_calc_weapon_damage(struct block_list *src, struct block_list *bl, u
if( sc && sc->count ){
if( sc->data[SC_ZENKAI] && watk->ele == sc->data[SC_ZENKAI]->val2 )
eatk += 200;
- #ifdef RENEWAL_EDP
+#ifdef RENEWAL_EDP
if( sc->data[SC_EDP] && skill_id != AS_GRIMTOOTH && skill_id != AS_VENOMKNIFE && skill_id != ASC_BREAKER ){
eatk = eatk * (sc->data[SC_EDP]->val4 / 100 - 1);
damage = damage * (sc->data[SC_EDP]->val4 / 100);
}
- #endif
+#endif
}
if( skill_id != ASC_METEORASSAULT ){
@@ -4878,10 +4878,8 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
#ifndef RENEWAL_EDP
if( sc->data[SC_EDP] ){
switch(skill_id){
- case AS_SPLASHER:
- case AS_GRIMTOOTH:
+ case AS_SPLASHER: // Needs more info
case ASC_BREAKER:
- case AS_VENOMKNIFE:
case ASC_METEORASSAULT: break;
default:
ATK_ADDRATE(sc->data[SC_EDP]->val3);