Untrapping containers or doors gives some experience
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user