- summary: The played character's progression, wealth, alignment, characteristics and spell modifiers.
- area: Game.Character
The played character's progression, wealth, alignment, characteristics and spell modifiers.
Kind struct · Area Game.Character
Everything on the character sheet in one record.
THE FOUR EXPERIENCE VALUES ARE A PROGRESS BAR, NOT A LEVEL. Read them together:
experience_level_floor what you needed for the level you have experience where you are now experience_next_level_floor what you need for the next level
so progress through the current level is
(experience - experience_level_floor) / (experience_next_level_floor - experience_level_floor).
NONE OF THESE IS THE LEVEL ITSELF - the level is not in this record.
experience_bonus_limit is a separate ceiling: the point up to which the
character still earns a bonus rate. It is not the next level.
characteristics is the real sheet - one row per characteristic, as
CharacterCharacteristic. A live capture carried 120 rows, so index it by id
rather than scanning.
kamas here is authoritative over the inventory's copy; see
CharacterCharacteristicsEvent.
weapon_modifiers is the weapon counterpart of spell_modifiers, one
WeaponModifier per modifier on your weapon attacks. Store them as spell
modifiers of spell 0, as the official client does.
Not sent on its own — it is only ever carried by CharacterCharacteristicsEvent. inferred
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | characteristics | repeated CharacterCharacteristic | Every characteristic the character has, as id-and-value rows. Element type CharacterCharacteristic.A live 3.6.10.10 capture carried 120 rows - index by id, do not scan. | never |
| 2 | experience_next_level_floor | int64 | The experience total required to reach the next level. (experience points) Upper bound of the current level's progress bar. | never |
| 3 | weapon_modifiers | repeated WeaponModifier | Modifiers currently in effect on your weapon attacks. See WeaponModifier. Not in beta or 3.2; named after its element type, which the 3.3.20.19 type-name table spells. | never |
| 4 | experience_bonus_limit | int64 | The experience ceiling up to which the character still earns a bonus rate. (experience points) Not the next level threshold - a separate ceiling. | never |
| 5 | critical_hit_weapon | int32 | The weapon critical-hit bonus. The client narrows this to 16 bits when projecting the character. | never |
| 6 | kamas | int64 | The character's current kamas balance. (kamas) Authoritative over the balance carried by InventoryContentEvent.kamas. | never |
| 7 | probation_time | int64 | The probation period still applied to the character. | never |
| 8 | experience_level_floor | int64 | The experience total required to have reached the current level. (experience points) Lower bound of the current level's progress bar. | never |
| 9 | spell_modifiers | repeated SpellModifier | The per-spell modifiers currently in effect. Element type SpellModifier, whose members are not individually recovered. | never |
| 10 | alignment_information | AlignmentInformation | The character's alignment state. See AlignmentInformation. | never |
| 11 | experience | int64 | The character's current total experience. (experience points) | never |