From c7e61f1ad2d02b5ee9605d6f7c83a7456ecaff09 Mon Sep 17 00:00:00 2001 From: rud0lp20 Date: Fri, 1 Jun 2012 14:52:13 +0000 Subject: Fixed bugreport:5889 GC_ROLLINGCUTTER range and behavior are now updated. Fixed part of bugreport:5880 -Fixed damage formula of NC_SELFDESTRUCTION. -Fixed damage formula of GC_CROSSRIPPERSLASHER. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16206 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/config/const.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/config/const.h') diff --git a/src/map/config/const.h b/src/map/config/const.h index 7acc5e522..b67ed050f 100644 --- a/src/map/config/const.h +++ b/src/map/config/const.h @@ -87,9 +87,9 @@ #define RE_LVL_DMOD() \ if( status_get_lv(src) > 100 ) \ skillratio = skillratio * status_get_lv(src) / 100; - #define RE_LVL_MDMOD() \ - if( status_get_lv(src) > 100 ) \ - md.damage = md.damage * status_get_lv(src) / 150; + #define RE_LVL_MDMOD(val) \ + if( status_get_lv(src) > 100 && val > 0) \ + md.damage = md.damage * status_get_lv(src) / val; /* ranger traps special */ #define RE_LVL_TMDMOD() \ if( status_get_lv(src) > 100 ) \ -- cgit v1.2.3-70-g09d2