Corrected Spiritual Sphere Absorption and Cursed Circle interaction (fixes #1514)

* Spiritual Sphere Absorption will fail to go through if the caster is captured in Cursed Circle.
This commit is contained in:
aleos89 2016-11-07 16:45:59 -05:00
parent e21b39230a
commit 9a009bf316

View File

@ -2034,6 +2034,9 @@ bool status_check_skilluse(struct block_list *src, struct block_list *target, ui
return false;
}
if (flag == 1 && sc->data[SC_CURSEDCIRCLE_TARGET] && skill_id == MO_ABSORBSPIRITS) // Absorb Spirits fails to go through
return false;
if (skill_id != RK_REFRESH && sc->opt1 && !(sc->opt1 == OPT1_CRYSTALIZE && src->type == BL_MOB) && sc->opt1 != OPT1_BURNING && skill_id != SR_GENTLETOUCH_CURE) { // Stuned/Frozen/etc
if (flag != 1) // Can't cast, casted stuff can't damage.
return false;