# Talk:Teachers

From Discworld MUD Wiki

I'm copying Pit's post about the new formulas here--since it'll no doubt scroll off the board in a few days!

Note #23 by Pit at Thu Dec 28 06:32:16 2023 [local] on board frog Hello all! If you haven't yet read about the teaching changes on the blog, please do that first (blog view default entry 995). In that blog, I promised the new formulas. These are as follows: EFFECTIVE CAP: * A teacher's Capped ETB (CETB) for teaching a student with bonus N is - Min(ETB, N + 100) if the teacher is unspecialised - Min(ETB, Max(N + 200, N * 1.5)) if the teacher is specialised LEARNING COST: * To learn 1 level of a skill for which you have N bonus, with a teacher of CETB M will cost you: public int compute_teaching_cost(int student_level, int student_bonus, int cetb) { int cost = 250; float minimum_k = 0.5 * student_bonus / 800 + 1; float maximum_k = 1.5; float simple_k = 0.5 * student_bonus / (cetb ? cetb : 1) + 1; float k = maximum_k - (cetb - student_bonus * 1.0) / (maximum_relevant_etb(student_bonus) - student_bonus) * (maximum_k - minimum_k); if (simple_k < k) k = simple_k; return 500 + to_int(cost * student_level * exp(student_level / 500.0) * k); } * Here, maximum_relevant_etb(student_bonus) = Max(student_bonus + 200, student_bonus * 1.5). TEACHER REWARD: * I won't give the full formula, but this used to be based on how much XP the student spent learning the skill (meaning that a bad teacher would get *more* XP than a good teacher for teaching the same skill), and is now instead based on the cost of self-teaching the skill (meaning that teacher goodness doesn't matter).

--Ilde (talk) 17:29, 29 December 2023 (EST)

Re:#1 Formulas for the teaching change Note #4 by Pit at Sun Feb 18 11:34:37 2024 [AZ] on board frog On Thu Dec 28 13:32:16 2023, Pit wrote: > If you haven't yet read about the teaching changes on the blog, please > do that first (blog view default entry 995). > In that blog, I promised the new formulas. These are as follows: > EFFECTIVE CAP: > * A teacher's Capped ETB (CETB) for teaching a student with bonus N is > - Min(ETB, N + 100) if the teacher is unspecialised > - Min(ETB, Max(N + 200, N * 1.5)) if the teacher is specialised Update: as part of the ongoing evaluation of how the changes are playing out, the cap for unspecialised teachers has been changed to MIN(ETB, MAX(N + 150, N * 1.35)). So, the difference between a specialised and an unspecialised teacher in a skill is now a bit smaller. Pit.