- summary: The remaining duration of every effect on a fighter changes by some number of turns.
- area: Game.Action
The remaining duration of every effect on a fighter changes by some number of turns.
Kind struct · Area Game.Action
An effect-duration change: the payload of GameActionFightEvent.modify_effects_duration.
READ IT LIKE THIS
1. ModifyEffectsDuration.target_id is the fighter whose effects change.
2. Shift the end turn of each of its active effects (buffs) by
ModifyEffectsDuration.delta turns (negative shortens, positive lengthens).
3. Ignore the record's other members: the client never reads them.
WHAT THE OFFICIAL CLIENT DOES. Its buff service walks the fighter's buffs and moves each end turn by delta; the fight log prints ui.fight.effectsModifyDuration.
Not sent on its own — it travels inside GameActionFightEvent.modify_effects_duration. proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 2 | delta | int32 | Turns added to the remaining duration of each effect (negative shortens). (turns) | never |
| 3 | target_id | int64 | The fighter whose effects change. (fighter (entity) id) | never |