Changelings drain all blood from their victim
Changeilngs replenish any blood they have lost from the draining of their victim
This commit is contained in:
clusterfack
2015-11-10 03:25:47 -06:00
parent ae0ed4e6dd
commit dd77bbe5c2
4 changed files with 11 additions and 3 deletions

View File

@@ -124,6 +124,7 @@
status_flags |= DISFIGURED //Makes them unknown without fucking up other stuff like admintools
update_body(0)
update_mutantrace()
vessel.remove_reagent("blood",vessel.get_reagent_amount("blood"))
return
/mob/living/carbon/human/proc/Drain()

View File

@@ -2,6 +2,7 @@
BLOOD SYSTEM
****************************************************/
//Blood levels
var/const/BLOOD_VOLUME_MAX = 560
var/const/BLOOD_VOLUME_SAFE = 501
var/const/BLOOD_VOLUME_OKAY = 336
var/const/BLOOD_VOLUME_BAD = 224
@@ -48,7 +49,7 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
var/blood_volume = round(vessel.get_reagent_amount("blood"))
//Blood regeneration if there is some space
if(blood_volume < 560 && blood_volume)
if(blood_volume < BLOOD_VOLUME_MAX && blood_volume)
var/datum/reagent/blood/B = locate() in vessel.reagent_list //Grab some blood
if(B) // Make sure there's some blood at all
if(B.data["donor"] != src) //If it's not theirs, then we look for theirs