From f17d1fca535916634a55cc63437ce37f21abe35c Mon Sep 17 00:00:00 2001 From: Ridley8819 Date: Mon, 27 Oct 2014 15:29:21 +0100 Subject: Fix Gentle Touch Change map-server crash Report:8415 http://hercules.ws/board/tracker/issue-8415-gentle-touch-change-crash/ --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/status.c b/src/map/status.c index ac7d7d237..824ad1f58 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -8798,7 +8798,7 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t struct block_list * src2; val3 = st->agi * val1 / 60; // ASPD increase: [(Target AGI x Skill Level) / 60] % if( (src2 = map->id2bl(val2)) ){ - val4 = ( 200/status_get_int(src2)?status_get_int(src2):1 ) * val1;// MDEF decrease: MDEF [(200 / Caster INT) x Skill Level] + val4 = ( 200/(status_get_int(src2)?status_get_int(src2):1) ) * val1;// MDEF decrease: MDEF [(200 / Caster INT) x Skill Level] val2 = ( status_get_dex(src2)/4 + status_get_str(src2)/2 ) * val1 / 5; // ATK increase: ATK [{(Caster DEX / 4) + (Caster STR / 2)} x Skill Level / 5] } } -- cgit v1.2.3-70-g09d2