empulse using range
This commit is contained in:
@@ -328,7 +328,7 @@
|
||||
throwSmoke(loc)
|
||||
else if(prob(EFFECT_PROB_MEDIUM-badThingCoeff))
|
||||
visible_message("<span class='warning'>[src] melts [exp_on], ionizing the air around it!</span>")
|
||||
empulse(loc, 150)
|
||||
empulse_using_range(loc, 9)
|
||||
investigate_log("Experimentor has generated an Electromagnetic Pulse.", INVESTIGATE_EXPERIMENTOR)
|
||||
ejectItem(TRUE)
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
rogue_types = list(/datum/nanite_program/toxic)
|
||||
|
||||
/datum/nanite_program/emp/on_trigger(comm_message)
|
||||
empulse(host_mob, 40)
|
||||
empulse_using_range(host_mob, 3)
|
||||
|
||||
/datum/nanite_program/pyro/active_effect()
|
||||
host_mob.fire_stacks += 1
|
||||
|
||||
@@ -258,7 +258,7 @@
|
||||
if(SLIME_ACTIVATE_MAJOR)
|
||||
user.visible_message("<span class='warning'>[user]'s skin starts flashing intermittently...</span>", "<span class='warning'>Your skin starts flashing intermittently...</span>")
|
||||
if(do_after(user, 25, target = user))
|
||||
empulse(user, 40)
|
||||
empulse_using_range(user, 3)
|
||||
user.visible_message("<span class='warning'>[user]'s skin flashes!</span>", "<span class='warning'>Your skin flashes as you emit an electromagnetic pulse!</span>")
|
||||
return 600
|
||||
|
||||
|
||||
Reference in New Issue
Block a user