diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index bb0f5fb0f..df3d30765 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -16340,8 +16340,8 @@ int skill_select_menu(struct map_session_data *sd,int flag,int skill_id) { status_change_end(&sd->bl,SC_STOP,INVALID_TIMER); } - if( (id = sd->status.skill[skill_id].id) == 0 || sd->status.skill[skill_id].flag != SKILL_FLAG_PLAGIARIZED || - skill_id >= GS_GLITTERING || skill_get_type(skill_id) != BF_MAGIC ) { + if( skill_id >= GS_GLITTERING || skill_get_type(skill_id) != BF_MAGIC || + (id = sd->status.skill[skill_id].id) == 0 || sd->status.skill[skill_id].flag != SKILL_FLAG_PLAGIARIZED ) { clif_skill_fail(sd,SC_AUTOSHADOWSPELL,0,0); return 0; } |