Date: 2018/12/15 18:10:18 UTC-08:00
Type: Denizen Script
hearthstone_use:
type: world
events:
on player clicks with hearthstone_item using either_hand:
- determine passively CANCELLED
- repeat 72:
- define base <player.location.add[<location[0,0,0,0,<player.location.yaw.add[40]>,<player.world.name>].direction.vector.div[1.7].add[0,0.9,0]>]>
- playeffect at:<def[base].add[<def[base].with_pose[0,<def[value].mul[10]>].direction.vector.div[3]>]> effect:REDSTONE qty:2 offset:0 special_data:1|green
- playeffect at:<def[base].add[<def[base].with_pose[<def[value].mul[10]>,0].direction.vector.div[3]>]> effect:REDSTONE qty:2 offset:0 special_data:1|white
- wait 1t