benilla-re systems structs docs

s_dollar

global · ui

Address
0x84f2d8 · 2 bytes, up to 0x84f2d9
Type
const char[2]
Meaning
Holds the string $ that a failed token leaves in the text
Confidence
verified, proof one
Finding
ui/spelltokens#the-expander

Finding: The expander in ui: Spell description tokens

0x5075f0(spell record; buffer, size, pet, level, aura, stack, unmodified) clears the buffer and copies the text up to each $, expanding every token. The text is the aura description (+0x24c) when aura is set and it is nonempty, else the description (+0x228). A level of 0 means the level the player has for the spell: the player's value in the spell's skill line over five (spell/records#caster-level). A token the dispatcher cannot expand leaves a literal $ in the output and the text after the token is copied as it stands. The return value is 1 when every token was expanded and 0 otherwise.

callerpetlevelaurastackunmodified
spell tooltip, item spell and set bonus linesthe pet flag, 0 for items0010
buff tooltip0the buff's1the stack, or 11

The derivation is in the doc.