Blessed teleport scrolls now give a single controlled teleport

This buffs the blessed effect of the teleport scroll by providing the
reader control over their destination even if they lack teleport
control. This seems like it makes the blessed/uncursed distinction
actually meaningful, rather than mostly pointless.
This commit is contained in:
copperwater
2017-10-30 19:22:44 -04:00
committed by Pasi Kallinen
parent f54485b913
commit 1b945bf60a
2 changed files with 3 additions and 6 deletions

View File

@@ -519,7 +519,8 @@ struct obj *scroll;
if (!wizard || yn("Override?") != 'y')
return FALSE;
}
if ((Teleport_control && !Stunned) || wizard) {
if ((Teleport_control && !Stunned) || (scroll && scroll->blessed)
|| wizard) {
if (unconscious()) {
pline("Being unconscious, you cannot control your teleport.");
} else {
@@ -545,11 +546,6 @@ struct obj *scroll;
pline("Sorry...");
result = TRUE;
}
} else if (scroll && scroll->blessed) {
/* (this used to be handled in seffects()) */
if (yn("Do you wish to teleport?") == 'n')
return TRUE;
result = TRUE;
}
g.telescroll = scroll;