Portrait Text
Defining Champions
The following description of the text that one places in the cell in front of a Champion's Portrait in order to define that Champion's strength, etc. was written by ArgentumLupus and edited for consistency by me, Paul Stevens. I take responsibilty for any errors. Please report them to me.
=====================================================
Ok, here's the results of my research. if you can call
it that.
Let's use Hissssa as an example, because he's cool.
Razz: His text string is:
HISSSSA/LIZAR OF MAKAN//M/AAFAACGCAAAF/CIDKDACDCDCLDH/EDAAADBAAAAAAAAA
We know what HISSSSA and LIZAR OF MAKAN are. The slashes are just
separators, M is his gender. (Incidentally, I noticed Wuuf is
female. It's probably just creepy deja vu again but I could swear
I've known that for years.
Even so, is anyone else really surprised by this?)
Anyway. Hissssa's first section (AAFAACGCAAAF) breaks down
into AAFA, ACGC, and AAAF. They represent his max Health,
Stamina, and Mana values. Using four bits for each letter,
starting at 0000 for A:
AAFA = 0000-0000-0101-0000 = 0x0050 = 80 (Health)
ACGC = 0000-0010-0110-0010 = 0x0262 = 61.0 (Stamina)
AAAF = 0000-0000-0000-0101 = 0x0005 = 5 (Mana)
____________________________________________________________
The second section (CIDKDACDCDCLDH) determines Luck, Strength,
Dexterity, Wisdom, Vitality, Anti-Magic, and Anti-Fire,
breaking down into CI-DK-DA-CD-CD-CL-DH.
CI = 0010-1000 = 0x28 = 40 (Luck)
DK = 0011-1010 = 0x3a = 58 (Strength)
DA = 0011-0000 = 0x30 = 48 (Dexterity)
CD = 0010-0011 = 0x23 = 35 (Wisdom)
CD = 0010-0011 = 0x23 = 35 (Vitality)
CL = 0010-1011 = 0x2b = 43 (Anti-Magic)
DH = 0011-0111 = 0x37 = 55 (Anti-Fire)
____________________________________________________________
The third section (EDAAADBAAAAAAAAA) breaks down thusly:
E = 0100 = 4 = Hidden Fighter 1
D = 0011 = 3 = Hidden Fighter 2
A = 0000 = 0 = Hidden Fighter 3
A = 0000 = 0 = Hidden Fighter 4
A = 0000 = 0 = Hidden Ninja 1
D = 0011 = 3 = Hidden Ninja 2
B = 0001 = 1 = Hidden Ninja 3
A = 0000 = 0 = Hidden Ninja 4
A = 0000 = 0 = Hidden Priest 1
A = 0000 = 0 = Hidden Priest 2
A = 0000 = 0 = Hidden Priest 3
A = 0000 = 0 = Hidden Priest 4
A = 0000 = 0 = Hidden Wizard 1
A = 0000 = 0 = Hidden Wizard 2
A = 0000 = 0 = Hidden Wizard 3
A = 0000 = 0 = Hidden Wizard 4
____________________________________________________________
-Argent
PS- Thanks for pointing me to that function. It was
actually a huge help knowing the size of the groupings,
and I really wouldn't have ever found it by myself. [
P.P.S. Argent is referring to the function 'EncodePortraitText' which is part of the file 'EditText.cpp' in the CSBuild sources.
-Paul