mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
entire messed up branch in one commit (#30794)
Co-authored-by: Gatchapod <Gatchapod@users.noreply.github.com>
This commit is contained in:
@@ -656,6 +656,23 @@
|
||||
|
||||
if(dreamer.mind?.has_antag_datum(/datum/antagonist/vampire))
|
||||
var/mob/living/carbon/human/V = owner
|
||||
if(istype(V.loc, /obj/structure/closet/coffin/vampire))
|
||||
var/obj/structure/closet/coffin/vampire/C = V.loc
|
||||
if(C.vampire == V)
|
||||
V.adjustBruteLoss(-3)
|
||||
V.adjustFireLoss(-3)
|
||||
V.adjustToxLoss(-3)
|
||||
V.adjustOxyLoss(-3)
|
||||
V.adjustCloneLoss(-1.5)
|
||||
if(!isnull(V.viruses) && prob(25))
|
||||
for(var/datum/disease/virus in V.viruses)
|
||||
virus.cure()
|
||||
for(var/obj/item/organ/external/E in V.bodyparts)
|
||||
if(E.status & (ORGAN_INT_BLEEDING | ORGAN_BROKEN | ORGAN_SPLINTED | ORGAN_BURNT))
|
||||
E.rejuvenate()
|
||||
break // just one limb per sleep tick because vampires can just Rejuvenate out of sleep
|
||||
for(var/obj/item/organ/internal/I in V.internal_organs)
|
||||
I.heal_internal_damage(2, TRUE)
|
||||
if(istype(V.loc, /obj/structure/closet/coffin))
|
||||
V.adjustBruteLoss(-1)
|
||||
V.adjustFireLoss(-1)
|
||||
|
||||
Reference in New Issue
Block a user