Fixes prosthetic causing bloodsuckers to bug out (#12136)

* Fixes prosthetic causing bloodsuckers to bug out

* Moved it per ghommies suggestions
This commit is contained in:
Arturlang
2020-05-14 14:44:48 +03:00
committed by GitHub
parent fc0ac23eed
commit ada31990d0
5 changed files with 27 additions and 4 deletions
@@ -113,3 +113,5 @@
/mob/living/proc/StartFrenzy(inTime = 120)
set waitfor = FALSE
@@ -216,8 +216,8 @@
// for (var/datum/action/bloodsucker/masquerade/P in powers)
// P.Deactivate()
// TEMP DEATH
var/total_brute = owner.current.getBruteLoss()
var/total_burn = owner.current.getFireLoss()
var/total_brute = owner.current.getBruteLoss_nonProsthetic()
var/total_burn = owner.current.getFireLoss_nonProsthetic()
var/total_toxloss = owner.current.getToxLoss() //This is neater than just putting it in total_damage
var/total_damage = total_brute + total_burn + total_toxloss
// Died? Convert to Torpor (fake death)