no wisdom bonus from random Elbereth engravings
- check !in_mklev before giving credit for engraving Elbereth
This commit is contained in:
@@ -50,6 +50,7 @@ avoid dmonsfree impossible message due to migrating a dead monster via
|
||||
mhurtle causing the monster to end up in a hole or other trap
|
||||
avoid temporary disappearing Burdened message due to updating status line
|
||||
midway thru in_container
|
||||
don't credit player's wisdom when makelevel creates random Elbereth engravings
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -370,7 +370,7 @@ register xchar e_type;
|
||||
ep->engr_txt = (char *)(ep + 1);
|
||||
Strcpy(ep->engr_txt, s);
|
||||
/* engraving Elbereth shows wisdom */
|
||||
if(!strcmp(s, "Elbereth")) exercise(A_WIS, TRUE);
|
||||
if (!in_mklev && !strcmp(s, "Elbereth")) exercise(A_WIS, TRUE);
|
||||
ep->engr_time = e_time;
|
||||
ep->engr_type = e_type > 0 ? e_type : rnd(N_ENGRAVE-1);
|
||||
ep->engr_lth = strlen(s) + 1;
|
||||
|
||||
Reference in New Issue
Block a user