This commit is contained in:
Zuhayr
2014-12-09 02:35:46 +10:30
parent b4becaa587
commit a2d3a0055e
2 changed files with 11 additions and 1 deletions

View File

@@ -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

View File

@@ -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