mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 04:32:42 +00:00
Balance fixes to internal wounds.
- Their damage now increases more slowly. - They now cause faster bleeding. - They can't be cured anymore with bicaridine etc.
This commit is contained in:
@@ -186,8 +186,8 @@
|
|||||||
// let the GC handle the deletion of the wound
|
// let the GC handle the deletion of the wound
|
||||||
if(W.internal && !W.is_treated())
|
if(W.internal && !W.is_treated())
|
||||||
// internal wounds get worse over time
|
// internal wounds get worse over time
|
||||||
W.open_wound(0.5 * wound_update_accuracy)
|
W.open_wound(0.1 * wound_update_accuracy)
|
||||||
owner.vessel.remove_reagent("blood",0.1 * W.damage * wound_update_accuracy)
|
owner.vessel.remove_reagent("blood",0.2 * W.damage * wound_update_accuracy)
|
||||||
|
|
||||||
if(W.is_treated())
|
if(W.is_treated())
|
||||||
// slow healing
|
// slow healing
|
||||||
@@ -206,7 +206,7 @@
|
|||||||
// Salving also helps against infection
|
// Salving also helps against infection
|
||||||
if(W.germ_level > 0 && W.salved && prob(2))
|
if(W.germ_level > 0 && W.salved && prob(2))
|
||||||
W.germ_level = 0
|
W.germ_level = 0
|
||||||
|
|
||||||
// sync the organ's damage with its wounds
|
// sync the organ's damage with its wounds
|
||||||
src.update_damages()
|
src.update_damages()
|
||||||
|
|
||||||
|
|||||||
@@ -99,8 +99,7 @@
|
|||||||
// heal the given amount of damage, and if the given amount of damage was more
|
// heal the given amount of damage, and if the given amount of damage was more
|
||||||
// than what needed to be healed, return how much heal was left
|
// than what needed to be healed, return how much heal was left
|
||||||
// set @heals_internal to also heal internal organ damage
|
// set @heals_internal to also heal internal organ damage
|
||||||
// TODO: set heals_internal to 0 by default
|
proc/heal_damage(amount, heals_internal = 0)
|
||||||
proc/heal_damage(amount, heals_internal = 1)
|
|
||||||
if(src.internal && !heals_internal)
|
if(src.internal && !heals_internal)
|
||||||
// heal nothing
|
// heal nothing
|
||||||
return amount
|
return amount
|
||||||
|
|||||||
Reference in New Issue
Block a user