A beehive is a structure that houses a colony of bees. When damaged or destroyed, it spawns multiple bees that will attack the hero. Beehives are immobile structures that can be found in various dungeon levels.
Stats
HP: 64
Level: 1 (Max: 1)
Defense Skill: 1
Attack Skill: 0
Damage: 0-0
Armor: 0
Speed: 0 (immovable)
View Distance: 4 tiles
AI State: Passive (does not actively seek targets)
Movement Type: Normal (but immovable)
Can be Pet: No
Flying: No
Friendly: No
Movable: No (immobile structure)
Exp Given: 5
Loot Chance: 0%
Attack Delay: 1
Abilities
Bee Spawning: When damaged, spawns 1 bee at a time (from 3-8 total possible bees)
Final Swarm: When destroyed, releases remaining bees (if any) - up to 3-8 total bees possible
Immobilization: Cannot move from its location
Bee Limit: Starts with 3-8 total bees that can be spawned (randomly determined at creation)
Behavior
AI State: Passive (does not actively seek targets)
Special Behavior: When damaged or destroyed, activates BeeSpawner script to generate bees
Bee Generation: Randomly determines 3-8 total bees to potentially spawn at creation
Spawn Limit: Once the predetermined number of bees is spawned, no more bees are generated
Cell Selection: Spawns bees in an empty adjacent cell (using emptyCellNextTo())
Bee AI: Spawned bees are set to “Hunting” AI state, immediately targeting nearby enemies
Drops
Beehives have a 0% chance to drop items
Strategy
Beehives are not threatening by themselves, but approaching one can trigger bee spawns
If you need to fight near a beehive, consider taking it out quickly to prevent multiple bees from spawning
Be careful when using area-of-effect attacks near beehives, as they can trigger multiple bee spawns
The final swarm when the hive is destroyed can overwhelm unprepared heroes
Beehives only spawn a predetermined number (3-8) of bees, so they're not an infinite source
Each time the beehive is damaged, it spawns 1 bee (if any remaining bees to spawn)
When destroyed, any remaining bees (if any) are released all at once