benilla-re systems structs docs

s_drunkEffectThreshold

global · ffxeffects

Address
0x80c488 · 4 bytes, up to 0x80c48b
Type
const float
Meaning
Holds 0.5, the drunk fraction from which an effect kind of 0x60001a changes
Confidence
verified, proof one
Finding
ffxeffects/passes#drunk-byte-readers

Finding: Drunk byte readers in ffxeffects: the passes

Fifteen places read the inebriation byte [player+0xe68]+0x1d, each cutting it to 100: the two glow passes, the chat text builder (0x49f614), the camera drift (0x50d1de, 0x50eb7d, 0x5104a5), the displayed level of an attackable unit (0x51809a, 0x7cbcf9), the unit tooltip (0x52a391), the drunk notices (0x5e2ac3), an effect kind (0x60001a) and the mover's wobble (0x60a9bc). Only the glow passes reach the post-process. The displayed level is max(1, level − ⌊min(drunk, 100)·0.05 + 0.5⌋).

The derivation is in the doc.