/obj/effect/proc_holder/spell/targeted/rathens name = "Rathen's Secret" desc = "Summons a powerful shockwave around you that tears the appendix and limbs off of enemies." charge_max = 500 clothes_req = 1 invocation = "ARSE NATH!" invocation_type = "shout" max_targets = 0 range = 7 cooldown_min = 200 selection_type = "view" action_icon_state = "superfart" /obj/effect/proc_holder/spell/targeted/rathens/cast(list/targets, mob/user = usr) playsound(get_turf(user), 'sound/goonstation/effects/superfart.ogg', 25, 1) for(var/mob/living/carbon/human/H in targets) var/datum/effect_system/smoke_spread/s = new s.set_up(5, 0, H) s.start() var/obj/item/organ/internal/appendix/A = H.get_int_organ(/obj/item/organ/internal/appendix) if(A) A.remove(H) A.forceMove(get_turf(H)) spawn() A.throw_at(get_edge_target_turf(H, pick(alldirs)), rand(1, 10), 5) H.visible_message("[H]'s [A.name] flies out of their body in a magical explosion!",\ "Your [A.name] flies out of your body in a magical explosion!") H.Weaken(2) else var/obj/effect/decal/cleanable/blood/gibs/G = new/obj/effect/decal/cleanable/blood/gibs(get_turf(H)) spawn() G.throw_at(get_edge_target_turf(H, pick(alldirs)), rand(1, 10), 5) H.apply_damage(10, BRUTE, "chest") to_chat(H, "You have no appendix, but something had to give! Holy shit, what was that?") H.Weaken(3) for(var/obj/item/organ/external/E in H.bodyparts) if(istype(E, /obj/item/organ/external/head)) continue if(istype(E, /obj/item/organ/external/chest)) continue if(istype(E, /obj/item/organ/external/groin)) continue if(prob(7)) to_chat(H, "Your [E] was severed by the explosion!") E.droplimb(1, DROPLIMB_SHARP, 0, 1)