Date: 2024/02/20 04:02:51 UTC-08:00
Type: Denizen Script
fishing_handler:
type: world
debug: true
events:
after player fishes:
- if <context.state> in caught_fish|caught_item:
- spawn bee|bee|bee|bee|bee <player.location.above[2]> save:bee
- define bee <entry[bee].spawned_entity>
- foreach <player.location.find_entities[monster].within[30]> as:entity:
- attack <[bee]> target:<[entity]>
- remove <context.hook>
- wait 15s
- remove <player.location.find_entities[bee].within[30]>