ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
let M(exp) = exp * 1.2 rounded down, if mentorship active
let L(exp) = exp * 1.2 rounded down, if Lineage active
let PM(epx) = exp * 2 if parthia or mercurius equipped
These functions should also cap at 100

-> is the pipeline operator. i.e. 10 exp -> M -> L is the same as M(L(10 exp))

---Staff---
let SB = staff base exp
let SP = staff level penalty
let LDP = level difference exp penalty

EXP = [SB + SP + LP] -> clamp(MIN, 100) -> M -> L, source [1]
I don't know MIN, assume 1 here.

---Chain guards---
let BCG = base chain guard exp
EXP = [BCG - LDP] -> clamp(0, 100) -> M -> L, source [1]

---Arena---
let BA = arena base exp
let WB = arena win bonus

EXP = (BA + WB) -> M -> L, source [1]
if Maddening
EXP = 10 -> M -> L, source [1]

---Combat/chain attack related---

let BCT = base combat exp
let MCT = min combat exp
let CA = chain attack exp. For each chain attack involved [3]. In most cases zero
let R = round of combat penalty. After the 3rd round of combat, every following combat will degrade exp further by 1. [2]

let pre modified exp = BCT + CA - R
combat exp = pre modified exp -> clamp(MCT, 100) -> M -> L -> PM, source [1]

-- from a kill ---
let BK = base kill exp
let MK = minimum kill exp

EXP = [pre modified exp + BK] -> clamp(MK, 100) -> M -> L -> MP, source [1]

[1] These were grinded by hand byMythrilZenith and Saber. It is possible these are incorrect but the numbers do align.
[2] Personal observation
[3] Keb's and X's Anything goes LTC chapter 17
2
Faerghast video perhaps worth checking out
3
https://youtube.com/watch?v=m8JFQwBfXEg&feature=shares
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100