Allow some monsters to break boulders
... if the boulder is in a position they want to move to. Shopkeepers, priests, and the quest leader can break one boulder and then need to take several turns before being able to break another. Riders can break a boulder every turn.
This commit is contained in:
@@ -1829,7 +1829,7 @@ mon_allowflags(struct monst* mtmp)
|
||||
allowflags |= ALLOW_SSM | ALLOW_SANCT;
|
||||
if (passes_walls(mtmp->data))
|
||||
allowflags |= (ALLOW_ROCK | ALLOW_WALL);
|
||||
if (throws_rocks(mtmp->data))
|
||||
if (throws_rocks(mtmp->data) || m_can_break_boulder(mtmp))
|
||||
allowflags |= ALLOW_ROCK;
|
||||
if (can_tunnel)
|
||||
allowflags |= ALLOW_DIG;
|
||||
|
||||
Reference in New Issue
Block a user