mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-01 21:13:07 +00:00
Adjusted healing speed for the amount of wounds per wound object.
This commit is contained in:
@@ -914,7 +914,7 @@
|
||||
for(var/name in organs)
|
||||
var/datum/organ/external/E = organs[name]
|
||||
for(var/datum/wound/W in E.wounds)
|
||||
number_wounds++
|
||||
number_wounds+=W.amount
|
||||
|
||||
var/leg_tally = 2
|
||||
for(var/name in organs)
|
||||
|
||||
@@ -418,7 +418,7 @@
|
||||
if(W.salved) amount++
|
||||
if(W.disinfected) amount++
|
||||
// amount of healing is spread over all the wounds
|
||||
W.heal_damage(amount / (20*owner.number_wounds+1))
|
||||
W.heal_damage((amount * W.amount) / (20*owner.number_wounds+1))
|
||||
|
||||
proc/add_wound(var/used_weapon, var/damage)
|
||||
var/datum/autopsy_data/W = autopsy_data[used_weapon]
|
||||
|
||||
Reference in New Issue
Block a user