View Single Post
Old September 10, 2020, 11:38   #2
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,938
PowerWyrm is on a distinguished road
Another stupid case:

Code:
#####
.....
M.#.@
.....
#####
When you have something unpassable like a wall or door, M easily uses the openings to come to you.

Code:
#####
.....
M.*.@
.....
#####
If the blockade is some damaging terrain, M simply stays stuck behind it and doesn't even try to look for the openings.

EDIT: in get_move_advance(), player is chosen as target if player is in LOS of the monster; a check should be made vs damaging terrain to use an alternate route if it's the case.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

Last edited by PowerWyrm; September 10, 2020 at 12:00.
PowerWyrm is offline   Reply With Quote