confused scroll of light

Implement the following suggestion by <email deleted>
- Reading a scroll of light while confused should
create a hostile yellow light (black light if cursed).

It only creates the light monster effect 1 out of 5 times.
This commit is contained in:
nethack.allison
2006-02-19 23:28:38 +00:00
parent 645d1b9921
commit f65d0710b6
5 changed files with 16 additions and 7 deletions

View File

@@ -1876,7 +1876,7 @@ register struct obj *obj;
break;
case WAN_CREATE_MONSTER:
known = create_critters(rn2(23) ? 1 : rn1(7,2),
(struct permonst *)0);
(struct permonst *)0, FALSE);
break;
case WAN_WISHING:
known = TRUE;