pauper versus wizard spellbook auto-ID

These two enhancements were interacting with each other in weird
ways (paupers would start with no auto-IDs but force bolt, but
gain the level 1 auto-IDs upon training any skill). Change the
interaction so that paupers don't get the level 1 auto-IDs (which
wizards get to start with), but do get the level 3 auto-IDs in
skills that they manage to advance.
This commit is contained in:
Alex Smith
2025-12-02 15:23:50 +00:00
parent 727608411a
commit cfdee27498

View File

@@ -891,7 +891,9 @@ skill_based_spellbook_id(void)
break;
case P_UNSKILLED:
default:
known_up_to_level = 1;
/* paupers need more skill than this to ID books, but most wizards
know the basics */
known_up_to_level = u.uroleplay.pauper ? 0 : 1;
break;
}