summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshenhuyong <shenhuyong@hotmail.com>2013-09-29 16:00:40 +0800
committershenhuyong <shenhuyong@hotmail.com>2013-09-29 16:00:40 +0800
commit715016aa21dae454fbe430e9c806fd8cef769a27 (patch)
tree75cb544bc3c4aba9ccf7fa9befa1716b2196c925 /src/map/status.c
parent608c1314e4db3cbb6653fe8e1a2cfc9413302747 (diff)
downloadhercules-715016aa21dae454fbe430e9c806fd8cef769a27.tar.gz
hercules-715016aa21dae454fbe430e9c806fd8cef769a27.tar.bz2
hercules-715016aa21dae454fbe430e9c806fd8cef769a27.tar.xz
hercules-715016aa21dae454fbe430e9c806fd8cef769a27.zip
* Fixed Bug #7708
http://hercules.ws/board/tracker/issue-7708-mandragora-howl-chance-way-too-high/ Mandragora Howl chance --- way too high. Base on a patch of the fix made by Rytech in 3ceam.
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/status.c b/src/map/status.c
index dbce2f7f4..bb2efb505 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4277,7 +4277,7 @@ static unsigned short status_calc_int(struct block_list *bl, struct status_chang
if(sc->data[SC_MARIONETTE])
int_ += ((sc->data[SC_MARIONETTE]->val4)>>16)&0xFF;
if(sc->data[SC_MANDRAGORA])
- int_ -= 5 + 5 * sc->data[SC_MANDRAGORA]->val1;
+ int_ -= 4 * sc->data[SC_MANDRAGORA]->val1;
if(sc->data[SC_COCKTAIL_WARG_BLOOD])
int_ += sc->data[SC_COCKTAIL_WARG_BLOOD]->val1;
if(sc->data[SC_INSPIRATION])
@@ -6328,9 +6328,6 @@ int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int ti
tick -= 1000 * ((status->get_lv(bl) / 10) + ((sd?sd->status.job_level:0) / 5));
tick = max(tick,10000);
break;
- case SC_MANDRAGORA:
- sc_def = (st->vit+st->luk)/5;
- break;
case SC_KYOUGAKU:
tick -= 1000 * status_get_int(bl) / 20;
break;