mob/proc
attack(mob/M as mob in oview(1))
set category = "Combat"
usr << "You attack [M]!"
oview() << "[usr] attacks [M]!"
var/damage = rand(1,10)+rand(1,psionic)-(M.defense)
world << "[damage] damage!"
M.HP -= damage
M.DeathCheck()
CheckExp()
Problem description: