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--
|
||||
|
||||
Reference in New Issue
Block a user