@@ -729,6 +729,9 @@ dotele(
|
|||||||
but they both yield the same result.] */
|
but they both yield the same result.] */
|
||||||
#define spellev(spell_otyp) ((int) objects[spell_otyp].oc_level)
|
#define spellev(spell_otyp) ((int) objects[spell_otyp].oc_level)
|
||||||
energy = 5 * spellev(SPE_TELEPORT_AWAY);
|
energy = 5 * spellev(SPE_TELEPORT_AWAY);
|
||||||
|
#if 0
|
||||||
|
/* the addition of !break_the_rules to the outer if-block in
|
||||||
|
1ada454f rendered this dead code */
|
||||||
if (break_the_rules) {
|
if (break_the_rules) {
|
||||||
if (!castit)
|
if (!castit)
|
||||||
energy = 0;
|
energy = 0;
|
||||||
@@ -739,7 +742,9 @@ dotele(
|
|||||||
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)
|
||||||
energy = u.uen;
|
energy = u.uen;
|
||||||
} else if (u.uhunger <= 10) {
|
} else
|
||||||
|
#endif
|
||||||
|
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) {
|
||||||
cantdoit = "lack the strength";
|
cantdoit = "lack the strength";
|
||||||
|
|||||||
Reference in New Issue
Block a user