[MIRROR] seismic charge explosion fixed (#11465)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-19 23:26:44 +02:00
committed by GitHub
co-authored by Will
parent 78176c6370
commit 57c5f03aa2
@@ -13,8 +13,8 @@
var/atom/target = null
var/open_panel = 0
var/image_overlay = null
var/blast_dev = -1
var/blast_heavy = -1
var/blast_dev = 3
var/blast_heavy = 1
var/blast_light = 2
var/blast_flash = 3
@@ -106,7 +106,7 @@
if(open_panel)
if(istype(I, /obj/item/stock_parts/micro_laser))
var/obj/item/stock_parts/SP = I
var/new_blast_power = max(1, round(SP.rating / 2) + 1)
var/new_blast_power = max(1, round(SP.rating * 2) + 1)
if(new_blast_power > blast_heavy)
to_chat(user, span_notice("You install \the [I] into \the [src]."))
user.drop_from_inventory(I)