mob/proc
fight(mob/M)
var/clr = colour2html("black")
var/dmg = src.att + src.weppwr
M.hp -= dmg
s_damage(M,dmg,clr)
M << "[src] attacks you!!"
src<<"You attack [M]!!"
dcheck(M)
Problem description:
I get this runtime error when this proc is called.
runtime error: Cannot read null.hp
proc name: fight (/mob/proc/fight)
I tried to fix it but thats very hard to do when you can't tell what's wrong.