From 500ae49f831a74d7726a59ebba423b5954586786 Mon Sep 17 00:00:00 2001
From: TDSSS <32099540+TDSSS@users.noreply.github.com>
Date: Sat, 27 Jul 2019 00:45:50 +0200
Subject: [PATCH] Makes space actually scary for vamps
---
code/game/gamemodes/vampire/vampire.dm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/code/game/gamemodes/vampire/vampire.dm b/code/game/gamemodes/vampire/vampire.dm
index 5fc01686200..66a86c3dfc5 100644
--- a/code/game/gamemodes/vampire/vampire.dm
+++ b/code/game/gamemodes/vampire/vampire.dm
@@ -402,7 +402,14 @@ You are weak to holy things and starlight. Don't go into space and avoid the Cha
if(T.density)
return
- vamp_burn(1)
+ if(bloodusable >= 10) //burn through your blood to tank the light for a little while
+ to_chat(owner, "The starlight saps your strength!")
+ bloodusable -= 10
+ vamp_burn(10)
+ else //You're in trouble, get out of the sun NOW
+ to_chat(owner, "Your body is turning to ash, get out of the light now!")
+ owner.adjustCloneLoss(10) //I'm melting!
+ vamp_burn(85)
/datum/vampire/proc/handle_vampire()
if(owner.hud_used)
@@ -419,7 +426,7 @@ You are weak to holy things and starlight. Don't go into space and avoid the Cha
if(istype(owner.loc, /turf/space))
check_sun()
if(istype(owner.loc.loc, /area/chapel) && !get_ability(/datum/vampire_passive/full))
- vamp_burn(0)
+ vamp_burn(7)
nullified = max(0, nullified - 1)
/datum/vampire/proc/handle_vampire_cloak()
@@ -442,8 +449,7 @@ You are weak to holy things and starlight. Don't go into space and avoid the Cha
else
owner.alpha = round((255 * 0.80))
-/datum/vampire/proc/vamp_burn(severe_burn)
- var/burn_chance = severe_burn ? 35 : 8
+/datum/vampire/proc/vamp_burn(burn_chance)
if(prob(burn_chance) && owner.health >= 50)
switch(owner.health)
if(75 to 100)