mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 22:56:33 +01:00
Species shock vulnerability is now handled with a getter.
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
|
||||
if(H.species.siemens_coefficient<0.5) //Thick skin.
|
||||
if(H.species.get_siemens_coefficient(H) < 0.5) //Thick skin.
|
||||
return
|
||||
|
||||
if( H.shoes || ( H.wear_suit && (H.wear_suit.body_parts_covered & FEET) ) )
|
||||
|
||||
@@ -357,7 +357,7 @@
|
||||
if(ishuman(L))
|
||||
var/mob/living/carbon/human/H = L
|
||||
|
||||
if(H.species.siemens_coefficient<0.5) //Thick skin.
|
||||
if(H.species.get_siemens_coefficient(H) < 0.5) //Thick skin.
|
||||
return
|
||||
|
||||
if( H.shoes || ( H.wear_suit && (H.wear_suit.body_parts_covered & FEET) ) )
|
||||
|
||||
Reference in New Issue
Block a user