fixes vaurca surgery and permanent blindess (#12723)

Co-authored-by: TGW <mc-casper@hotmail.dk>
This commit is contained in:
Casper3667
2021-11-07 21:28:50 +01:00
committed by GitHub
parent afea1a74c9
commit c84cf340b8
4 changed files with 17 additions and 0 deletions

View File

@@ -488,6 +488,9 @@
if(E && istype(E))
if(E.damage > 0)
E.damage = max(E.damage - 5 * removed, 0)
if(isvaurca(H))
if(E.damage < E.min_broken_damage && H.sdisabilities & BLIND)
H.sdisabilities -= BLIND
/decl/reagent/oculine/affect_chem_effect(var/mob/living/carbon/M, var/alien, var/removed, var/datum/reagents/holder)
. = ..()