mob
Monsters
icon = 'mon.dmi'
isNpc = 1
Blobble
name = "Blobble"
givExp = 8
proc
distExp(mob/M in get_step(src,src.dir))
src.exp += M.givExp
return
deathcheck(mob/M in get_step(src,src.dir))
if(M.hp <= 0 && M.isNpc)
src<<"You killed [M]"
src.distExp(M)
del(M)
if(M.hp <= 0 && M.client)
M.hp=M.mhp
return ..()
Problem description:
I don't get an error, but I won't gain EXP. I can't for the life of me figure out why, either. Help?