knights and covetous monsters
Implement Pat's suggestion of setting the mavenge flag when a covetous monster flees, since they may subsequently teleport back and attack even if mflee is set.
This commit is contained in:
@@ -144,6 +144,7 @@ player polymorphed as rust monster would lose gold in inventory by
|
|||||||
attempting to eat it, even though the eat failed
|
attempting to eat it, even though the eat failed
|
||||||
no messages were printed when dowaterdemon or dowaternymph failed to create
|
no messages were printed when dowaterdemon or dowaternymph failed to create
|
||||||
a monster doe to the G_GONE check
|
a monster doe to the G_GONE check
|
||||||
|
knights should be able to avenge attacks from covetous monsters
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -305,6 +305,7 @@ tactics(mtmp)
|
|||||||
case STRAT_HEAL: /* hide and recover */
|
case STRAT_HEAL: /* hide and recover */
|
||||||
/* if wounded, hole up on or near the stairs (to block them) */
|
/* if wounded, hole up on or near the stairs (to block them) */
|
||||||
/* unless, of course, there are no stairs (e.g. endlevel) */
|
/* unless, of course, there are no stairs (e.g. endlevel) */
|
||||||
|
mtmp->mavenge = 1; /* covetous monsters attack while fleeing */
|
||||||
if (In_W_tower(mtmp->mx, mtmp->my, &u.uz) ||
|
if (In_W_tower(mtmp->mx, mtmp->my, &u.uz) ||
|
||||||
(mtmp->iswiz && !xupstair && !mon_has_amulet(mtmp))) {
|
(mtmp->iswiz && !xupstair && !mon_has_amulet(mtmp))) {
|
||||||
if (!rn2(3 + mtmp->mhp/10)) rloc(mtmp);
|
if (!rn2(3 + mtmp->mhp/10)) rloc(mtmp);
|
||||||
|
|||||||
Reference in New Issue
Block a user