diff options
author | shennetsind <ind@henn.et> | 2013-05-15 17:31:33 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-15 17:31:33 -0300 |
commit | b864056b8d088660fca9129bddad477732ed8df9 (patch) | |
tree | 420ec211898b7df9d1cfcb05ef5964055fe2dd78 /src/map/skill.c | |
parent | 120827a91283d60699824e9b1c56dd85c4747125 (diff) | |
download | hercules-b864056b8d088660fca9129bddad477732ed8df9.tar.gz hercules-b864056b8d088660fca9129bddad477732ed8df9.tar.bz2 hercules-b864056b8d088660fca9129bddad477732ed8df9.tar.xz hercules-b864056b8d088660fca9129bddad477732ed8df9.zip |
For #7210
Pending.
http://hercules.ws/board/tracker/issue-7210-itemskill-command-does-not-check-for-required-items/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index d10cdb1a9..a5714ccc5 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -13207,10 +13207,13 @@ int skill_check_condition_castend(struct map_session_data* sd, uint16 skill_id, return 0; break; } - + /* temporarily disabled, awaiting for kenpachi to detail this so we can make it work properly */ +#if 0 if( sd->state.abra_flag ) // Casting finished (Hocus-Pocus) return 1; - +#endif + if( sd->skillitem == skill_id ) + return 1; if( pc_is90overweight(sd) ) { clif->skill_fail(sd,skill_id,USESKILL_FAIL_WEIGHTOVER,0); return 0; @@ -13412,8 +13415,12 @@ struct skill_condition skill_get_requirement(struct map_session_data* sd, uint16 if( !sd ) return req; - + /* temporarily disabled, awaiting for kenpachi to detail this so we can make it work properly */ +#if 0 if( sd->state.abra_flag ) +#else + if( sd->skillitem == skill_id ) +#endif return req; // Hocus-Pocus don't have requirements. sc = &sd->sc; |