mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Makes EMP logs less bad (#93841)
## About The Pull Request closes #93805 ## Why It's Good For The Game we actually have almost no emp logging at all lol, not even emp chem reaction, so you barely can track potential griefer? ## Changelog 🆑 admin: EMP logs are improved, additionally chemical EMP reactions are now logged. /🆑
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
damage = 15 //very low
|
||||
|
||||
/obj/projectile/bullet/cannonball/emp/on_hit(atom/target, blocked = 0, pierce_hit)
|
||||
empulse(src, 4, 10)
|
||||
empulse(src, 4, 10, emp_source = src)
|
||||
. = ..()
|
||||
|
||||
/obj/projectile/bullet/cannonball/biggest_one
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
if(issilicon(target)) //also especially good against borgs
|
||||
var/mob/living/silicon/borg_boy = target
|
||||
borg_boy.apply_damage(damage, BRUTE)
|
||||
empulse(target, emp_radius, emp_radius)
|
||||
empulse(target, emp_radius, emp_radius, emp_source = src)
|
||||
|
||||
/obj/projectile/bullet/p50/incendiary
|
||||
name =".50 BMG incendiary bullet"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
/obj/projectile/ion/on_hit(atom/target, blocked = 0, pierce_hit)
|
||||
..()
|
||||
empulse(target, emp_radius, emp_radius)
|
||||
empulse(target, emp_radius, emp_radius, emp_source = src)
|
||||
return BULLET_ACT_HIT
|
||||
|
||||
/obj/projectile/ion/weak
|
||||
|
||||
Reference in New Issue
Block a user