Replaces ex_act and emp_act numbers with defines
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
/obj/item/projectile/beam/pulse/on_hit(atom/target, blocked = FALSE)
|
||||
. = ..()
|
||||
if(isturf(target) || istype(target,/obj/structure/))
|
||||
target.ex_act(2)
|
||||
target.ex_act(EXPLODE_HEAVY)
|
||||
|
||||
/obj/item/projectile/beam/pulse/shot
|
||||
damage = 40
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
if(A == firer)
|
||||
loc = A.loc
|
||||
return
|
||||
A.ex_act(2)
|
||||
A.ex_act(EXPLODE_HEAVY)
|
||||
playsound(src.loc, 'sound/effects/meteorimpact.ogg', 40, 1)
|
||||
for(var/mob/M in urange(10, src))
|
||||
if(!M.stat)
|
||||
|
||||
Reference in New Issue
Block a user