} while (!*buf);
/* choosing "none" preserves genocideless conduct */
if (*buf == '\033' || !strcmpi(buf, "none")
- || !strcmpi(buf, "nothing"))
+ || !strcmpi(buf, "nothing")) {
+ livelog_printf(LL_GENOCIDE,
+ "declined to perform class genocide");
return;
+ }
class = name_to_monclass(buf, (int *) 0);
if (class == 0 && (i = name_to_mon(buf, (int *) 0)) != NON_PM)
if (!(how & REALLY) && (ptr = rndmonst()) != 0)
break; /* remaining checks don't apply */
+ livelog_printf(LL_GENOCIDE,
+ "declined to perform genocide");
return;
}
} else if (otmp == ¬hing) {
/* explicitly wished for "nothing", presumably attempting
to retain wishless conduct */
+ livelog_printf(LL_WISH, "declined to make a wish");
return;
}