summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 3341318d0..0cd4a03a6 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4545,7 +4545,7 @@ int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int ti
if( sd->reseff[type-SC_COMMON_MIN] > 0 )
rate -= rate*sd->reseff[type-SC_COMMON_MIN]/10000;
if( sd->sc.data[SC_COMMONSC_RESIST] )
- rate -= rate*sd->sc.data[SC_COMMONSC_RESIST]->val1;
+ rate -= rate*sd->sc.data[SC_COMMONSC_RESIST]->val1/100;
}
}
if (!(rand()%10000 < rate))