From: arromdee Date: Mon, 28 Jan 2002 02:24:02 +0000 (+0000) Subject: egg breaking X-Git-Tag: MOVE2GIT~3321 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b08077c93902a3f8de57244db498143edc2c104;p=nethack egg breaking This fixes beta bug 2012. --- diff --git a/src/dokick.c b/src/dokick.c index 6e76f7777..43673f33e 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -434,8 +434,10 @@ xchar x, y; if (otmp->otyp == MIRROR) change_luck(-2); /* eggs laid by you */ + /* penalty is -1 per egg, max 5, but it's always + exactly 1 that breaks */ if (otmp->otyp == EGG && otmp->spe && otmp->corpsenm >= LOW_PM) - change_luck(-5); + change_luck(-1); You_hear("a muffled %s.",result); if(costly) loss += stolen_value(otmp, x, y, (boolean)shkp->mpeaceful, TRUE);