- summary: How many times a spell was cast on one target fighter.
- area: Game.Common
How many times a spell was cast on one target fighter.
Kind struct · Area Game.Common
One entry of FightSpellCast.target_cast_counts or AbilityRefreshInfo.target_cast_counts.
READ IT LIKE THIS
1. CastCountOneSomeone.target_id: the target fighter.
2. CastCountOneSomeone.cast_count: how many times the spell was cast on it.
The record's other int64 and its map are never read by the client: ignore them.
Not sent on its own — it travels inside FightSpellCast.target_cast_counts. proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 2 | cast_count | int32 | How many times the spell was cast on that target. Checked against the spell level's maxCastPerTarget / maxGlobalCastPerTarget. | never |
| 4 | target_id | int64 | The target fighter. (fighter (entity) id) Key of the per-target count table. | never |