diff options
-rw-r--r-- | src/map/battle.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 6573ca703..d7ffb4ca1 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3001,8 +3001,14 @@ int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Dam #endif if(sc->data[SC_DEFENDER] && +#ifdef RENEWAL ((flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON) || skill_id == CR_ACIDDEMONSTRATION)) damage = damage * ( 100 - sc->data[SC_DEFENDER]->val2 ) / 100; +#else + (flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON)) // In pre-re Defender doesn't reduce damage from Acid Demonstration + damage = damage * ( 100 - sc->data[SC_DEFENDER]->val2 ) / 100; +#endif + #ifndef RENEWAL if(sc->data[SC_GS_ADJUSTMENT] && (flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON)) |