Replaces ex_act and emp_act numbers with defines
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
|
||||
|
||||
/obj/item/weapon/stock_parts/cell/blob_act(obj/structure/blob/B)
|
||||
ex_act(1)
|
||||
ex_act(EXPLODE_DEVASTATE)
|
||||
|
||||
/obj/item/weapon/stock_parts/cell/proc/get_electrocute_damage()
|
||||
if(charge >= 1000)
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
/obj/machinery/power/port_gen/pacman/emag_act(mob/user)
|
||||
if(!emagged)
|
||||
emagged = TRUE
|
||||
emp_act(1)
|
||||
emp_act(EMP_HEAVY)
|
||||
|
||||
/obj/machinery/power/port_gen/pacman/attack_hand(mob/user)
|
||||
..()
|
||||
|
||||
@@ -272,7 +272,7 @@ GLOBAL_LIST_INIT(blacklisted_tesla_types, typecacheof(list(/obj/machinery/atmosp
|
||||
if(issilicon(closest_mob))
|
||||
var/mob/living/silicon/S = closest_mob
|
||||
if(stun_mobs)
|
||||
S.emp_act(2)
|
||||
S.emp_act(EMP_LIGHT)
|
||||
tesla_zap(S, 7, power / 1.5, explosive, stun_mobs) // metallic folks bounce it further
|
||||
else
|
||||
tesla_zap(closest_mob, 5, power / 1.5, explosive, stun_mobs)
|
||||
|
||||
Reference in New Issue
Block a user