artifact tracking again
Redo the recent artifact creation stuff by replacing several nearly identical routines with one more general one. Also adds a tracking bit for one or two more creation methods. That changed artiexist[] from an array of structs holding 8 or less bits to one holding 9, so bump EDITLEVEL in case the total size changed.
This commit is contained in:
@@ -329,7 +329,7 @@ m_initweap(register struct monst *mtmp)
|
||||
: ptr->maligntyp) == A_LAWFUL)
|
||||
otmp = oname(otmp,
|
||||
artiname(rn2(2) ? ART_DEMONBANE : ART_SUNSWORD),
|
||||
ONAME_NO_FLAGS);
|
||||
ONAME_RANDOM); /* randomly created */
|
||||
bless(otmp);
|
||||
otmp->oerodeproof = TRUE;
|
||||
otmp->spe = rn2(4);
|
||||
|
||||
Reference in New Issue
Block a user