Advertisement
midorimusi1111

DutiesDungeonsSK

Jul 31st, 2019
1,010
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.34 KB | None | 0 0
  1. options:
  2. offsetX: 0
  3. offsetY: 2.5
  4. offsetZ: 0
  5. on chat:
  6. bind hologram "&f&l《&f&l%message%&f&l》" to player for 3 seconds offset by {@offsetX}, {@offsetY}, {@offsetZ}
  7. on right click:
  8. if name of held item contains "§f-§a経験値§62倍§bチケット§f-":
  9. add 8 to {exptimes.%player%}
  10. remove 1 of held item from player
  11. if {ticketused.%player%} is set:
  12. stop
  13. send "&a経験値&62倍&bスタート!!!"
  14. execute console command "/scoreboard players tag %player% add EXPticket"
  15. set {ticketused.%player%} to 1
  16. while {exptimes.%player%} >= 1:
  17. wait a minute
  18. set {exptimes.%player%} to {exptimes.%player%} - 1
  19. if {exptimes.%player%} >= 1:
  20. send "&a経験値&62倍&bあと%{exptimes.%player%}%分!!!"
  21. if {ticketused.%player%} is not set:
  22. stop
  23. execute console command "/scoreboard players tag %player% remove EXPticket"
  24. send "&a経験値&62倍&b終了!!!"
  25. delete {ticketused.%player%}
  26. delete {exptimes.%player%}
  27. command /stopticket [<player>]:
  28. permission: sk.admin
  29. trigger:
  30. if arg is set:
  31. execute console command "/scoreboard players tag %arg% remove EXPticket"
  32. send "&a経験値&62倍&b終了!!!" to arg
  33. delete {ticketused.%arg%}
  34. delete {exptimes.%arg%}
  35. stop
  36. execute console command "/scoreboard players tag %player% remove EXPticket"
  37. send "&a経験値&62倍&b終了!!!" to player
  38. delete {ticketused.%player%}
  39. delete {exptimes.%player%}
  40. command /tickettime:
  41. trigger:
  42. if {exptimes.%player%} is not set:
  43. send "&a経験値&62倍&bが始まっていません"
  44. stop
  45. send "&a経験値&62倍&bあと%{exptimes.%player%}%分!!!"
  46. on inventory click:
  47. if {slotcheck.%player%} is set:
  48. send "Slotid:%clicked slot%"
  49. if {itemcheck.%player%} is set:
  50. send "Clickeditem:%event-item%"
  51. command /slotcheck:
  52. permission: sk.admin
  53. trigger:
  54. if {slotcheck.%player%} is not set:
  55. set {slotcheck.%player%} to on
  56. send "slotcheck on"
  57. stop
  58. delete {slotcheck.%player%}
  59. send "slotcheck off"
  60. command /itemcheck:
  61. permission: sk.admin
  62. trigger:
  63. if {itemcheck.%player%} is not set:
  64. set {itemcheck.%player%} to on
  65. send "itemcheck on"
  66. stop
  67. delete {itemcheck.%player%}
  68. send "itemcheck off"
  69. #rune
  70. on damage:
  71. victim is a player
  72. if name of victim's slot 9 contains "フェアリーネックレス":
  73. chance of 20%:
  74. execute console command "execute %victim% ~ ~ ~ effect @s instant_health 1 1 true"
  75. execute console command "execute %victim% ~ ~ ~ playsound minecraft:entity.player.levelup master @a ~ ~ ~ 1 1"
  76. execute console command "execute %victim% ~ ~ ~ particle happyvillager ~ ~ ~ 0.5 1 0.5 1 15 force"
  77. if name of victim's slot 9 contains "覇錠":
  78. execute console command "execute %victim% ~ ~ ~ effect @e[type=!player,r=3] weakness 8 0 true"
  79. execute console command "execute %victim% ~ ~ ~ playsound minecraft:item.shield.block master @a ~ ~ ~ 1 2"
  80. execute console command "execute %victim% ~ ~ ~ particle witchMagic ~ ~ ~ 0.5 1 0.5 1 15 force"
  81. on damage:
  82. attacker is a player
  83. if name of attacker's slot 9 contains "鎖撃":
  84. execute console command "execute %attacker% ~ ~ ~ effect @s strength 2 1 true"
  85. execute console command "execute %attacker% ~ ~ ~ playsound minecraft:entity.blaze.shoot master @a ~ ~ ~ 1 2"
  86. execute console command "execute %attacker% ~ ~ ~ particle flame ~ ~ ~ 0.5 1 0.5 0.1 5 force"
  87. every 2 seconds:
  88. loop all players:
  89. if name of loop-player's slot 9 contains "萬緑の腕輪":
  90. execute console command "execute %loop-player% ~ ~ ~ effect @s regeneration 5 0 true"
  91. if name of loop-player's slot 9 contains "パーフェクトスター":
  92. if loop-player's health = loop-player's max health:
  93. execute console command "execute %loop-player% ~ ~ ~ effect @s strength 3 2 true"
  94. execute console command "execute %loop-player% ~ ~ ~ effect @s speed 3 1 true"
  95. on any movement:
  96. if name of player's slot 9 contains "獄炎のイヤリング":
  97. player is sprinting
  98. execute console command "execute %player% ~ ~ ~ particle flame ~ ~ ~ 1 0.5 1 0.05 5 force"
  99. execute console command "execute %player% ~ ~ ~ effect @e[type=!player,r=3] wither 3 7 true"#enemy
  100. on shoot:
  101. projectile is arrow
  102. if the name of shooter contains "ネクロマンサー":
  103. cancel event
  104. show 25 Spell Witch particles at shooter offset by 0, 0, 0 with speed 1.5
  105. execute shooter command "effect @s slowness 1 100 true"
  106. wait a second
  107. set {_spell} to a random integer between 1 and 5
  108. if {_spell} is 1 or 2:
  109. loop 2 times:
  110. make the shooter shoot a snowball at speed 3
  111. wait 2 ticks
  112. if {_spell} is 2 or 4:
  113. loop 3 times:
  114. make the shooter shoot a small fire ball at speed 3
  115. wait a tick
  116. if {_spell} is 5:
  117. make the shooter shoot a snowball at speed 3
  118. wait a tick
  119. make the shooter shoot a small fire ball at speed 3
  120. wait 5 ticks
  121. make the shooter shoot a snowball at speed 3
  122. wait 2 ticks
  123. make the shooter shoot a small fire ball at speed 3
  124. on damage:
  125. projectile is snowball
  126. if the name of shooter contains "ネクロマンサー":
  127. set damage to 1
  128. execute console command "execute %victim% ~ ~ ~ effect @s slowness 5 2 true"
  129. set maximum damage delay of victim to 1 ticks
  130. on damage:
  131. projectile is small fire ball
  132. if the name of shooter contains "ネクロマンサー":
  133. set damage to 1
  134. set maximum damage delay of victim to 1 ticks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement