buried punishment ball
Prevent burying a ball from ending your punishment. When you bury the ball, internally NetHack Punishment ceases, but a new trap type of TT_BURIEDBALL immediately kicks in (acting similar to TT_INFLOOR in some ways). You can eventually work the ball free (or teleport, etc.), but that will just return you back to normal Punishment.
This commit is contained in:
@@ -653,7 +653,7 @@ xchar x, y;
|
||||
struct trap *t;
|
||||
const char *pullmsg = "The ball pulls you out of the %s!";
|
||||
|
||||
if (u.utrap && u.utraptype != TT_INFLOOR) {
|
||||
if (u.utrap && u.utraptype != TT_INFLOOR && u.utraptype != TT_BURIEDBALL) {
|
||||
switch(u.utraptype) {
|
||||
case TT_PIT:
|
||||
pline(pullmsg, "pit");
|
||||
|
||||
Reference in New Issue
Block a user