Getting hit by bullet will shake camera.

This commit is contained in:
Chinsky
2013-03-12 08:43:42 +04:00
parent 10f2ad6e2f
commit c351bc1a33

View File

@@ -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