From 49f1c439b9b7a9b949601968d4ca3d70c60684eb Mon Sep 17 00:00:00 2001 From: aleos89 Date: Tue, 22 Dec 2015 10:36:30 -0500 Subject: [PATCH] Updated Flying Side Kick effect * Fog Wall should still apply to players who use Flying Side Kick to get out. * Follow up to 08667a3. --- src/map/skill.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/map/skill.c b/src/map/skill.c index 81a7dcbd08..eeabc1ecae 100755 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -10735,8 +10735,9 @@ static int8 skill_castend_id_check(struct block_list *src, struct block_list *ta if (inf && battle_check_target(src, target, inf) <= 0) return USESKILL_FAIL_LEVEL; - //Fogwall makes all offensive-type targetted skills fail at 75% - if (inf&BCT_ENEMY && tsc && tsc->data[SC_FOGWALL] && rnd() % 100 < 75) + // Fogwall makes all offensive-type targetted skills fail at 75% + // Jump Kick can still fail even though you can jump to friendly targets. + if ((inf&BCT_ENEMY || skill_id == TK_JUMPKICK) && tsc && tsc->data[SC_FOGWALL] && rnd() % 100 < 75) return USESKILL_FAIL_LEVEL; return -1;