a couple of comments
This commit is contained in:
@@ -336,8 +336,9 @@ m_initweap(struct monst *mtmp)
|
||||
if ((!rn2(20) || is_lord(ptr))
|
||||
&& sgn(mtmp->isminion ? EMIN(mtmp)->min_align
|
||||
: ptr->maligntyp) == A_LAWFUL)
|
||||
otmp = oname(otmp,
|
||||
artiname(ART_SUNSWORD),
|
||||
/* [note: this used to have a 50:50 chance for Sunsword or
|
||||
Demonbane, but Demonbane has been changed into a mace] */
|
||||
otmp = oname(otmp, artiname(ART_SUNSWORD),
|
||||
ONAME_RANDOM); /* randomly created */
|
||||
bless(otmp);
|
||||
otmp->oerodeproof = TRUE;
|
||||
|
||||
@@ -438,7 +438,7 @@ learn(void)
|
||||
/* might be learning a new spellbook type or spellbook of blank paper;
|
||||
if so, persistent inventory will get updated */
|
||||
makeknown((int) booktype);
|
||||
/* makeknown() calls update inventory when discovering something
|
||||
/* makeknown() calls update_inventory() when discovering something
|
||||
new but is a no-op for something that's already known so wouldn't
|
||||
update persistent inventory to reflect faded book if spellbook of
|
||||
blank paper happens to already be discovered */
|
||||
|
||||
Reference in New Issue
Block a user