wizard mode ^T
Noticed while testing the stair labeling, knowing the teleport away spell (and without innate teleport ability--not sure whether that's a factor), using ^T always attempted to cast the spell, even if you used m^T to explicitly request wizard mode telport on demand. Since my samurai had no chance to cast such a high level spell, I couldn't use ^T any more. With a different character, I ended up with 15(2) energy after a ^T attempt failed. I've put in a fix for this but after the other one I don't think it matters.
This commit is contained in:
@@ -578,6 +578,8 @@ monsters that drowned would never leave a corpse (holdover from decades ago
|
|||||||
give alternate message if hero is blind when throne gives "your vision clears"
|
give alternate message if hero is blind when throne gives "your vision clears"
|
||||||
monster wearing an alchemy smock was only getting poison resistance from it,
|
monster wearing an alchemy smock was only getting poison resistance from it,
|
||||||
not acid resistance; give both properties, just like for hero
|
not acid resistance; give both properties, just like for hero
|
||||||
|
in wizard mode, knowing teleport away spell resulted in ^T always attempting
|
||||||
|
the spell instead of teleporting on demand
|
||||||
|
|
||||||
|
|
||||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||||
|
|||||||
+2
-2
@@ -697,7 +697,7 @@ dotele(
|
|||||||
} else
|
} else
|
||||||
trap = 0;
|
trap = 0;
|
||||||
}
|
}
|
||||||
if (!trap) {
|
if (!trap && !break_the_rules) {
|
||||||
boolean castit = FALSE;
|
boolean castit = FALSE;
|
||||||
register int sp_no = 0, energy = 0;
|
register int sp_no = 0, energy = 0;
|
||||||
|
|
||||||
@@ -737,7 +737,7 @@ dotele(
|
|||||||
the extra energy is spent even if that results in not
|
the extra energy is spent even if that results in not
|
||||||
having enough to cast (which also uses the move) */
|
having enough to cast (which also uses the move) */
|
||||||
else if (u.uen < energy)
|
else if (u.uen < energy)
|
||||||
u.uen = energy;
|
energy = u.uen;
|
||||||
} else if (u.uhunger <= 10) {
|
} else if (u.uhunger <= 10) {
|
||||||
cantdoit = "are too weak from hunger";
|
cantdoit = "are too weak from hunger";
|
||||||
} else if (ACURR(A_STR) < 4) {
|
} else if (ACURR(A_STR) < 4) {
|
||||||
|
|||||||
Reference in New Issue
Block a user