diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-02-27 03:07:16 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-02-27 03:07:16 +0800 |
commit | b9c79ceb5bfc86809da1d3b6154da4222cb72734 (patch) | |
tree | 5de73ff59ff725c57a3bc79a23fcc0905e1bb8c8 /src/map/skill.c | |
parent | ad792f41994ce54dc9e45fbdaaf591f38fccecee (diff) | |
download | hercules-b9c79ceb5bfc86809da1d3b6154da4222cb72734.tar.gz hercules-b9c79ceb5bfc86809da1d3b6154da4222cb72734.tar.bz2 hercules-b9c79ceb5bfc86809da1d3b6154da4222cb72734.tar.xz hercules-b9c79ceb5bfc86809da1d3b6154da4222cb72734.zip |
Fixed Bug #7014 and Bug #7077
-where Chorus/Ensemble skill checks are not working properly.
-NJ_SUITON should now work properly with Kagerou/Oboro.
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 6486d0772..8fdc09cb7 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9227,6 +9227,11 @@ int skill_castend_id(int tid, unsigned int tick, int id, intptr_t data) inf &= ~BCT_NEUTRAL; } + if( sd && (inf2&INF2_CHORUS_SKILL) && skill_check_pc_partner(sd, ud->skill_id, &ud->skill_lv, 1, 0) < 1 ) { + clif_skill_fail(sd, ud->skill_id, USESKILL_FAIL_NEED_HELPER, 0); + break; + } + if( ud->skill_id >= SL_SKE && ud->skill_id <= SL_SKA && target->type == BL_MOB ) { if( ((TBL_MOB*)target)->class_ == MOBID_EMPERIUM ) |