Kunai2
name="Kunai"
icon='Ex.dmi'
icon_state="kunai"
layer = 10000
density = 1
Bump(A)
if(istype(A,/mob))
var/mob/M = A
var/damage = round(src.Attack)
if(damage >= 1)
M.health -= damage
view(M) << "<font size=1><b><font color=silver>[M] was hit by a Kunai for [damage] damage!"
var/mob/N = src.Gowner
M.deathcheck(N)
del(src)
if(istype(A,/turf/))
var/turf/T = A
if(T.density)
del(src)
if(istype(A,/obj/))
del(src)
Ex:
Snake was killed by 0
I want it to be able to know who the owner is(person who threw it)
I tried giveing it a var such as owner = "usr"(just an example) but it still would turn out null
If you want to see the deathcheck, just tell me.