ID:148060
 
mob
proc
deathcheck()
if(src.hp <= 0)
view() << "[src] dies!"
src.hp = 10
src.Move(locate(1,1,1))
usr.def += 1
usr.str += 2


this is what i have so far...
and it is giving me an error saying:

error:bad argument definition
Well, try indenting everything after deathcheck() that would help.
In response to Dragon of Ice
k 1 more problem

mob/attacks

verbs
Super_Slash(mob/M as mob in oview(2)) // can attack someone TWO spaces away
var/damage = usr.str - M.def + 5
if(damage <= 0)
view() << "[M] easily dodges [usr]'s special attack!"
M << "You easily dodge attack."

else
M.hp _= damage
view () << "[usr] uses Super Slash to take out [damage] of [M]'s health."
M:deathcheck()
usr.verbs += /mobs/attacks/verbs/Super_Slash

is what i got and i keep getting an error for indentation for else
You have another problem too: You put usr in your proc.

The right way to make a deathcheck is to give it an argument that says who the killer is. Then you use that instead of usr.

Lummox JR