diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 587197ecb..46d47432b 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8869,10 +8869,11 @@ int skill_castfix_sc (struct block_list *bl, int time) if (sc && sc->count) { if (sc->data[SC_SLOWCAST].timer != -1) - time+= time * sc->data[SC_SLOWCAST].val2 / 100; - + time += time * sc->data[SC_SLOWCAST].val2 / 100; + if (sc->data[SC_FASTCAST].timer != -1) + time -= time * sc->data[SC_FASTCAST].val1 / 100; if (sc->data[SC_SUFFRAGIUM].timer != -1) { - time -= time * (sc->data[SC_SUFFRAGIUM].val1 * 15) / 100; + time -= time * sc->data[SC_SUFFRAGIUM].val2 / 100; status_change_end(bl, SC_SUFFRAGIUM, -1); } if (sc->data[SC_MEMORIZE].timer != -1) { |