ID:268391
 
See I want it to heal my mob but instead in the coding it says else:invalid proc defenition and here it is -_-..

mob
verb
Heal()
src.Hp += usr.MaxHp
usr<<"You are fully healed!"
else
src.MaxHp = usr.Hp
usr<<"You are full on health"
return..()


Help me with it.. Please.
You have no if statement for one thing.This is a better way to do it
 mob
verb
Heal()
if(src.Hp==src.MaxHp)
src<<"You already have full Health"
return
else
src.Hp=src.MaxHp
src<<"You are completely Healed"