summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index c705d1425..a1a8d84bc 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -13208,7 +13208,7 @@ int skill_check_condition_castend(struct map_session_data* sd, uint16 skill_id,
break;
}
- if( sd->skillitem == skill_id ) // Casting finished (Item skill or Hocus-Pocus)
+ if( sd->state.abra_flag ) // Casting finished (Hocus-Pocus)
return 1;
if( pc_is90overweight(sd) ) {
@@ -13413,8 +13413,8 @@ struct skill_condition skill_get_requirement(struct map_session_data* sd, uint16
if( !sd )
return req;
- if( sd->skillitem == skill_id )
- return req; // Item skills and Hocus-Pocus don't have requirements.[Inkfish]
+ if( sd->state.abra_flag )
+ return req; // Hocus-Pocus don't have requirements.
sc = &sd->sc;
if( !sc->count )