/datum/martial_art/wrestling name = "Wrestling" help_verb = /mob/living/carbon/human/proc/wrestling_help // combo refence since wrestling uses a different format to sleeping carp and plasma fist. // Clinch "G" // Suplex "GD" // Advanced grab "G" /datum/martial_art/wrestling/harm_act(var/mob/living/carbon/human/A, var/mob/living/carbon/human/D) D.grabbedby(A,1) var/obj/item/grab/G = A.get_active_hand() if(G && prob(50)) G.state = GRAB_AGGRESSIVE D.visible_message("[A] has [D] in a clinch!", \ "[A] has [D] in a clinch!") else D.visible_message("[A] fails to get [D] in a clinch!", \ "[A] fails to get [D] in a clinch!") return 1 /datum/martial_art/wrestling/proc/Suplex(var/mob/living/carbon/human/A, var/mob/living/carbon/human/D) D.visible_message("[A] suplexes [D]!", \ "[A] suplexes [D]!") D.forceMove(A.loc) var/armor_block = D.run_armor_check(null, "melee") D.apply_damage(30, BRUTE, null, armor_block) D.apply_effect(6, WEAKEN, armor_block) add_attack_logs(A, D, "Melee attacked with [src] (SUPLEX)") A.SpinAnimation(10,1) D.SpinAnimation(10,1) spawn(3) armor_block = A.run_armor_check(null, "melee") A.apply_effect(4, WEAKEN, armor_block) return /datum/martial_art/wrestling/disarm_act(var/mob/living/carbon/human/A, var/mob/living/carbon/human/D) if(istype(A.get_inactive_hand(),/obj/item/grab)) var/obj/item/grab/G = A.get_inactive_hand() if(G.affecting == D) Suplex(A,D) return 1 harm_act(A,D) return 1 /datum/martial_art/wrestling/grab_act(var/mob/living/carbon/human/A, var/mob/living/carbon/human/D) D.grabbedby(A,1) D.visible_message("[A] holds [D] down!", \ "[A] holds [D] down!") var/obj/item/organ/external/affecting = D.get_organ(ran_zone(A.zone_sel.selecting)) var/armor_block = D.run_armor_check(affecting, "melee") D.apply_damage(10, STAMINA, affecting, armor_block) return 1 /mob/living/carbon/human/proc/wrestling_help() set name = "Recall Teachings" set desc = "Remember how to wrestle." set category = "Wrestling" to_chat(usr, "You flex your muscles and have a revelation...") to_chat(usr, "Clinch: Grab. Passively gives you a chance to immediately aggressively grab someone. Not always successful.") to_chat(usr, "Suplex: Disarm someone you are grabbing. Suplexes your target to the floor. Greatly injures them and leaves both you and your target on the floor.") to_chat(usr, "Advanced grab: Grab. Passively causes stamina damage when grabbing someone.")