kit_item_snowbomb:
type: item
- material: snow_ball
+ material: snow_ball
- qty: 2
display name: Snow Bomb Kit
lore:
- Click for a high-damage
- exploding snowball throw!
kit_item_snowbomb_world:
type: world
events:
- on player clicks with kit_item_snowbomb:
+ on player clicks with kit_item_snowbomb:
- shoot snowball o:<player> d:<player.location.cursor_on> speed:2 script:kit_item_snowbomb_impact
- take iteminhand
- determine cancelled
kit_item_snowbomb_impact:
type: task
script:
- if <def[last_entity]> != null {
- explode <def[location]> power:1 fire
- }
+ }