1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-12 02:05:22 +01:00

eucalyptus leaves shouldn't unbless all at once.

This commit is contained in:
Chris-plus-alphanumericgibberish 2015-01-25 00:13:56 -05:00
parent b6e69097c5
commit 06350078e2

View file

@ -4174,6 +4174,8 @@ doapply()
use_magic_whistle(obj);
/* sometimes the blessing will be worn off */
if (!rn2(49)) {
obj = splitobj(obj, 1L);
if (!Blind) {
char buf[BUFSZ];
@ -4182,6 +4184,10 @@ doapply()
obj->bknown = 1;
}
unbless(obj);
obj_extract_self(obj); /* free from inv */
/* shouldn't merge */
obj = hold_another_object(obj, "You drop %s!",
doname(obj), (const char *)0);
}
} else {
use_whistle(obj);