mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
X-ray beams now lose 10 damage when passing through an rwall.
This commit is contained in:
@@ -587,6 +587,8 @@ var/list/beam_master = list()
|
||||
/obj/item/projectile/beam/xray/Bump(atom/A)
|
||||
if(..())
|
||||
damage -= 5
|
||||
if(istype(A, /turf/simulated/wall/r_wall))
|
||||
damage -= 5
|
||||
if(damage <= 0)
|
||||
bullet_die()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user