Updated Flying Side Kick effect

* Fog Wall should still apply to players who use Flying Side Kick to get out.
* Follow up to 08667a3.
This commit is contained in:
aleos89 2015-12-22 10:36:30 -05:00
parent 71ffda39fb
commit 49f1c439b9

View File

@ -10736,7 +10736,8 @@ static int8 skill_castend_id_check(struct block_list *src, struct block_list *ta
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)
// 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;