mob/verb
attack(mob/M as mob in oview(1)) //attack a mob within 1 tile of you
usr << "You attack [M]!" //send this message to the usr
oview() << "[usr] attacks [M]!" //send this message to everybody else
var/damage = usr.str - M.def //assign a random # to a new variable
world << "[damage] damage!" //tell the damage to the world
M.HP -= Damage()
M.DeathCheck()
Pickup()
Equip ()
mob/verb
Say(msg as text) //what the usr says is passed into "msg" as text
world << "[usr]: [msg]" //the world sees chatroom-like output
Stats ()
usr << "Your Current HP is [usr.health]."
usr << "Your strength is [usr.str]."
usr << "Your defence is [usr.def]."
usr << "Your mana is [usr.mana]."
Problem description:
loading kaefe.dme
kaefe.dm:63:error:M.HP:undefined var
kaefe.dmb - 1 error, 0 warnings (double-click on an error to jump to it)
I've the tutorials and several guides and I still don't understand the problem could someone please help with this