mob
proc
Deathcheck(mob/M)
if(M.hp<=0)
M.loc = locate(130,45,1)
M << "<font color=white>You died!"
M.hp = M.maxhp
src << "You killed [M]!"
M << "[src] killed you!"
if(M.Alignment_w == "Evil")
src.Alignment_n += 5
src.Alignmentcheck(src)
else
src.Alignment_n -= 5
src.Alignmentcheck(src)
Alignmentcheck()
if (src.Alignment_n <= -50)
src.Alignment_w = "Evil"
if (src.Alignment_n >= 50)
usr.Alignment_w = "Good"
if (src.Alignment_n >= -50 && src.Alignment_n <= 50)
src.Alignment_w = "Neutral"
Problem description:
Everytime I attempt to kill someone in the game I get an error message and once I remove the Alignmentcheck() proc it goes away there there anythign wrong with the Alignmentcheck() proc?