- summary: How many times triggered effects have fired on their fighters; updates the counter of each matching buff.
- area: Game.Action
How many times triggered effects have fired on their fighters; updates the counter of each matching buff.
Kind event · Area Game.Action
Updates the trigger counter of buffs (effects that fire when something happens, a limited number of times).
WHAT TO DO WHEN YOU RECEIVE IT
1. For each entry of GameActionUpdateEffectTriggerCountEvent.effects_count_on_target (FightEffectTriggerCount):
a. take the buffs of the fighter FightEffectTriggerCount.target_id;
b. find the buff whose spell effect has the uid FightEffectTriggerCount.effect_id;
c. set that buff's trigger count to FightEffectTriggerCount.count (replace, do not add).
2. An entry that matches no buff changes nothing.
3. SEND NOTHING BACK.
WHEN IT ARRIVES. In a 3.7.10.10 capture it carried one entry right after a buff was added during the player's turn: count 1 for the player's own buff of effect uid 250172.
WHAT THE OFFICIAL CLIENT DOES. The fight buff handler asks the buff service for the target's buffs and, among the buffs of one kind, writes the count into the one whose effect (EffectInstanceData.effectUid) matches.
When you may send it
- Requires
character_loadedinferred
Related messages
- Unsolicited - nothing you send causes this inferred — the server pushes it when a triggered effect fires; no request asks for it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | effects_count_on_target | repeated FightEffectTriggerCount | One trigger count per (fighter, effect). Each entry updates one buff's trigger counter. | never |