Skip to content

Commit

Permalink
Fixes Phantom Thrust in PvE.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeybla authored and secretdataz committed Oct 28, 2016
1 parent e9c5dc6 commit c14e674
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/map/skill.c
Expand Up @@ -10971,12 +10971,10 @@ static int8 skill_castend_id_check(struct block_list *src, struct block_list *ta
case WZ_ESTIMATION:
case SL_SKE:
case SL_SKA:
case RK_PHANTOMTHRUST:
if (target->type == BL_MOB && ((TBL_MOB*)target)->mob_id == MOBID_EMPERIUM)
return USESKILL_FAIL_MAX;
break;
case RK_PHANTOMTHRUST:
if (!map_flag_vs(src->m))
return USESKILL_FAIL_MAX;
}

if (inf && battle_check_target(src, target, inf) <= 0) {
Expand Down

0 comments on commit c14e674

Please sign in to comment.