mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Dswords now return melee attack on parry. Eswords reflect lasers on parry. Throwing bodies at a dsword user may not work well (#21463)
This commit is contained in:
@@ -625,6 +625,15 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
|
||||
hit_atom.hit_by_thrown_carbon(src, throwingdatum, damage, FALSE, FALSE)
|
||||
|
||||
/mob/living/carbon/hit_by_thrown_carbon(mob/living/carbon/human/C, datum/thrownthing/throwingdatum, damage, mob_hurt, self_hurt)
|
||||
for(var/obj/item/twohanded/dualsaber/D in contents)
|
||||
if(D.wielded)
|
||||
visible_message("<span class='danger'>[src] impales [C] with [D], before dropping them on the ground!</span>")
|
||||
C.apply_damage(100, BRUTE, "chest", sharp = TRUE, used_weapon = "Impaled on [D].")
|
||||
C.Stun(2 SECONDS) //Punishment. This could also be used by a traitor to throw someone into a dsword to kill them, but hey, teamwork!
|
||||
C.KnockDown(6 SECONDS)
|
||||
D.melee_attack_chain(src, C) //attack animation / jedi spin
|
||||
C.emote("scream")
|
||||
return
|
||||
. = ..()
|
||||
KnockDown(3 SECONDS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user