From 9a009bf316a9b0caf1b0f3f5802981d5166d9f97 Mon Sep 17 00:00:00 2001 From: aleos89 Date: Mon, 7 Nov 2016 16:45:59 -0500 Subject: [PATCH] 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. --- src/map/status.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/map/status.c b/src/map/status.c index 1e6b20a158..541f73bce6 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -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;