B03006 - Searching trapped chests
When attempting to disarm a trapped chest, wisdom should only be exercised when not confused. It stands to reason that even if you manage to find a trap in a confused/hallucinating state, wisdom shouldn't be exercised.
This commit is contained in:
@@ -77,6 +77,7 @@ short swords are not throwing weapons
|
||||
several sit-in-trap cases were unreachable
|
||||
curse candelabrum in bones, like other similar artifacts
|
||||
clear up Magicbane messages when it attempts to re-cancel a canceled monster
|
||||
detecting a trap in a chest while confused should not exercise wisdom
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -3397,7 +3397,7 @@ boolean force;
|
||||
&& rn2(MAXULEV + 1 - u.ulevel) < 10)))
|
||||
|| (!force && confused && !rn2(3))) {
|
||||
You("find a trap on %s!", the(xname(otmp)));
|
||||
exercise(A_WIS, TRUE);
|
||||
if (!confused) exercise(A_WIS, TRUE);
|
||||
|
||||
switch (ynq("Disarm it?")) {
|
||||
case 'q': return(1);
|
||||
|
||||
Reference in New Issue
Block a user