ZoneHazard
Defined in: server/api.d.ts:5033
What a zone does to the players inside it. A player is exposed while inside and not protected. Their own client applies the damage, as the game’s damage over time, and the visuals, which show for everyone inside, protected or not.
Properties
Section titled “Properties”blockedByShields?
Section titled “blockedByShields?”
optionalblockedByShields?:boolean
Defined in: server/api.d.ts:5047
Whether the game’s own defences stop the damage: a raised Protego, and the super armour an Edurus dose gives, which refuses any damage over time. Default false: the hazard goes through them, as direct hits each tick while the game refuses its damage over time.
damagePerSecond?
Section titled “damagePerSecond?”
optionaldamagePerSecond?:number
Defined in: server/api.d.ts:5037
Health lost per second while exposed, through the game’s own damage over time (hit reactions, the game’s mitigation). 0 (the default) for visuals and zoneHazard events only.
optionalfade?:number
Defined in: server/api.d.ts:5072
Seconds the fog and tint take to come and go, 0 to 30. Default 1.
optionalfog?:ZoneHazardFog|null
Defined in: server/api.d.ts:5062
Fog for a player inside. Default none.
optionalfx?:string|null
Defined in: server/api.d.ts:5052
A MultiFX2 asset the damage plays on the player, such as “/Game/VFX/Particles/Magic/Incendio/Target_Attached/VFX_DA_MultiFX2_OnFire”. Default none.
protection?
Section titled “protection?”
optionalprotection?:ZoneHazardProtection
Defined in: server/api.d.ts:5057
Items and consumables that keep a player safe.
tickRate?
Section titled “tickRate?”
optionaltickRate?:number
Defined in: server/api.d.ts:5042
Seconds between damage ticks, 0.1 to 10. Default 1.
optionaltint?:ZoneHazardTint|null
Defined in: server/api.d.ts:5067
Camera tint for a player inside. Default none.