I recently tried adding a bribe prog to my mud to have a certain mob heal someone when they give it 20 gold. When I tried to test it, everything BUT the healing part worked. Here's the prog I used...
mpedit cybil add bribe 20
if ispc($n)
nod $n
cast 'cure critical' $n
else
thank $I
endif
I just started learning how to build with smaug a few days ago, and I just learned how to do very simple progs so I'm pretty sure I did something wrong on my part. I made sure that the mob that's supposed to do the healing is a cleric so I don't think that's the problem. Any kind of help would be greatly appreciated, thanks!
mpedit cybil add bribe 20
if ispc($n)
nod $n
cast 'cure critical' $n
else
thank $I
endif
I just started learning how to build with smaug a few days ago, and I just learned how to do very simple progs so I'm pretty sure I did something wrong on my part. I made sure that the mob that's supposed to do the healing is a cleric so I don't think that's the problem. Any kind of help would be greatly appreciated, thanks!