Ankmairdor
Member
- May 1, 2019
- 275
- 156
- 219
Can someone explain how exactly the library works? I get the general gist of it that it provides experience and learning points. However does that only apply to the person working as the librarian or does it affect everyone in the manor regardless if they're fighting mobs with me. Also, what does "experience efficiency decreases with level." Does this mean if the librarian has a high level the experience they give out to everyone is lower?
Code:
person.xp += max((15 + 5*globals.state.mansionupgrades.mansionlibrary + person.wit/12) - (person.level-1)*8,0)
person.learningpoints += ceil(person.wit/20)+globals.state.mansionupgrades.mansionlibrary
For reference, these are the numbers of a maxed library for a noble slave with maxed wit:
Level 1: 38 exp per day, ~3 days to level up
Level 2: 15 exp per day, ~7 days to level up
Level 3: 7 exp per day, ~14 days to level up
Level 4: 4 exp per day, ~25 days to level up
Level 5+: 1 exp per day, ~100 days to level up
The slave roughly gains 1 learning point per 20 wit plus 1 per library level per day.