wishing for magenta potions
Reported on the net.
This commit is contained in:
@@ -41,6 +41,7 @@ avoid impossible when water freezes while hero is hiding under water
|
|||||||
avoid impossible after eating the object the hero is hiding under
|
avoid impossible after eating the object the hero is hiding under
|
||||||
failed attempt to eat floor gold while polymorphed would lose the gold
|
failed attempt to eat floor gold while polymorphed would lose the gold
|
||||||
running that stops for closed doors should stop at mimics mimicking closed doors
|
running that stops for closed doors should stop at mimics mimicking closed doors
|
||||||
|
allow wishing for magenta potions (ignoring the rank name 'mage')
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -1948,6 +1948,7 @@ boolean from_user;
|
|||||||
if (strncmpi(bp, "wizard lock", 11)) /* not the "wizard" monster! */
|
if (strncmpi(bp, "wizard lock", 11)) /* not the "wizard" monster! */
|
||||||
if (strncmpi(bp, "ninja-to", 8)) /* not the "ninja" rank */
|
if (strncmpi(bp, "ninja-to", 8)) /* not the "ninja" rank */
|
||||||
if (strncmpi(bp, "master key", 10)) /* not the "master" rank */
|
if (strncmpi(bp, "master key", 10)) /* not the "master" rank */
|
||||||
|
if (strncmpi(bp, "magenta", 7)) /* not the "mage" rank */
|
||||||
if (mntmp < LOW_PM && strlen(bp) > 2 &&
|
if (mntmp < LOW_PM && strlen(bp) > 2 &&
|
||||||
(mntmp = name_to_mon(bp)) >= LOW_PM) {
|
(mntmp = name_to_mon(bp)) >= LOW_PM) {
|
||||||
int mntmptoo, mntmplen; /* double check for rank title */
|
int mntmptoo, mntmplen; /* double check for rank title */
|
||||||
|
|||||||
Reference in New Issue
Block a user