mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-10 01:05:27 +01:00
Wardless patch
This is a patch to improve wardless and elbereth usage tracking.
This commit is contained in:
parent
f272e3b74f
commit
2f2711d4af
2 changed files with 4 additions and 2 deletions
|
@ -3292,6 +3292,7 @@ struct obj *obj;
|
|||
nomovemsg = "You finish carving.";;
|
||||
carvee->ovar1 = get_wardID(rune);
|
||||
You("carve a %s into the %s.",wardDecode[decode_wardID(carvee->ovar1)],xname(carvee));
|
||||
u.uconduct.wardless++;
|
||||
see_monsters(); //Some magic staves grant detection, so recheck that now.
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -1361,7 +1361,6 @@ xchar e_type;
|
|||
/* engraving Elbereth shows wisdom */
|
||||
if (!in_mklev && !strcmp(s, "Elbereth")){
|
||||
exercise(A_WIS, TRUE);
|
||||
u.uconduct.elbereth++;
|
||||
}
|
||||
ep->ward_type = exist_ward_type;
|
||||
ep->ward_id = exist_ward_id;
|
||||
|
@ -2219,7 +2218,9 @@ doengrave()
|
|||
(void) strncat(buf, ebuf, (BUFSZ - (int)strlen(buf) - 1));
|
||||
|
||||
make_engr_at(u.ux, u.uy, buf, (moves - multi), type);
|
||||
|
||||
if(sengr_at("Elbereth", u.ux, u.uy)){
|
||||
u.uconduct.elbereth++;
|
||||
}
|
||||
if (post_engr_text[0]) pline(post_engr_text);
|
||||
|
||||
if (doblind && !resists_blnd(&youmonst)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue