mob
verb
if(usr.Stamina >= 3)
Attack(mob/M as mob in oview(1))
set category = "Fighting"
var/damage = usr.Strength*2 - M.Defense*3
if(damage <= 0)
usr << "[M] easily dodges your attack!"
M << "You easily dodge [usr]'s attack."
flick("Punch",usr)
else
M.PL -= damage
view() << "[usr] attacks [M] for [damage] HP!"
M:deathcheck()
usr.MaxPL += 50
usr.Strength += 10
usr.Defense += 7
else
usr << "You don't have enough stamina!"
Problem description: I get an error thats says invalid proc definition for else and if
Note that you need to check if M is null in this verb.
Lummox JR