benilla-re systems structs docs

s_tokenArms

global · ui

Address
0x5080e0 · 88 bytes, up to 0x508137
Type
void *[22]
Meaning
Holds the 22 arms of the description token switch of 0x507710
Confidence
verified, proof one
Finding
ui/spelltokens#the-token-syntax

Finding: The token syntax in ui: Spell description tokens

Before the letter a token may carry a scale: $/N; divides the amounts it prints by N, $*N; multiplies them. It may carry the id of another spell: $1234s1 reads spell 1234, with the level cut to that spell's maximum level when it has one. One digit after the letter, 1 to 9, picks the effect (1 to 3 give effects 0 to 2, 4 to 9 effect 0), and without a digit it is effect 0. A bad other-spell id and a letter that is not in the tables below fail; so do J K W Y j k w y [ \ ] ^ _ and the backquote.

The derivation is in the doc.