35 lines
1.3 KiB
Markdown
35 lines
1.3 KiB
Markdown
# C1 F3 06 - CharacterStatIncreaseResponse (by server)
|
|
|
|
## Is sent when
|
|
|
|
After the server processed a character stat increase request packet.
|
|
|
|
## Causes the following actions on the client side
|
|
|
|
If it was successful, adds a point to the requested stat type.
|
|
|
|
## Structure
|
|
|
|
| Index | Length | Data Type | Value | Description |
|
|
|-------|--------|-----------|-------|-------------|
|
|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
|
|
| 1 | 1 | Byte | 12 | Packet header - length of the packet |
|
|
| 2 | 1 | Byte | 0xF3 | Packet header - packet type identifier |
|
|
| 3 | 1 | Byte | 0x06 | Packet header - sub packet type identifier |
|
|
| 4 << 4 | 1 bit | Boolean | | Success |
|
|
| 4 | 4 bit | CharacterStatAttribute | | Attribute |
|
|
| 6 | 2 | ShortLittleEndian | | UpdatedDependentMaximumStat |
|
|
| 8 | 2 | ShortLittleEndian | | UpdatedMaximumShield |
|
|
| 10 | 2 | ShortLittleEndian | | UpdatedMaximumAbility |
|
|
|
|
### CharacterStatAttribute Enum
|
|
|
|
Defines the type of a character stat attribute.
|
|
|
|
| Value | Name | Description |
|
|
|-------|------|-------------|
|
|
| 0 | Strength | The strength attribute. |
|
|
| 1 | Agility | The agility attribute. |
|
|
| 2 | Vitality | The vitality attribute. |
|
|
| 3 | Energy | The energy attribute. |
|
|
| 4 | Leadership | The leadership attribute. | |