var/hp = 20
var/maxhp = 100
var/str = 3
var/minstr = 1
var/lvl = 1
var/exp = 0
var/maxexp = 30
var/buff = 0
var/poison = 0
var/pvp = 1
var/equipped = "hands"
mob
verb
Attack(mob/M in oview(1))
if (pvp)
M.HurtMe()
view() << "[M] Has been hit with a [equipped] by [usr]!"
proc
HurtMe()
M.hp -= rand(minstr,str)
Problem description: I'm having problems with calling the Proc and proc not being able to minus the M's HP. Basically it thinks M doesnt exist even though it is defined in Attack(mob/M in oview(1))