proc/AIattack(mob/A as mob in view(3))
if(src.dir==SOUTH)
if(A.loc==locate(src.x,src.y-1,src.z))
// world<<"test2"
var/dmg
flick(src,"punch")
dmg=src.Strength-A.Defense
A.Stamina-=dmg
A.BanditAIkill()
Problem description:
Everything is fine, but when it calls this proc, it says can't read null.loc?