mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Gives MMI/Robobrain/Posibrain EMP Immunity Inside Silicon Mobs (#29755)
* Update MMI.dm * Apply suggestions from code review Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> --------- Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -219,14 +219,17 @@
|
||||
/obj/item/mmi/emp_act(severity)
|
||||
if(!brainmob)
|
||||
return
|
||||
else
|
||||
switch(severity)
|
||||
if(1)
|
||||
brainmob.emp_damage += rand(20,30)
|
||||
if(2)
|
||||
brainmob.emp_damage += rand(10,20)
|
||||
if(3)
|
||||
brainmob.emp_damage += rand(0,10)
|
||||
|
||||
if(issilicon(loc)) // Silicons aren't affected by brain damage and there is no way to fix silicon brain damage either.
|
||||
return
|
||||
|
||||
switch(severity)
|
||||
if(1)
|
||||
brainmob.emp_damage += rand(20, 30)
|
||||
if(2)
|
||||
brainmob.emp_damage += rand(10, 20)
|
||||
if(3)
|
||||
brainmob.emp_damage += rand(0, 10)
|
||||
..()
|
||||
|
||||
/obj/item/mmi/Destroy()
|
||||
|
||||
Reference in New Issue
Block a user