mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
Fixes a lot of bugs. (#16187)
* Fixes a lot of bugs. * fix more shit --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
icon_state = dead_icon
|
||||
|
||||
/obj/item/organ/internal/proc/surgical_fix(mob/user)
|
||||
if(damage > min_broken_damage && !(status & ORGAN_ROBOT))
|
||||
if(damage > min_broken_damage)
|
||||
var/scarring = damage / max_damage
|
||||
scarring = 1 - 0.5 * scarring ** 2 // Between ~15 and 50 percent loss.
|
||||
var/new_max_dam = Floor(scarring * max_damage)
|
||||
|
||||
Reference in New Issue
Block a user