mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Damage lost on Bump() lowered to 3.
If an X-ray hits an rwall or blast doors, the beam dies.
This commit is contained in:
@@ -586,9 +586,9 @@ 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
|
||||
damage -= 3
|
||||
if(istype(A, /turf/simulated/wall/r_wall) || (istype(A, /obj/machinery/door/poddoor) && !istype(A, /obj/machinery/door/poddoor/shutters))) //if we hit an rwall or blast doors, but not shutters, the beam dies
|
||||
bullet_die()
|
||||
if(damage <= 0)
|
||||
bullet_die()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user