bonk
This commit is contained in:
@@ -141,7 +141,8 @@
|
|||||||
/mob/living/proc/getBruteLoss()
|
/mob/living/proc/getBruteLoss()
|
||||||
return bruteloss
|
return bruteloss
|
||||||
|
|
||||||
/mob/living/proc/adjustBruteLoss(amount, updating_health = TRUE, forced = FALSE)
|
//only_robotic and only_organic arg only relevant for carbons
|
||||||
|
/mob/living/proc/adjustBruteLoss(amount, updating_health = TRUE, forced = FALSE, only_robotic = FALSE, only_organic = TRUE)
|
||||||
if(!forced && (status_flags & GODMODE))
|
if(!forced && (status_flags & GODMODE))
|
||||||
return FALSE
|
return FALSE
|
||||||
bruteloss = clamp((bruteloss + (amount * CONFIG_GET(number/damage_multiplier))), 0, maxHealth * 2)
|
bruteloss = clamp((bruteloss + (amount * CONFIG_GET(number/damage_multiplier))), 0, maxHealth * 2)
|
||||||
@@ -215,7 +216,8 @@
|
|||||||
/mob/living/proc/getFireLoss()
|
/mob/living/proc/getFireLoss()
|
||||||
return fireloss
|
return fireloss
|
||||||
|
|
||||||
/mob/living/proc/adjustFireLoss(amount, updating_health = TRUE, forced = FALSE)
|
//only_robotic and only_organic arg only relevant for carbons
|
||||||
|
/mob/living/proc/adjustFireLoss(amount, updating_health = TRUE, forced = FALSE, only_robotic = FALSE, only_organic = TRUE)
|
||||||
if(!forced && (status_flags & GODMODE))
|
if(!forced && (status_flags & GODMODE))
|
||||||
return FALSE
|
return FALSE
|
||||||
fireloss = clamp((fireloss + (amount * CONFIG_GET(number/damage_multiplier))), 0, maxHealth * 2)
|
fireloss = clamp((fireloss + (amount * CONFIG_GET(number/damage_multiplier))), 0, maxHealth * 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user