Untrapping containers or doors gives some experience

This commit is contained in:
Pasi Kallinen
2024-05-08 20:10:32 +03:00
parent 236ea3b99e
commit ed5c7114ab
2 changed files with 5 additions and 0 deletions

View File

@@ -1411,6 +1411,7 @@ shopkeepers magnified the cost of shop items used up as a group; normally
candles to light them all charged N * N * single_candle_price
the tile for Ixoth (knight's quest nemesis) depicted a demon rather than a
dragon; change it to be a red dragon
untrapping containers or doors gives some experience
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -5593,6 +5593,8 @@ untrap_box(
} else {
You("disarm it!");
box->otrapped = 0;
more_experienced(8, 0);
newexplevel();
}
exercise(A_DEX, TRUE);
} else {
@@ -5836,6 +5838,8 @@ untrap(
} else {
You("disarm it!");
levl[x][y].doormask &= ~D_TRAPPED;
more_experienced(8, 0);
newexplevel();
}
} else
pline("This door was not trapped.");