mob/proc/Death(mob/M)
if(M.hp <= 0)
Problem description:
The code above causes the compiler to give the error "Black Sun.dme:19:error::invalid expression" when I enter the if clause, but I have an "hp" variable defined for the base type /mob.
Something tells me it's a rather basic error, but I cannot find it. I apologize in advance for not finding it.
Look a few lines above or below it, sometimes an if() without a statement or missing parenthese can cause the error lines being messed up.
If you can't find it, post about 5 lines above that to 5 lines below, and we'll see if we can help :D