mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-09 00:43:07 +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