diff --git a/code/modules/mining/lavaland/loot/hierophant_loot.dm b/code/modules/mining/lavaland/loot/hierophant_loot.dm index fc81e6399ae..12e1f1e2b84 100644 --- a/code/modules/mining/lavaland/loot/hierophant_loot.dm +++ b/code/modules/mining/lavaland/loot/hierophant_loot.dm @@ -21,6 +21,7 @@ var/chaser_timer = 0 //what our current chaser cooldown is var/chaser_speed = 0.8 //how fast our chasers are var/timer = 0 //what our current cooldown is + var/timerMalfunction = 0 //timer for when the club malfunctions var/blast_range = 13 //how long the cardinal blast's walls are var/obj/effect/hierophant/beacon //the associated beacon we teleport to var/teleporting = FALSE //if we ARE teleporting @@ -49,6 +50,16 @@ /obj/item/hierophant_club/afterattack(atom/target, mob/user, proximity_flag, click_parameters) ..() + + + if(is_station_level(user.z)) //Will only spawn a few sparks if on station + + if(world.time > timerMalfunction) + timerMalfuntion = world.time + cooldown_time + user.visible_message("[user]'s hierophant club malfunctions!") + do_sparks(5, FALSE, user) + return + var/turf/T = get_turf(target) if(!T || timer > world.time) return