Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding a enchanted book:
- if name of player's tool is "&4&lファイアショット":
- {%player%::c} is not set
- player's level progress is larger than 0.1
- shoot a snowball from player at speed 2
- ignite the last shot snowball
- push player backwards at speed 0.3
- set {a::%uuid of last shot snowball%} to "fire ball"
- play sound "entity.ghast.shoot" with volume 10 and pitch 1 at player for players in radius 10 of player
- reduce the player's level progress by 0.1
- wait 5 seconds
- delete {a::%uuid of last shot snowball%}
- on damage:
- projectile is snowball
- if {a::%uuid of event-projectile%} is "fire ball":
- set maximum damage delay of victim to 0 tick
- make shooter damage victim by 2
- ignite victim for 2 seconds
- delete {a::%uuid of event-projectile%}
- set {%shooter%-LA} to player
- on shoot:
- projectile is snowball
- if name of shooter's tool is "&4&lファイアショット":
- set {_uuid} to uuid of projectile
- loop 100 times:
- show 2 flame particles at location of event-projectile offset by 0.1, 0.1, 0.1 with speed 0.1
- wait 1 tick
- on projectile hit:
- loop {a::*}:
- if "%uuid of event-projectile%" is "%loop-index%":
- delete {a::%uuid of event-projectile%}
- stop loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement