Files
matttheficusandGitHub 9d1e1ba40e Judo Storage Slots + Changes to Combos (#25659)
* this might be a lot i dunno

* forgor status for armbar

* armbar tweak

* DGamerL Review

* merge issue fixed
2024-06-23 10:53:00 +00:00

25 lines
1.5 KiB
Plaintext

/datum/martial_combo/judo/wheelthrow
name = "Wheel Throw / Floor Pin"
steps = list(MARTIAL_COMBO_STEP_GRAB, MARTIAL_COMBO_STEP_DISARM, MARTIAL_COMBO_STEP_HARM)
explaination_text = "From an armbar, flip your opponent over your shoulder or pin them to the floor, leaving them stunned."
combo_text_override = "Grab, Disarm, Harm"
/datum/martial_combo/judo/wheelthrow/perform_combo(mob/living/carbon/human/user, mob/living/target, datum/martial_art/MA)
if(!IS_HORIZONTAL(target) || !target.has_status_effect(STATUS_EFFECT_ARMBAR))
return MARTIAL_COMBO_FAIL
if(!IS_HORIZONTAL(user))
target.visible_message("<span class='warning'>[user] raises [target] over [user.p_their()] shoulder, and slams [target.p_them()] into the ground!</span>", \
"<span class='userdanger'>[user] throws you over [user.p_their()] shoulder, slamming you into the ground!</span>")
playsound(get_turf(user), 'sound/magic/tail_swing.ogg', 40, TRUE, -1)
target.SpinAnimation(10, 1)
else
target.visible_message("<span class='warning'>[user] manages to get a hold onto [target], and pinning [target.p_them()] to the ground!</span>", \
"<span class='userdanger'>[user] throws you over [user.p_their()] shoulder, slamming you into the ground!</span>")
playsound(get_turf(user), 'sound/weapons/slam.ogg', 40, TRUE, -1)
target.apply_damage(120, STAMINA)
target.KnockDown(15 SECONDS)
target.SetConfused(10 SECONDS)
add_attack_logs(user, target, "Melee attacked with martial-art [src] : Wheel Throw / Floor Pin", ATKLOG_ALL)
return MARTIAL_COMBO_DONE