Monsters trapped in pits cannot kick
This commit is contained in:
@@ -423,6 +423,8 @@ mattackm(
|
||||
case AT_TUCH:
|
||||
case AT_BUTT:
|
||||
case AT_TENT:
|
||||
if (mattk->aatyp == AT_KICK && mtrapped_in_pit(magr))
|
||||
continue;
|
||||
/* Nymph that teleported away on first attack? */
|
||||
if (distmin(magr->mx, magr->my, mdef->mx, mdef->my) > 1)
|
||||
/* Continue because the monster may have a ranged attack. */
|
||||
|
||||
Reference in New Issue
Block a user