Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

DamageRefusedEvent

const DamageRefusedEvent: EventHandle<DamageRefusedRecord, Cosmetic, Entity>

On an entity each time dealDamage refuses a hit on it, one event per refused hit, in place of DamagedEvent: what a rule that counts hits, or a view that shows “Immune”, reads. A shot passes through an ally without a hit, so it emits none. Cosmetic, since a refusal changes nothing a page keeps: the room’s systems read every one, and a page far behind drops it. Unreal’s ability system fires OnImmunityBlockGameplayEffect the same way.