Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- loop {_lore::*}:
- if {_lore::%loop-index%} contains "可施展技能" or "能":
- set {_技能} to {_lore::%loop-index%}#儲存技能注解
- if {_check} is 5:#檢測是不是無關數字
- set {_check} to 1#確認可以開技能
- if {_lore::%loop-index%} contains "職業限制" or "職業需求":
- set {_職業} to {_lore::%loop-index%}#儲存職業注解
- set {_check} to 0#因為有職業限制,先檢查職業
- exit loop
- if {_check} is 0:
- if {_職業} is 0:#沒變化就停止.
- damage player by 100000
- stop
- loop {職業::*}:
- if "%{_職業}%" contains "%loop-value%":
- if {玩家資料.%player%::職業} is "%loop-value%":
- set {_check} to 1#允許過職業關
- if "%{_技能}%" contains "旋風迴箭":
- if difference between {冷卻.%player%::旋風迴箭} and now is more than or equal to 0.5 second:
- delete {冷卻.%player%::旋風迴箭}
- if {冷卻.%player%::旋風迴箭} is set:
- send "&c&l《旋風迴箭》&e冷卻中,請稍後再使用"
- stop
- set {冷卻.%player%::旋風迴箭} to now
- send "&e你使用了&c&l《旋風迴箭》"
- play raw sound "mob.sheep.shear" at player with pitch 0 volume 1
- thrust player upwards with force 0.6
- wait 5 ticks
- loop entities in radius 6 of player:
- if loop-entity isn't a player:
- make player damage loop-entity by ({玩家資料.%player%::敏捷} + {飾品狀態.%player%::敏捷}) * 1.95
- play raw sound "dig.sand" at player with pitch 0 volume 2
- spawn 30 of particle cloud offset by 3, -1, -3 at location of player
- stop
- if "%{_技能}%" contains "天空之禽領域":
- if difference between {冷卻.%player%::天空之禽領域} and now is more than or equal to 30 second:
- delete {冷卻.%player%::天空之禽領域}
- if {冷卻.%player%::天空之禽領域} is set:
- send "&c&l《天空之禽領域》&e冷卻中,請稍後再使用"
- stop
- send "&e你使用了&c&l《天空之禽領域》"
- set {冷卻.%player%::天空之禽領域} to now
- loop blocks in radius 10 of player:
- if targeted block is loop-block:
- set {_天空之禽領域位置} to location of loop-block
- loop 20 times:
- loop entities in radius 6 around location of block at {_天空之禽領域位置}:
- if loop-entity isn't a player:
- make player damage loop-entity by ({玩家資料.%player%::敏捷} + {飾品狀態.%player%::敏捷}) * 3.5
- push the loop-entity downwards with force 0.2
- play raw sound "mob.chicken.say" at loop-entity with pitch 2 volume 1
- spawn 20 of particle explode offset by -4, 0.1, 4 at location of {_天空之禽領域位置}
- spawn 20 of particle mob spell ambient offset by 0.3, 0.5, 0.3 at location of loop-entity
- wait 30 ticks
- delete {_天空之禽領域位置}
- stop
- if "%{_技能}%" contains "黏稠毒霧":
- if difference between {冷卻.%player%::黏稠毒霧} and now is more than or equal to 10 second:
- delete {冷卻.%player%::黏稠毒霧}
- if {冷卻.%player%::黏稠毒霧} is set:
- send "&c&l《黏稠毒霧》&e冷卻中,請稍後再使用"
- stop
- set {冷卻.%player%::黏稠毒霧} to now
- send "&e你使用了&c&l《黏稠毒霧》"
- play raw sound "random.anvil_land" at player with pitch 2 volume 1
- loop entities in radius 20 of player:
- if loop-entity is targeted a entity:
- if loop-entity isn't a player:
- loop 15 times:
- make player damage loop-entity by ({玩家資料.%player%::智慧} + {飾品狀態.%player%::智慧}) * 3
- apply slowness 1 to the loop-entity for 20 ticks
- spawn 40 of particle happy villager offset by 0.5, 0.3, 0.5 at location of loop-entity
- play raw sound "mob.slime.attack" at player with pitch 1 volume 1
- wait 20 ticks
- stop
- if "%{_技能}%" contains "地熱粉碎":
- if difference between {冷卻.%player%::地熱粉碎} and now is more than or equal to 15 second:
- delete {冷卻.%player%::地熱粉碎}
- if {冷卻.%player%::地熱粉碎} is set:
- send "&c&l《地熱粉碎》&e冷卻中,請稍後再使用"
- stop
- set {冷卻.%player%::地熱粉碎} to now
- send "&e你使用了&c&l《地熱粉碎》"
- play raw sound "mob.wither.death" at player with pitch 0 volume 2
- apply slowness 10 to the player for 30 ticks
- wait 30 ticks
- loop entities in radius 8 of player:
- if loop-entity isn't a player or a dropped item:
- make player damage loop-entity by ({玩家資料.%player%::智慧} + {飾品狀態.%player%::智慧}) * 7.5
- thrust loop-entity upwards with force 0.2
- thrust loop-entity backwards with force 0.2
- ignite the loop-entity for 5 second
- spawn 30 of particle flame offset by 2, 4, -2 at location of player
- spawn 30 of particle angry villager offset by 2, 4, -2 at location of player
- spawn 30 of particle smoke offset by 2, 4, -2 at location of player
- stop
- if "%{_技能}%" contains "雷電鳴泣":
- if difference between {冷卻.%player%::雷電鳴泣} and now is more than or equal to 4 second:
- delete {冷卻.%player%::雷電鳴泣}
- if {冷卻.%player%::雷電鳴泣} is set:
- send "&c&l《雷電鳴泣》&e冷卻中,請稍後再使用"
- stop
- set {冷卻.%player%::雷電鳴泣} to now
- send "&e你使用了&c&l《雷電鳴泣》"
- set {_雷電鳴泣} to block 0 blocks in front player
- play raw sound "random.orb" at player with pitch 1 volume 2
- loop entities in radius 5 around block at location of {_雷電鳴泣}:
- if loop-entity isn't a player or a dropped item:
- apply slowness 10 to the loop-entity for 10 ticks
- spawn 30 of particle fireworks spark offset by 3, 3, -3 at location of {_雷電鳴泣}
- make player damage loop-entity by ({玩家資料.%player%::智慧} + {飾品狀態.%player%::智慧}) * 1.15
- wait 15 ticks
- play raw sound "random.orb" at player with pitch 1 volume 2
- loop entities in radius 5 around block at location of {_雷電鳴泣}:
- if loop-entity isn't a player or a dropped item:
- apply slowness 10 to the loop-entity for 10 ticks
- spawn 30 of particle fireworks spark offset by 3, 3, -3 at location of {_雷電鳴泣}
- make player damage loop-entity by ({玩家資料.%player%::智慧} + {飾品狀態.%player%::智慧}) * 1.15
- wait 15 ticks
- play raw sound "random.orb" at player with pitch 1 volume 2
- loop entities in radius 5 around block at location of {_雷電鳴泣}:
- if loop-entity isn't a player or a dropped item:
- apply slowness 10 to the loop-entity for 10 ticks
- spawn 30 of particle fireworks spark offset by 3, 3, -3 at location of {_雷電鳴泣}
- make player damage loop-entity by ({玩家資料.%player%::智慧} + {飾品狀態.%player%::智慧}) * 1.15
- stop
- if "%{_技能}%" contains "冰鍊束縛":
- if difference between {冷卻.%player%::冰鍊束縛} and now is more than or equal to 12 second:
- delete {冷卻.%player%::冰鍊束縛}
- if {冷卻.%player%::冰鍊束縛} is set:
- send "&c&l《冰鍊束縛》&e冷卻中,請稍後再使用"
- stop
- send "&e你使用了&c&l《冰鍊束縛》"
- play raw sound "liquid.splash" at player with pitch 2 volume 1
- loop entities in radius 15 of player:
- if loop-entity is targeted a entity:
- if loop-entity isn't a player:
- set {冷卻.%player%::冰鍊束縛} to now
- loop 3 times:
- make player damage loop-entity by ({玩家資料.%player%::智慧} + {飾品狀態.%player%::智慧}) * 4.5
- apply slowness 10 to the loop-entity for 80 ticks
- spawn 45 of particle snowball poof offset by 0.3, 0.5, 0.3 at location of loop-entity
- play raw sound "mob.irongolem.hit" at player with pitch 2 volume 1
- wait 40 ticks
- if {冷卻.%player%::冰鍊束縛} is set:
- stop
- send "&c&l《冰鍊束縛》&7命中失敗。"
- stop
- if "%{_技能}%" contains "聖河淋浴":
- if difference between {冷卻.%player%::聖河淋浴} and now is more than or equal to 6 second:
- delete {冷卻.%player%::聖河淋浴}
- if {冷卻.%player%::聖河淋浴} is set:
- send "&c&l《聖河淋浴》&e冷卻中,請稍後再使用"
- stop
- send "&e你使用了&c&l《聖河淋浴》"
- apply slowness 10 to the player for 1 ticks
- play raw sound "random.drink" at player with pitch 1 volume 1
- wait 1 ticks
- loop entities in radius 12 of player:
- if loop-entity is targeted a entity:
- if loop-entity is a player:
- set {冷卻.%player%::聖河淋浴} to now
- heal loop-entity by (({玩家資料.%player%::智慧} + {飾品狀態.%player%::智慧}) * 0.25) / (loop-entity's max health + {飾品狀態.%loop-entity%::血量增加}) * loop-entity's max health
- spawn 50 of particle fireworks spark offset by 0.3, 2, 0.3 at location of loop-entity
- spawn 20 of particle heart offset by 0.1, 0.5, 0.1 at location of loop-entity
- send "&e你已被 %player% 的&c&l《聖河淋浴》&e治療了" to loop-entity
- if {冷卻.%player%::聖河淋浴} is set:
- stop
- send "&c&l《聖河淋浴》&7命中失敗。"
- stop
- if "%{_技能}%" contains "霧彈爆射":
- if difference between {冷卻.%player%::霧彈爆射} and now is more than or equal to 3 second:
- delete {冷卻.%player%::霧彈爆射}
- if {冷卻.%player%::霧彈爆射} is set:
- send "&c&l《霧彈爆射》&e冷卻中,請稍後再使用"
- stop
- set {冷卻.%player%::霧彈爆射} to now
- send "&e你使用了&c&l《霧彈爆射》"
- set {_霧彈爆射} to block 2 blocks in front player
- play raw sound "random.explode" at player with pitch 2 volume 2
- loop entities in radius 4 around block at location of {_霧彈爆射}:
- if loop-entity isn't a player or a dropped item:
- spawn 40 of particle large smoke offset by 2, 1, -1 at location of {_霧彈爆射}
- make player damage loop-entity by ({玩家資料.%player%::敏捷} + {飾品狀態.%player%::敏捷}) * 2.75
- thrust loop-entity upwards with force 1
- thrust loop-entity backwards with force
- stop
- if "%{_技能}%" contains "突擊翻滾":
- if difference between {冷卻.%player%::突擊翻滾} and now is more than or equal to 10 ticks:
- delete {冷卻.%player%::突擊翻滾}
- if {冷卻.%player%::突擊翻滾} is set:
- send "&c&l《突擊翻滾》&e冷卻中,請稍後再使用"
- stop
- set {冷卻.%player%::突擊翻滾} to now
- send "&e你使用了&c&l《突擊翻滾》"
- play raw sound "mob.enderdragon.wings" at player with pitch 2 volume 2
- spawn 15 of particle instant spell offset by 0.3, 0.6, -0.3 at location of player
- thrust player forwards with force 0.8
- thrust player upwards with force 0.2
- stop
- if "%{_技能}%" contains "天使之箭":
- if difference between {冷卻.%player%::天使之箭} and now is more than or equal to 3 second:
- delete {冷卻.%player%::天使之箭}
- if {冷卻.%player%::天使之箭} is set:
- send "&c&l《天使之箭》&e冷卻中,請稍後再使用"
- stop
- set {冷卻.%player%::天使之箭} to now
- send "&e你使用了&c&l《天使之箭》"
- set {_particle} to spell
- play raw sound "random.bow" at player with pitch 2 volume 1
- set {_天使之箭.1} to block above player#玩家自身座標
- set {_天使之箭.2} to block 30 blocks in front player#玩家前方十格座標
- set {_x.1} to x-coordinate of {_天使之箭.1}#玩家自身x座標
- set {_x.2} to x-coordinate of {_天使之箭.2}#玩家前方十格x座標
- set {_y.1} to y-coordinate of {_天使之箭.1}#玩家自身y座標
- set {_y.2} to y-coordinate of {_天使之箭.2}#玩家前方十格y座標
- set {_z.1} to z-coordinate of {_天使之箭.1}#玩家自身z座標
- set {_z.2} to z-coordinate of {_天使之箭.2}#玩家前方十格z座標
- set {_x.difference} to ({_x.2} - {_x.1}) / 25#計算玩家自身與玩家前方十格 座標差 除以30次
- set {_y.difference} to ({_y.2} - {_y.1}) / 25#計算玩家自身與玩家前方十格 座標差 除以30次
- set {_z.difference} to ({_z.2} - {_z.1}) / 25#計算玩家自身與玩家前方十格 座標差 除以30次
- loop 25 times:#增加座標差30次
- increase x-coordinate of {_天使之箭.1} by {_x.difference}#增加座標x差 1次
- increase y-coordinate of {_天使之箭.1} by {_y.difference}#增加座標y差 1次
- increase z-coordinate of {_天使之箭.1} by {_z.difference}#增加座標z差 1次
- spawn 3 of particle {_particle} offset by 0.1, 0.1, -0.1 at location of {_天使之箭.1}#特效
- loop entities in radius 2 around block at location of {_天使之箭.1}:#給予範圍傷
- make player damage loop-entity by {飾品狀態.%player%::智慧} * 2.5 + {玩家資料.%player%::智慧} * 2.5
- thrust loop-entity upwards with force 0.5
- wait 1 ticks#給予時間差讓特效有慢慢跑的效果
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement