Vampire Embrace Fix (#10753)

This commit is contained in:
Geeves
2020-12-09 18:40:22 +02:00
committed by GitHub
parent 6d35d554d8
commit adbed34352
2 changed files with 12 additions and 0 deletions

View File

@@ -913,16 +913,22 @@
to_chat(T, SPAN_NOTICE("<br>You are currently being turned into a vampire. You will die in the course of this, but you will be revived by the end. Please do not ghost out of your body until the process is complete."))
var/drained_all_blood = FALSE
while(do_mob(src, T, 50))
if(!mind.vampire)
to_chat(src, SPAN_WARNING("Your fangs have disappeared!"))
return
if(!T.vessel.get_reagent_amount(/datum/reagent/blood))
to_chat(src, SPAN_NOTICE("[T] is now drained of blood. You begin forcing your own blood into their body, spreading the corruption of the Veil to their body."))
drained_all_blood = TRUE
break
T.vessel.remove_reagent(/datum/reagent/blood, 50)
if(!drained_all_blood)
vampire.status &= ~VAMP_DRAINING
return
T.revive()
// You ain't goin' anywhere, bud.