From 7e1e1b167d30f1aff9bec35350e97330fe1a0ea7 Mon Sep 17 00:00:00 2001 From: meow20 <62257265+meow20@users.noreply.github.com> Date: Wed, 28 Dec 2022 18:15:59 +0100 Subject: [PATCH] Prevents vampires who didn't drain anyone from being tested in the chapel (#19995) * Update vamp_datum.dm * Update vamp_datum.dm vampires once again suffer in space, regardless of how much blood was drained. * Update vamp_datum.dm * better code, same function * Update vamp_datum.dm * skree where did this came from --- code/modules/antagonists/vampire/vamp_datum.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/antagonists/vampire/vamp_datum.dm b/code/modules/antagonists/vampire/vamp_datum.dm index c3ce96ddd30..f7b83ed0f60 100644 --- a/code/modules/antagonists/vampire/vamp_datum.dm +++ b/code/modules/antagonists/vampire/vamp_datum.dm @@ -265,7 +265,7 @@ handle_vampire_cloak() if(isspaceturf(get_turf(owner.current))) check_sun() - if(istype(get_area(owner.current), /area/chapel) && !get_ability(/datum/vampire_passive/full)) + if(istype(get_area(owner.current), /area/chapel) && !get_ability(/datum/vampire_passive/full) && bloodtotal > 0) vamp_burn(7) nullified = max(0, nullified - 2)