One can find all hazards with findHazards(), but this also will find the hazards which have been triggered by an entity, for example a closed bear-trap or an exploded fire-trap.
I have some questions regarding this:
Is this the intended behaviour, like a very high cooldown for traps?
Is there a way to question the state of a hazard, something like hazard.isActive or hazard.getCooldown()?
What effect does the bear-trap provide to a trapped entity? I would like to know if there are some cheap shots possible at the poor soul which is trapped in there. Something like enemy.hasEffect(‘ensnared’).