Hazards
Hazards are things that can hurt you - bombs, icicles, lightning storms, etc.
The hazards
array contains information about active hazards on the map:
[
{
"id": "Bomb1", // Unique hazard identifier
"type": "bomb", // Type of hazard
"position": { // Position on map
"x": 100,
"y": 200
},
"attack_damage": 50, // Damage dealt
"status": "charging", // Current state (charging/active/idle)
"owner_id": "Player1" // ID of player who created hazard
}
]
Hazard Types
bomb
- Explosive device that deals area damageicicle
- Fired by players that freezes enemies and players impactlightning_storm
- Created by speed_zapper, slows affected players
tip
Monitor hazard status to time your movements - dodge during "charging", avoid during "active"