- summary: One fighter's counters for the cast spell after a cast: casts this turn, casts per target, and cooldown.
- area: Game.Action
One fighter's counters for the cast spell after a cast: casts this turn, casts per target, and cooldown.
Kind struct · Area Game.Action
One entry of TargetedAbility.ability_refresh_infos. The spell is the one of the enclosing
SpellCast.
READ IT LIKE THIS
1. AbilityRefreshInfo.fighter_id: whose counters these are.
2. AbilityRefreshInfo.cast_count: how many times that fighter has cast the spell this turn.
3. AbilityRefreshInfo.target_cast_counts: the same count per target fighter.
4. AbilityRefreshInfo.cooldown: the spell's cooldown for that fighter.
5. Replace (do not add to) the fighter's stored values for this spell.
The record's other int32 is never read by the client: ignore it.
Not sent on its own — it travels inside TargetedAbility.ability_refresh_infos. proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | cast_count | int32 | How many times the fighter has cast the spell this turn. Stored together with the per-target counts. | never |
| 2 | cooldown | int32 | The spell's cooldown for this fighter. (turns) Becomes the spell's cooldown entry for the fighter. | never |
| 3 | target_cast_counts | repeated CastCountOneSomeone | How many times the fighter has cast the spell on each target this turn. One record per target fighter. | never |
| 4 | fighter_id | int64 | The fighter whose counters these are. (fighter (entity) id) The client files the entry under this id and refreshes that fighter's spell counters. | never |