| abstract
| - The skill template is a single line that is a based on base64 encoded bit stream as defined in rfc3548. The difference between Base64 and the Skill template format is the use of + and / as the 62nd and 63rd characters respectively, and all binary codes should be used and interpreted in the lowest-bit-first order. Numbers of varying number of bits are placed into the bitstream, in the following sequence: If generated before 4/5/2007 update:
* 4 bits - always 0, Version number of the Skill Template. If generated after 4/5/2007 update:
* 4 bits - always 14, Indicates that this is a Skill Template
* 4 bits - always 0, Version number of the skill Template The rest is the same before and after the update:
* 2 bits - Code to calculate the number of encoded bits per profession code ('p'). To calculate p, double it and add 4 (p=code*2+4).
* p bits - Primary profession (see table below)
* p bits - Secondary profession (see table below)
* 4 bits - The number of attributes specified in the template
* 4 bits - Code to calculate the number of encoded bits of the attribute codes ('a'). All attribute codes are the same size, and the size (in bits) is equal to 4 plus this number (a=code+4).
* Per attribute:
* a bits - attribute code (see table below)
* 4 bits - value of attribute, this is 1 - 12, and does not take into account runes, headgear, etc.
* 4 bits - Code to calculate then number of encoded bits of the skill codes ('s). All skill codes are the same size, and the size (in bits) is equal to 8 plus this number (s=code+8).
* Per skill (eight times):
* s bits - skill code (see table below)
|