replace magic numbers related to emp and explosion severity with defines (#26495)

replace even more magic emp and ex numbers
This commit is contained in:
Kenionatus
2024-08-18 03:11:22 +00:00
committed by GitHub
parent 1b5af3a748
commit 777910d6d2
37 changed files with 50 additions and 52 deletions
@@ -160,12 +160,10 @@
if(!brainmob)
return
switch(severity)
if(1)
if(EMP_HEAVY)
brainmob.emp_damage += rand(20, 30)
if(2)
if(EMP_LIGHT)
brainmob.emp_damage += rand(10, 20)
if(3)
brainmob.emp_damage += rand(0, 10)
..()
/obj/item/mmi/robotic_brain/New()