fixes xeno headslugging not working (#23317)

* fixes xeno headslugging not working

* tweak

Honestly I think the logic behind this is super fucking questionable, so have fun changing this back in like five years me

* Update code/modules/mob/living/simple_animal/hostile/headslug.dm

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>

* Update code/modules/mob/living/simple_animal/hostile/headslug.dm

---------

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
GDN
2023-11-24 15:55:10 +00:00
committed by GitHub
co-authored by S34N
parent 0100d4c5b2
commit f39d514a07
2 changed files with 8 additions and 7 deletions
@@ -108,6 +108,10 @@
M.key = origin.key
M.revive() // better make sure some weird shit doesn't happen, because it has in the pas
M.forceMove(get_turf(owner)) // So that they are not stuck inside
if(!ishuman(owner))
owner.gib()
return
owner.apply_damage(300, BRUTE, BODY_ZONE_CHEST)
owner.bleed(BLOOD_VOLUME_NORMAL)
var/obj/item/organ/external/chest = owner.get_organ(BODY_ZONE_CHEST)
+4 -7
View File
@@ -56,17 +56,14 @@
..(holder)
if(!max_damage)
max_damage = min_broken_damage * 2
if(istype(holder))
if(ishuman(holder))
if(holder.dna)
dna = holder.dna.Clone()
if(!blood_DNA)
blood_DNA = list()
blood_DNA[dna.unique_enzymes] = dna.blood_type
else
stack_trace("[holder] spawned without a proper DNA.")
var/mob/living/carbon/human/H = holder
if(istype(H))
if(dna)
if(!blood_DNA)
blood_DNA = list()
blood_DNA[dna.unique_enzymes] = dna.blood_type
else
dna = new /datum/dna(null)
if(species_override)