mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Refactors Electrocution and Tesla Zapping (#15357)
* Refactors Electrocution and Tesla Zapping---Improves Supermatter and Tesla * forgot this one * fixes and styling * last tidbits hopefully * machine frames * use flags * styling
This commit is contained in:
@@ -166,3 +166,9 @@
|
||||
|
||||
/obj/structure/proc/prevents_buckled_mobs_attacking()
|
||||
return FALSE
|
||||
|
||||
/obj/structure/zap_act(power, zap_flags)
|
||||
if(zap_flags & ZAP_OBJ_DAMAGE)
|
||||
take_damage(power / 8000, BURN, "energy")
|
||||
power -= power / 2000 //walls take a lot out of ya
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user