B01004 No mimic corpse effect on pet (trunk only)

Make a mimic effect that lasts only as long as the
pet is still consuming the corpse.
This commit is contained in:
nethack.allison
2003-11-12 03:28:26 +00:00
parent bc06d02d24
commit 52490ee062
7 changed files with 111 additions and 5 deletions

View File

@@ -250,7 +250,7 @@ register struct obj *gold;
long value = gold->quan * objects[gold->otyp].oc_cost;
#endif
mtmp->msleeping = 0;
mtmp->meating = 0;
finish_meating(mtmp);
if(!rn2(4)) setmangry(mtmp); /* not always pleasing */
/* greedy monsters catch gold */