mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
[MIRROR] Refactors move procs to support multitle objects (#6423)
* Refactors move procs to support multitle objects * Update _blob.dm Co-authored-by: Rohesie <rohesie@gmail.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
co-authored by
Rohesie
Gandalf
parent
3d784d4c1e
commit
d85a02babd
@@ -140,11 +140,11 @@
|
||||
M.emote("cough")
|
||||
return TRUE
|
||||
|
||||
/obj/effect/particle_effect/smoke/bad/proc/on_entered(datum/source, atom/movable/AM, oldloc)
|
||||
/obj/effect/particle_effect/smoke/bad/proc/on_entered(datum/source, atom/movable/arrived, direction)
|
||||
SIGNAL_HANDLER
|
||||
if(istype(AM, /obj/projectile/beam))
|
||||
var/obj/projectile/beam/B = AM
|
||||
B.damage = (B.damage/2)
|
||||
if(istype(arrived, /obj/projectile/beam))
|
||||
var/obj/projectile/beam/beam = arrived
|
||||
beam.damage *= 0.5
|
||||
|
||||
/datum/effect_system/smoke_spread/bad
|
||||
effect_type = /obj/effect/particle_effect/smoke/bad
|
||||
|
||||
Reference in New Issue
Block a user