- summary: One lasting effect on the character: its data id, when it was created, how and when it expires, and its effects.
- area: Game.Common
One lasting effect on the character: its data id, when it was created, how and when it expires, and its effects.
Kind struct · Area Game.Common
One alteration of your character.
HOW TO READ IT
1. Alteration.alteration_id is the alteration's id in the game data (its name,
description and category come from there).
2. Alteration.creation_time orders alterations: the client sorts them by it.
3. Alteration.expiration_type says how it expires (AlterationExpirationType);
Alteration.expiration_value is the limit for that type: a date for DATE, a number
of fights left for the fight counts (expired when it reaches 0).
4. Alteration.effects are its effects (ObjectEffect).
Not sent on its own — a record carried by the alteration messages, never sent on its own. inferred
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | expiration_type | AlterationExpirationType | How the alteration expires. Enum AlterationExpirationType. | never |
| 2 | alteration_id | int64 | The alteration's id in the game data. The client looks it up in the AlterationData root. | never |
| 3 | expiration_value | int64 | The expiry limit for that type: a date, or the fights left. | never |
| 4 | creation_time | int64 | When the alteration was created; the client sorts alterations by it. | never |
| 5 | effects | repeated ObjectEffect | The alteration's effects. Element type ObjectEffect. | never |