Date: 2020/08/05 12:14:46 UTC-07:00
Type: Denizen Script
homing_bow:
type: item
material: bow
display_name: Homing Bow
homing_function:
type: world
events:
on player left clicks air with:homing_bow:
- define target <player.precise_target||null>
- if target != null:
- narrate "You're targeting <[target].name>!"
on player shoots homing_bow:
- if target != null:
- while <context.projectile.location> != <[target].location>