Files
AdamuSw/docs/Packets/C1-26-FF-CurrentStatsExtended_by-server.md
2026-07-14 19:00:35 +03:00

24 lines
967 B
Markdown

# C1 26 FF - CurrentStatsExtended (by server)
## Is sent when
Periodically, or if the current stats, like health, shield, mana or attack speed changed on the server side, e.g. by hits.
## Causes the following actions on the client side
The values are updated on the game client user interface.
## Structure
| Index | Length | Data Type | Value | Description |
|-------|--------|-----------|-------|-------------|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
| 1 | 1 | Byte | 24 | Packet header - length of the packet |
| 2 | 1 | Byte | 0x26 | Packet header - packet type identifier |
| 3 | 1 | Byte | 0xFF | Packet header - sub packet type identifier |
| 4 | 4 | IntegerLittleEndian | | Health |
| 8 | 4 | IntegerLittleEndian | | Shield |
| 12 | 4 | IntegerLittleEndian | | Mana |
| 16 | 4 | IntegerLittleEndian | | Ability |
| 20 | 2 | ShortLittleEndian | | AttackSpeed |
| 22 | 2 | ShortLittleEndian | | MagicSpeed |