Enum CombatEventKind
What a CombatEventBroadcast describes.
public enum CombatEventKind : byte
- Extension Methods
Fields
Health was removed. DamageTemplateID names the type.
A hit was REFUSED because the target is evading: an NPC walking home after a leash ended its fight (
INPCBrain.IsEvading). Amount is zero and DamageTemplateID names the refused hit's type. See IsRefusal(CombatEventKind).Reported rather than silently dropped because the caster's client cannot know: the brain exists only on the server, so the caster predicted the hit, drew its number, and — with nothing coming back — watched that number grey out a second later as if the hit had been lost. The report tells it why, at once, and lets it turn the number into the word.
Health was restored.
A hit was REFUSED because the target cannot be hurt at all (
ICharacterDamageController.Immortal): a training dummy, a quest giver, a character mid-teleport. Amount and type as for Evade.Health was removed by a PERIODIC effect — a damage-over-time tick, not a direct hit. DamageTemplateID still names the type.
A separate kind, not a flag, because the kind is the coalescer's merge key and the prediction pairing's match key. The caster's client predicts DIRECT hits and never predicts DoT ticks (they run server-side on the victim's buff controller) — so a DoT report of the same damage type used to consume the pending prediction of a projectile and leave the DoT undrawn while the projectile drew twice. Distinct kinds keep the two streams apart end to end: they coalesce separately, and
PredictedCombatEventsonly pairs against Damage/Heal.Health was restored by a periodic effect — a heal-over-time tick. See PeriodicDamage.