mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes #7301
This commit is contained in:
@@ -264,7 +264,7 @@ Status: []<BR>"},
|
||||
if(!anchored)
|
||||
icon_state = "turretCover"
|
||||
return
|
||||
|
||||
|
||||
..()
|
||||
if(stat & BROKEN)
|
||||
icon_state = "[lasercolor]destroyed_target_prism"
|
||||
@@ -362,6 +362,10 @@ Status: []<BR>"},
|
||||
|
||||
|
||||
/obj/machinery/porta_turret/bullet_act(var/obj/item/projectile/Proj)
|
||||
|
||||
if(Proj.damage_type == HALLOSS)
|
||||
return
|
||||
|
||||
if(on)
|
||||
if(!attacked && !emagged)
|
||||
attacked = 1
|
||||
|
||||
@@ -89,6 +89,8 @@
|
||||
return
|
||||
|
||||
/obj/machinery/turret/bullet_act(var/obj/item/projectile/Proj)
|
||||
if(Proj.damage_type == HALLOSS)
|
||||
return
|
||||
take_damage(Proj.damage)
|
||||
..()
|
||||
return
|
||||
@@ -297,6 +299,8 @@
|
||||
popping = 0
|
||||
|
||||
/obj/machinery/turret/bullet_act(var/obj/item/projectile/Proj)
|
||||
if(Proj.damage_type == HALLOSS)
|
||||
return
|
||||
src.health -= Proj.damage
|
||||
..()
|
||||
if(prob(45) && Proj.damage > 0) src.spark_system.start()
|
||||
@@ -512,6 +516,8 @@
|
||||
|
||||
|
||||
bullet_act(var/obj/item/projectile/Proj)
|
||||
if(Proj.damage_type == HALLOSS)
|
||||
return
|
||||
take_damage(Proj.damage)
|
||||
..()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user