mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-10 06:37:05 +01:00
Fixes a bug with species component application (#18696)
* Update trait.dm Update trait.dm Fixes a bug and cleans up Omen dice application * small godmode fix * Proper * Fixes organ regen
This commit is contained in:
@@ -18,8 +18,9 @@
|
||||
|
||||
// Heals the internal organ passively as long as it's under the bruised threshold
|
||||
// Not a lot of MATH just yet, but nutrition or other factors could be taken into account
|
||||
// Per the original PR: 'Allows internal organs to regenerate themselves passively, as long as they're not bruised.'
|
||||
/obj/item/organ/internal/proc/passive_heal()
|
||||
if(!is_bruised() && !is_broken())
|
||||
if(is_bruised() || is_broken())
|
||||
return
|
||||
|
||||
var/heal_amt = healing_factor * CONFIG_GET(number/organ_regeneration_multiplier)
|
||||
|
||||
Reference in New Issue
Block a user