Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into Ghommie-cit765
This commit is contained in:
@@ -32,13 +32,11 @@
|
||||
name = "Grounded Nerves"
|
||||
desc = "Nerves form a safe path for electricity to traverse, protecting the body from electric shocks."
|
||||
mod_type = BIOWARE_NERVES
|
||||
var/prev_coeff
|
||||
|
||||
/datum/bioware/grounded_nerves/on_gain()
|
||||
..()
|
||||
prev_coeff = owner.physiology.siemens_coeff
|
||||
owner.physiology.siemens_coeff = 0
|
||||
ADD_TRAIT(owner, TRAIT_SHOCKIMMUNE, "grounded_nerves")
|
||||
|
||||
/datum/bioware/grounded_nerves/on_lose()
|
||||
..()
|
||||
owner.physiology.siemens_coeff = prev_coeff
|
||||
REMOVE_TRAIT(owner, TRAIT_SHOCKIMMUNE, "grounded_nerves")
|
||||
|
||||
Reference in New Issue
Block a user