monsters jumping into hidden traps
- if a monster jumps into a trap in an SCORR, and you see it, convert to CORR
This commit is contained in:
@@ -717,6 +717,10 @@ mon_tele:
|
||||
pline("%s %s into a %s!", Monnam(mtmp),
|
||||
makeplural(locomotion(mtmp->data, "jump")),
|
||||
t->ttyp == TRAPDOOR ? "trap door" : "hole");
|
||||
if (levl[trapx][trapy].typ == SCORR) {
|
||||
levl[trapx][trapy].typ = CORR;
|
||||
unblock_point(trapx, trapy);
|
||||
}
|
||||
seetrap(t_at(trapx,trapy));
|
||||
}
|
||||
|
||||
@@ -803,6 +807,10 @@ mon_tele:
|
||||
if (vis) {
|
||||
pline("%s %s onto a teleport trap!", Monnam(mtmp),
|
||||
makeplural(locomotion(mtmp->data, "jump")));
|
||||
if (levl[trapx][trapy].typ == SCORR) {
|
||||
levl[trapx][trapy].typ = CORR;
|
||||
unblock_point(trapx, trapy);
|
||||
}
|
||||
seetrap(t_at(trapx,trapy));
|
||||
}
|
||||
/* don't use rloc_to() because worm tails must "move" */
|
||||
|
||||
Reference in New Issue
Block a user