mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Getting hit by bullet will shake camera.
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
nodamage = 0
|
||||
flag = "bullet"
|
||||
|
||||
on_hit(var/atom/target, var/blocked = 0)
|
||||
if (..(target, blocked))
|
||||
var/mob/living/L = target
|
||||
shake_camera(L, 3, 2)
|
||||
|
||||
/obj/item/projectile/bullet/weakbullet
|
||||
damage = 10
|
||||
|
||||
Reference in New Issue
Block a user