Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tell player if monster can never be recited to (m-aigner / 10416)
This adapts m-aigner's code from #379 The previous messaging seemed to have been actively wrong (the HD calculation is different than what seems to happen in god-abil.cc), so I decided it was time to finally merge a version of this, fixing the crash discussed in the PR thread. The new version still only checks particular monsters, so as discussed in the PR thread, something that looks at a monster_info might be desireable. In principle this more accurate info can leak information about a monster's spellset, but for that to happen, I think there would have to be something like a monster with multiple spellsets and subhuman intelligence, which as far as I can tell doesn't exist right now. Calculating over monster_info might deal with that case as well, if it were to ever come about. Resolves #379
- Loading branch information