Replaces ex_act and emp_act numbers with defines
This commit is contained in:
@@ -355,7 +355,7 @@
|
||||
if(wall_pierce++ < wall_pierce_amount)
|
||||
loc = target
|
||||
if(prob(wall_devastate))
|
||||
target.ex_act(2)
|
||||
target.ex_act(EXPLODE_HEAVY)
|
||||
return TRUE
|
||||
if(ismovableatom(target))
|
||||
var/atom/movable/AM = target
|
||||
|
||||
@@ -112,11 +112,11 @@
|
||||
/obj/item/projectile/blastwave/Range()
|
||||
..()
|
||||
if(heavyr)
|
||||
loc.ex_act(1)
|
||||
loc.ex_act(EXPLODE_DEVASTATE)
|
||||
else if(mediumr)
|
||||
loc.ex_act(2)
|
||||
loc.ex_act(EXPLODE_HEAVY)
|
||||
else if(lightr)
|
||||
loc.ex_act(3)
|
||||
loc.ex_act(EXPLODE_LIGHT)
|
||||
else
|
||||
qdel(src)
|
||||
heavyr--
|
||||
|
||||
@@ -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