mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-26 21:46:51 +01:00
Fixes low-yield EMP grenades
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
icon_state = "emp"
|
||||
item_state = "empgrenade"
|
||||
origin_tech = list(TECH_MATERIAL = 2, TECH_MAGNET = 3)
|
||||
var/emp_heavy = 4
|
||||
var/emp_light = 10
|
||||
|
||||
prime()
|
||||
..()
|
||||
if(empulse(src, 4, 10))
|
||||
if(empulse(src, emp_heavy, emp_light))
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
@@ -15,9 +17,5 @@
|
||||
desc = "A weaker variant of the EMP grenade"
|
||||
icon_state = "lyemp"
|
||||
origin_tech = list(TECH_MATERIAL = 2, TECH_MAGNET = 3)
|
||||
|
||||
prime()
|
||||
..()
|
||||
if(empulse(src, 4, 1))
|
||||
qdel(src)
|
||||
return
|
||||
emp_heavy = 1
|
||||
emp_light = 4
|
||||
Reference in New Issue
Block a user