Closed disastranagant closed 8 years ago
Then again, maybe I should just not use the dumb endgame gear lottery options. Making it always put move-finds on valid tiles sounds like a really annoying problem the more I think about it and "Oh boy, a Chaos Blade in Chapter 1" isn't that fun anyway.
Restricting them to the bounds of the map probably won't be too difficult, but yeah, making sure they always land on walkable tiles is a tough problem.
I actually fixed this. (well as far as I know... there might be some exceptions)
Might want to make a table of map dimensions instead of hoping they're all 16x16.