SHARE
TWEET

Untitled

tihi_ Jun 24th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on rightclick:
  2.     if name of held item is "§e§l天使の羽 §a§lLv1":
  3.         if {fall.%player%} is not set:
  4.             set {fall.%player%} to 0
  5.         {fall.%player%} is 0
  6.         push player upwards at speed 0.5
  7.         push player horizontally forwards at speed 0.7
  8.         set {fall.%player%} to 1
  9.         while block below location of player is air:
  10.             wait 3 ticks
  11.         set {fall.%player%} to 0
  12.     else if name of held item is "§e§l天使の羽 §a§lLv2":
  13.         if {fall.%player%} is not set:
  14.             set {fall.%player%} to 0
  15.         {fall.%player%} is 0 or 1
  16.         push player upwards at speed 0.5
  17.         push player horizontally forwards at speed 0.7
  18.         add 1 to {fall.%player%}
  19.         while block below location of player is air:
  20.             wait 3 ticks
  21.         set {fall.%player%} to 0
  22.     else if name of held item is "§e§l大天使の羽 §a§lLv1":
  23.         if {fall.%player%} is not set:
  24.             set {fall.%player%} to 0
  25.         {fall.%player%} is 0
  26.         push player upwards at speed 1
  27.         push player horizontally forwards at speed 1.5
  28.         set {fall.%player%} to 1
  29.         while block below location of player is air:
  30.             wait 3 ticks
  31.         set {fall.%player%} to 0
  32.     else if name of held item is "§e§l大天使の羽 §a§lLv2":
  33.         if {fall.%player%} is not set:
  34.             set {fall.%player%} to 0
  35.         {fall.%player%} is 0 or 1
  36.         push player upwards at speed 1
  37.         push player horizontally forwards at speed 1.5
  38.         add 1 to {fall.%player%}
  39.         while block below location of player is air:
  40.             wait 3 ticks
  41.         set {fall.%player%} to 0
  42.     else if name of held item is "§e§l主天使の羽 §a§lLv1":
  43.         if {fall.%player%} is not set:
  44.             set {fall.%player%} to 0
  45.         {fall.%player%} is 0
  46.         push player upwards at speed 1.5
  47.         push player horizontally forwards at speed 2
  48.         set {fall.%player%} to 1
  49.         while block below location of player is air:
  50.             wait 3 ticks
  51.         set {fall.%player%} to 0
  52.     else if name of held item is "§e§l主天使の羽 §a§lLv2":
  53.         if {fall.%player%} is not set:
  54.             set {fall.%player%} to 0
  55.         {fall.%player%} is 0 or 1
  56.         push player upwards at speed 1.5
  57.         push player horizontally forwards at speed 2
  58.         add 1 to {fall.%player%}
  59.         while block below location of player is air:
  60.             wait 3 ticks
  61.         set {fall.%player%} to 0
  62.     else if name of held item is "§e§l主天使の羽 §a§lLv3":
  63.         if {fall.%player%} is not set:
  64.             set {fall.%player%} to 0
  65.         {fall.%player%} is 0 or 1 or 2
  66.         push player upwards at speed 1.5
  67.         push player horizontally forwards at speed 2
  68.         add 1 to {fall.%player%}
  69.         while block below location of player is air:
  70.             wait 3 ticks
  71.         set {fall.%player%} to 0
  72.     else if name of held item is "§c§l熾天使の羽":
  73.         if {fall.%player%} is not set:
  74.             set {fall.%player%} to 0
  75.         {fall.%player%} is 0 or 1 or 2 or 3
  76.         push player upwards at speed 2
  77.         push player horizontally forwards at speed 3
  78.         add 1 to {fall.%player%}
  79.         while block below location of player is air:
  80.             wait 3 ticks
  81.         set {fall.%player%} to 0
  82.     else if name of held item is "§c§l§n神の羽":
  83.         if {fall.%player%} is not set:
  84.             set {fall.%player%} to 0
  85.         push player upwards at speed 2
  86.         push player horizontally forwards at speed 3
  87.  
  88. command /feater:
  89.     usage: /feater
  90.     permission: skript.admin
  91.     executable by: player
  92.     trigger:
  93.         give feather of Feather Falling 1 named "§e§l天使の羽 §a§lLv1" to player
  94.         give feather of Feather Falling 1 named "§e§l天使の羽 §a§lLv2" to player
  95.         give feather of Feather Falling 1 named "§e§l大天使の羽 §a§lLv1" to player
  96.         give feather of Feather Falling 1 named "§e§l大天使の羽 §a§lLv2" to player
  97.         give feather of Feather Falling 1 named "§e§l主天使の羽 §a§lLv1" to player
  98.         give feather of Feather Falling 1 named "§e§l主天使の羽 §a§lLv2" to player
  99.         give feather of Feather Falling 1 named "§e§l主天使の羽 §a§lLv3" to player
  100.         give feather of Feather Falling 1 named "§c§l熾天使の羽" to player
  101.  
  102. command /featergod:
  103.     usage: /feater god
  104.     permission: skript.admin
  105.     executable by: player
  106.     trigger:
  107.         give feather of Feather Falling 1 named "§c§l§n神の羽" to player
  108.  
  109. on break:
  110.     player do not have permission "skript.builder"
  111.     cancel event
  112.  
  113. on place:
  114.     player do not have permission "skript.builder"
  115.     cancel event
  116.  
  117. on craft:
  118.     cancel event
  119.  
  120. on spread:
  121.     cancel event
  122.  
  123. on burn:
  124.     cancel event
  125.  
  126. on explosion prime:
  127.     cancel event
  128.  
  129. command /c:
  130.     description: コマンドブロックを入手する
  131.     usage: /c
  132.     permission: skript.admin
  133.     executable by: player
  134.     trigger:
  135.         give command block to player
  136.         give redstone block to player
  137.  
  138. command /en:
  139.     description: エンダーチェストを開く
  140.     usage: /en
  141.     executable by: player
  142.     trigger:
  143.         open the player's ender chest to the player
  144.         command "/playsound minecraft:block.enderchest.open voice %player% ~ ~ ~ 1 1 1"
  145.  
  146. on command "/pl":
  147.     if player doesn't have permission "skript.admin":
  148.         cancel event
  149.         message "§cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error."
  150.  
  151. on command "/plugins":
  152.     if player doesn't have permission "skript.admin":
  153.         cancel event
  154.         message "§cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error."
  155.  
  156. on command "/?":
  157.     if player doesn't have permission "skript.admin":
  158.         cancel event
  159.         message "§cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error."
  160.  
  161. on command "/help":
  162.     if player doesn't have permission "skript.admin":
  163.         cancel event
  164.         message "§cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error."
  165.  
  166. on command "/bukkit:?":
  167.     if player doesn't have permission "skript.admin":
  168.         cancel event
  169.         message "§cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error."
  170.  
  171. on command "/bukkit:pl":
  172.     if player doesn't have permission "skript.admin":
  173.         cancel event
  174.         message "§cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error."
  175.  
  176. on join:
  177.     if {join.%player%} is 1:
  178.         set the join message to "&e%player%さんがサーバーに参加しました。"
  179.         set player tab name to "&7%player%"
  180.         {start} is 1
  181.         {getkinen.%player%} is not set
  182.         give paper named "&b&l公開記念" with lore "&3&l╍╍━━═══[Status]═══━━╍╍","&6&lタイプ: &6&l[交換アイテム]","&a&lTASRPG2公開記念","&a&l色々なものに交換できる" and "&3&l╍╍━━════════════━━╍╍" to player
  183.         set {getkinen.%player%} to 1
  184.     else:
  185.         command "/tp %player% 0 4 0"
  186.         set the join message to "&d%player%さんがサーバーに初参加しました。"
  187.         wait a tick
  188.         set {checkpoint.%player%} to location of player
  189.         set {join.%player%} to 1
  190.         {start} is 1
  191.         {getkinen.%player%} is not set
  192.         give paper named "&b&l公開記念" with lore "&3&l╍╍━━═══[Status]═══━━╍╍","&6&lタイプ: &6&l[交換アイテム]","&a&lTASRPG2公開記念","&a&l色々なものに交換できる" and "&3&l╍╍━━════════════━━╍╍" to player
  193.         set {getkinen.%player%} to 1
  194.  
  195. on quit:
  196.     set the quit message to "&e%player%さんがサーバーから退出しました。"
  197.  
  198. every 15 minutes:
  199.     loop all players:
  200.         give paper named "&6&lタイムボーナスチケット" with lore "&3&l╍╍━━═══[Status]═══━━╍╍","&6&lタイプ: &6&l[交換アイテム]","&a&l15分ごとにもらえるチケット","&a&l色々なものに交換できる" and "&3&l╍╍━━════════════━━╍╍" to loop-player
  201.     broadcast "&a&lタイムボーナスチケットを配布しました"
  202.  
  203. command /fakemute <player>:
  204.    permission: fakemute
  205.    trigger:
  206.       {fakemute.%arg' uuid%} is set:
  207.          delete {NoChat.%arg' uuid%}
  208.          send "%arg%&7のチャットを許可"
  209.          stop
  210.       {NoChat.%arg' uuid%} is not set:
  211.          set {NoChat.%arg' uuid%} to 1
  212.          send "%arg%&7のチャットを禁止"
  213.          stop
  214.  
  215. on command:
  216.     sender is player:
  217.         {krsk.cmdlog} is true:
  218.             send "&7[CMD]%sender%: /%full command%" to ops
  219.  
  220. command /cmdlog:
  221.     permission: op
  222.     trigger:
  223.         {krsk.cmdlog} is true:
  224.             set {krsk.cmdlog} to false
  225.             send "&7[&aCMDLOG&7]:&bコマンドログを&c非表示&bにしました"
  226.             stop
  227.         set {krsk.cmdlog} to true
  228.         send "&7[&aCMDLOG&7]:&bコマンドログを&a表示&bにしました"
  229.  
  230. command /die:
  231.     trigger:
  232.         execute console command "/kill %player%"
  233.  
  234. on rightclick:
  235.     block is a sign
  236.     line 1 of clicked block is "§3§l=========="
  237.     line 2 of clicked block is "§b§lスポーンポイント"
  238.     line 3 of clicked block is "§a§l[右クリック]"
  239.     line 4 of clicked block is "§3§l=========="
  240.     execute console command "/spawnpoint %player%"
  241.     message "<aqua>スポーンポイントを設定しました!"
  242.     execute console command "/playsound minecraft:block.note.pling master %player% ~ ~ ~ 1 2 1"
  243.  
  244. on rightclick:
  245.     block is a sign
  246.     line 1 of clicked block is "§3§l=========="
  247.     line 2 of clicked block is "§e§lログインボーナス"
  248.     line 3 of clicked block is "§c§l[右クリック]"
  249.     line 4 of clicked block is "§3§l=========="
  250.     difference between {dailyreward.%player%.time} and now is less than 8 hours:
  251.         send "&6ログインボーナスは8時間ごとに受け取れます!" to player
  252.         stop
  253.     give paper named "&6&lログインボーナス" with lore "&3&l╍╍━━═══[Status]═══━━╍╍","&6&lタイプ: &6&l[交換アイテム]","&a&l8時間ごとに看板からもらえる","&a&l色々なものに交換できる" and "&3&l╍╍━━════════════━━╍╍" to player
  254.     broadcast "&6%player%さんがログインボーナスを受け取りました!"
  255.     set {dailyreward.%player%.time} to now
  256.     stop
  257.  
  258. command /votedo <player>:
  259.     executable by: console
  260.     trigger:
  261.         give paper named "&c&l投票ボーナス" with lore "&3&l╍╍━━═══[Status]═══━━╍╍","&6&lタイプ: &6&l[交換アイテム]","&a&l投票するともらえる","&a&l色々なものに交換できる" and "&3&l╍╍━━════════════━━╍╍" to arg 1
  262.         broadcast "&6&l%arg 1%さんが投票して&c&l投票ボーナス&6&lを手に入れました"
  263.  
  264. on chat:
  265.     cancel event
  266.     if {pre.%player%} is 1:
  267.         broadcast "&7[&cOWNER&7] &6&l%player%&b: &r%message%"
  268.         stop
  269.     if {pre.%player%} is 2:
  270.         broadcast "&7[&9Builder&7] &6&l%player%&b: &r%message%"
  271.         stop
  272.     if {pre.%player%} is 3:
  273.         broadcast "&7[&aSupporter&7] &6&l%player%&b: &r%message%"
  274.         stop
  275.     else:
  276.         broadcast "&6&l%player%&b: &r%message%"
  277.  
  278. command /preset [<player>] [<number>]:
  279.     permission: prefix.set
  280.     usage: /setprefix
  281.     trigger:
  282.         set {pre.%arg-1%} to arg-2
  283.  
  284. command /predel [<player>]:
  285.     permission: prefix.set
  286.     usage: /setprefix
  287.     trigger:
  288.         delete {pre.%arg-1%}
  289.  
  290. on fishing:
  291.     if "%fishing state%" is "CAUGHT_FISH":
  292.         clear caught item
  293.  
  294. command /damagelog [<string>]:
  295.     trigger:
  296.         if arg 1 is not set:
  297.             if {damagelog.%player%} is 1:
  298.                 set {damagelog.%player%} to 0
  299.                 message "&6&lダメージログをオフにしました"
  300.             else:
  301.                 set {damagelog.%player%} to 1
  302.                 message "&6&lダメージログをオンにしました"
  303.         else if arg 1 is "on":
  304.             set {damagelog.%player%} to 1
  305.             message "&6&lダメージログをオンにしました"
  306.         else if arg 1 is "off":
  307.             set {damagelog.%player%} to 0
  308.             message "&6&lダメージログをオフにしました"
  309.  
  310. on rightclick:
  311.     set {maxhpplay.%player%} to max health of player
  312.     player's health is not {maxhpplay.%player%}
  313.     if name of held item is "&c&l回復結晶 &6&lLv.1":
  314.         add 5 to the player's health
  315.         remove 1 of held item from player
  316.     if name of held item is "&c&l回復結晶 &6&lLv.2":
  317.         add 10 to the player's health
  318.         remove 1 of held item from player
  319.     if name of held item is "&c&l回復結晶 &6&lLv.3":
  320.         add 15 to the player's health
  321.         remove 1 of held item from player
  322.     if name of held item is "&c&l回復結晶 &6&lLv.4":
  323.         add 20 to the player's health
  324.         remove 1 of held item from player
  325.  
  326. on rightclick:
  327.     if name of held item is "&3&l魔力結晶 &6&lLv.1":
  328.         execute console command "/class mana %player% 10"
  329.         remove 1 of held item from player
  330.     if name of held item is "&3&l魔力結晶 &6&lLv.2":
  331.         execute console command "/class mana %player% 20"
  332.         remove 1 of held item from player
  333.     if name of held item is "&3&l魔力結晶 &6&lLv.3":
  334.         execute console command "/class mana %player% 30"
  335.         remove 1 of held item from player
  336.     if name of held item is "&3&l魔力結晶 &6&lLv.4":
  337.         execute console command "/class mana %player% 40"
  338.         remove 1 of held item from player
  339.  
  340. command /wiki:
  341.     trigger:
  342.         execute console command "/tell %player% https://tasrpg2.playing.wiki/d/%a5%c8%a5%c3%a5%d7%a5%da%a1%bc%a5%b8"
  343.  
  344. command /discord:
  345.     trigger:
  346.         execute console command "/tell %player% https://discord.gg/yJ6WMt5"
  347.  
  348. on rightclick on anvil:
  349.     block under the event-block is iron block
  350.     cancel event
  351.     if name of held item contains "&r&c&l":
  352.         if {tool.%player%} is set:
  353.             message "&c既に武器がセットされています"
  354.         else if {tool.%player%} is not set:
  355.             set {tool.%player%} to player's tool
  356.             set {tool.name.%player%} to name of player's tool
  357.             delete player's tool
  358.             message "&a武器をセットしました"
  359.             stop
  360.     else if name of held item is "&c&l&n強化石":
  361.         if {tool.%player%} is not set:
  362.             message "&c武器がセットされていません"
  363.         else:
  364.             {tool.name.%player%} contains "&r&c&l"
  365.             set {tool.name.%player%} to name of {tool.%player%}
  366.             set {retool.name.%player%} to {tool.name.%player%}
  367.             replace "&1" with "" in {tool.name.%player%}
  368.             replace "&2" with "" in {tool.name.%player%}
  369.             replace "&3" with "" in {tool.name.%player%}
  370.             replace "&4" with "" in {tool.name.%player%}
  371.             replace "&5" with "" in {tool.name.%player%}
  372.             replace "&6" with "" in {tool.name.%player%}
  373.             replace "&7" with "" in {tool.name.%player%}
  374.             replace "&8" with "" in {tool.name.%player%}
  375.             replace "&9" with "" in {tool.name.%player%}
  376.             if name of {tool.%player%} contains "10":
  377.                 message "&cこの武器はすでに強化値が10なのでこれ以上強化でません"
  378.                 message "&cこれ以上強化するには限界突破をしてください"
  379.             else if {tool.name.%player%} contains "1":
  380.                 play sound "block.anvil.use" with pitch 2 at player
  381.                 remove 1 of held item from player
  382.                 set {percent.%player%} to random integer between 1 and 10
  383.                 if {percent.%player%} is 1:
  384.                     replace "&r&c&l+1" with "&r&c&l+3" in {retool.name.%player%}
  385.                     set the name of {tool.%player%} to {retool.name.%player%}
  386.                     message "&c&l[強化大成功] &a&l強化前 +&6&l1 &6→ &c&l強化後 +&6&l3"
  387.                 else if {percent.%player%} is between 2 and 5:
  388.                     replace "&r&c&l+1" with "&r&c&l+2" in {retool.name.%player%}
  389.                     set the name of {tool.%player%} to {retool.name.%player%}
  390.                     message "&c&l[強化成功] &a&l強化前 +&6&l1 &6→ &c&l強化後 +&6&l2"
  391.                 else if {percent.%player%} is between 6 and 9:
  392.                     replace "&r&c&l+1" with "&r&c&l" in {retool.name.%player%}
  393.                     set the name of {tool.%player%} to {retool.name.%player%}
  394.                     message "&3&l[強化失敗] &c&l強化後 +&6&l0"
  395.                 else if {percent.%player%} is 10:
  396.                     replace "&r&c&l+1" with "&r&c&l" in {retool.name.%player%}
  397.                     set the name of {tool.%player%} to {retool.name.%player%}
  398.                     message "&3&l[強化大失敗] &c&l強化後 +&6&l0"
  399.             else if {tool.name.%player%} contains "2":
  400.                 play sound "block.anvil.use" with pitch 2 at player
  401.                 remove 1 of held item from player
  402.                 set {percent.%player%} to random integer between 1 and 10
  403.                 if {percent.%player%} is 1:
  404.                     replace "&r&c&l+2" with "&r&c&l+4" in {retool.name.%player%}
  405.                     set the name of {tool.%player%} to {retool.name.%player%}
  406.                     message "&c&l[強化大成功] &a&l強化前 +&6&l2 &6→ &c&l強化後 +&6&l4"
  407.                 else if {percent.%player%} is between 2 and 5:
  408.                     replace "&r&c&l+2" with "&r&c&l+3" in {retool.name.%player%}
  409.                     set the name of {tool.%player%} to {retool.name.%player%}
  410.                     message "&c&l[強化成功] &a&l強化前 +&6&l2 &6→ &c&l強化後 +&6&l3"
  411.                 else if {percent.%player%} is between 6 and 9:
  412.                     replace "&r&c&l+2" with "&r&c&l+1" in {retool.name.%player%}
  413.                     set the name of {tool.%player%} to {retool.name.%player%}
  414.                     message "&3&l[強化失敗] &a&l強化前 +&6&l2 &6→ &c&l強化後 +&6&l1"
  415.                 else if {percent.%player%} is 10:
  416.                     replace "&r&c&l+2" with "&r&c&l" in {retool.name.%player%}
  417.                     set the name of {tool.%player%} to {retool.name.%player%}
  418.                     message "&3&l[強化大失敗] &c&l強化後 +&6&l0"
  419.             else if {tool.name.%player%} contains "3":
  420.                 play sound "block.anvil.use" with pitch 2 at player
  421.                 remove 1 of held item from player
  422.                 set {percent.%player%} to random integer between 1 and 10
  423.                 if {percent.%player%} is 1:
  424.                     replace "&r&c&l+3" with "&r&c&l+5" in {retool.name.%player%}
  425.                     set the name of {tool.%player%} to {retool.name.%player%}
  426.                     message "&c&l[強化大成功] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l5"
  427.                 else if {percent.%player%} is between 2 and 5:
  428.                     replace "&r&c&l+3" with "&r&c&l+4" in {retool.name.%player%}
  429.                     set the name of {tool.%player%} to {retool.name.%player%}
  430.                     message "&c&l[強化成功] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l4"
  431.                 else if {percent.%player%} is between 6 and 9:
  432.                     replace "&r&c&l+3" with "&r&c&l+2" in {retool.name.%player%}
  433.                     set the name of {tool.%player%} to {retool.name.%player%}
  434.                     message "&3&l[強化失敗] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l2"
  435.                 else if {percent.%player%} is 10:
  436.                     replace "&r&c&l+3" with "&r&c&l+1" in {retool.name.%player%}
  437.                     set the name of {tool.%player%} to {retool.name.%player%}
  438.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l1"
  439.             else if {tool.name.%player%} contains "4":
  440.                 play sound "block.anvil.use" with pitch 2 at player
  441.                 remove 1 of held item from player
  442.                 set {percent.%player%} to random integer between 1 and 10
  443.                 if {percent.%player%} is 1:
  444.                     replace "&r&c&l+4" with "&r&c&l+6" in {retool.name.%player%}
  445.                     set the name of {tool.%player%} to {retool.name.%player%}
  446.                     message "&c&l[強化大成功] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l6"
  447.                 else if {percent.%player%} is between 2 and 5:
  448.                     replace "&r&c&l+4" with "&r&c&l+5" in {retool.name.%player%}
  449.                     set the name of {tool.%player%} to {retool.name.%player%}
  450.                     message "&c&l[強化成功] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l5"
  451.                 else if {percent.%player%} is between 6 and 9:
  452.                     replace "&r&c&l+4" with "&r&c&l+3" in {retool.name.%player%}
  453.                     set the name of {tool.%player%} to {retool.name.%player%}
  454.                     message "&3&l[強化失敗] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l3"
  455.                 else if {percent.%player%} is 10:
  456.                     replace "&r&c&l+4" with "&r&c&l+2" in {retool.name.%player%}
  457.                     set the name of {tool.%player%} to {retool.name.%player%}
  458.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l2"
  459.             else if {tool.name.%player%} contains "5":
  460.                 play sound "block.anvil.use" with pitch 2 at player
  461.                 remove 1 of held item from player
  462.                 set {percent.%player%} to random integer between 1 and 10
  463.                 if {percent.%player%} is 1:
  464.                     replace "&r&c&l+5" with "&r&c&l+7" in {retool.name.%player%}
  465.                     set the name of {tool.%player%} to {retool.name.%player%}
  466.                     message "&c&l[強化大成功] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l7"
  467.                 else if {percent.%player%} is between 2 and 5:
  468.                     replace "&r&c&l+5" with "&r&c&l+6" in {retool.name.%player%}
  469.                     set the name of {tool.%player%} to {retool.name.%player%}
  470.                     message "&c&l[強化成功] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l6"
  471.                 else if {percent.%player%} is between 6 and 9:
  472.                     replace "&r&c&l+5" with "&r&c&l+4" in {retool.name.%player%}
  473.                     set the name of {tool.%player%} to {retool.name.%player%}
  474.                     message "&3&l[強化失敗] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l4"
  475.                 else if {percent.%player%} is 10:
  476.                     replace "&r&c&l+5" with "&r&c&l+3" in {retool.name.%player%}
  477.                     set the name of {tool.%player%} to {retool.name.%player%}
  478.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l3"
  479.             else if {tool.name.%player%} contains "6":
  480.                 play sound "block.anvil.use" with pitch 2 at player
  481.                 remove 1 of held item from player
  482.                 set {percent.%player%} to random integer between 1 and 10
  483.                 if {percent.%player%} is 1:
  484.                     replace "&r&c&l+6" with "&r&c&l+8" in {retool.name.%player%}
  485.                     set the name of {tool.%player%} to {retool.name.%player%}
  486.                     message "&c&l[強化大成功] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l8"
  487.                 else if {percent.%player%} is between 2 and 5:
  488.                     replace "&r&c&l+6" with "&r&c&l+7" in {retool.name.%player%}
  489.                     set the name of {tool.%player%} to {retool.name.%player%}
  490.                     message "&c&l[強化成功] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l7"
  491.                 else if {percent.%player%} is between 6 and 9:
  492.                     replace "&r&c&l+6" with "&r&c&l+5" in {retool.name.%player%}
  493.                     set the name of {tool.%player%} to {retool.name.%player%}
  494.                     message "&3&l[強化失敗] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l5"
  495.                 else if {percent.%player%} is 10:
  496.                     replace "&r&c&l+6" with "&r&c&l+4" in {retool.name.%player%}
  497.                     set the name of {tool.%player%} to {retool.name.%player%}
  498.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l4"
  499.             else if {tool.name.%player%} contains "7":
  500.                 play sound "block.anvil.use" with pitch 2 at player
  501.                 remove 1 of held item from player
  502.                 set {percent.%player%} to random integer between 1 and 10
  503.                 if {percent.%player%} is 1:
  504.                     replace "&r&c&l+7" with "&r&c&l+9" in {retool.name.%player%}
  505.                     set the name of {tool.%player%} to {retool.name.%player%}
  506.                     message "&c&l[強化大成功] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l9"
  507.                 else if {percent.%player%} is between 2 and 5:
  508.                     replace "&r&c&l+7" with "&r&c&l+8" in {retool.name.%player%}
  509.                     set the name of {tool.%player%} to {retool.name.%player%}
  510.                     message "&c&l[強化成功] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l8"
  511.                 else if {percent.%player%} is between 6 and 9:
  512.                     replace "&r&c&l+7" with "&r&c&l+6" in {retool.name.%player%}
  513.                     set the name of {tool.%player%} to {retool.name.%player%}
  514.                     message "&3&l[強化失敗] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l6"
  515.                 else if {percent.%player%} is 10:
  516.                     replace "&r&c&l+7" with "&r&c&l+5" in {retool.name.%player%}
  517.                     set the name of {tool.%player%} to {retool.name.%player%}
  518.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l5"
  519.             else if {tool.name.%player%} contains "8":
  520.                 message "%{tool.name.%player%}%"
  521.                 play sound "block.anvil.use" with pitch 2 at player
  522.                 remove 1 of held item from player
  523.                 set {percent.%player%} to random integer between 1 and 10
  524.                 if {percent.%player%} is 1:
  525.                     replace "&r&c&l+8" with "&r&c&l+10" in {retool.name.%player%}
  526.                     set the name of {tool.%player%} to {retool.name.%player%}
  527.                     message "&c&l[強化大成功] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l10"
  528.                 else if {percent.%player%} is between 2 and 5:
  529.                     replace "&r&c&l+8" with "&r&c&l+9" in {retool.name.%player%}
  530.                     set the name of {tool.%player%} to {retool.name.%player%}
  531.                     message "&c&l[強化成功] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l9"
  532.                 else if {percent.%player%} is between 6 and 9:
  533.                     replace "&r&c&l+8" with "&r&c&l+7" in {retool.name.%player%}
  534.                     set the name of {tool.%player%} to {retool.name.%player%}
  535.                     message "&3&l[強化失敗] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l7"
  536.                 else if {percent.%player%} is 10:
  537.                     replace "&r&c&l+8" with "&r&c&l+6" in {retool.name.%player%}
  538.                     set the name of {tool.%player%} to {retool.name.%player%}
  539.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l6"
  540.             else if {tool.name.%player%} contains "9":
  541.                 play sound "block.anvil.use" with pitch 2 at player
  542.                 remove 1 of held item from player
  543.                 set {percent.%player%} to random integer between 1 and 10
  544.                 if {percent.%player%} is 1:
  545.                     replace "&r&c&l+9" with "&r&c&l+10" in {retool.name.%player%}
  546.                     set the name of {tool.%player%} to {retool.name.%player%}
  547.                     message "&c&l[強化大成功] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l10"
  548.                 else if {percent.%player%} is between 2 and 5:
  549.                     replace "&r&c&l+9" with "&r&c&l+10" in {retool.name.%player%}
  550.                     set the name of {tool.%player%} to {retool.name.%player%}
  551.                     message "&c&l[強化成功] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l10"
  552.                 else if {percent.%player%} is between 6 and 9:
  553.                     replace "&r&c&l+9" with "&r&c&l+8" in {retool.name.%player%}
  554.                     set the name of {tool.%player%} to {retool.name.%player%}
  555.                     message "&3&l[強化失敗] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l8"
  556.                 else if {percent.%player%} is 10:
  557.                     replace "&r&c&l+9" with "&r&c&l+7" in {retool.name.%player%}
  558.                     set the name of {tool.%player%} to {retool.name.%player%}
  559.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l7"
  560.             else:
  561.                 play sound "block.anvil.use" with pitch 2 at player
  562.                 remove 1 of held item from player
  563.                 set {percent.%player%} to random integer between 1 and 10
  564.                 if {percent.%player%} is 1:
  565.                     replace "&r&c&l" with "&r&c&l+2" in {retool.name.%player%}
  566.                     set the name of {tool.%player%} to {retool.name.%player%}
  567.                     message "&c&l[強化大成功] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l2"
  568.                 else if {percent.%player%} is between 2 and 5:
  569.                     replace "&r&c&l" with "&r&c&l+1" in {retool.name.%player%}
  570.                     set the name of {tool.%player%} to {retool.name.%player%}
  571.                     message "&c&l[強化成功] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l1"
  572.                 else if {percent.%player%} is between 6 and 9:
  573.                     message "&3&l[強化失敗] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l0"
  574.                 else if {percent.%player%} is 10:
  575.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l0"
  576.     if name of held item contains "&r&4&l":
  577.         if {tool.%player%} is set:
  578.             message "&c既に武器がセットされています"
  579.         else if {tool.%player%} is not set:
  580.             set {tool.%player%} to player's tool
  581.             set {tool.name.%player%} to name of player's tool
  582.             delete player's tool
  583.             message "&a武器をセットしました"
  584.             stop
  585.     else if name of held item is "&c&l&n強化石":
  586.         if {tool.%player%} is not set:
  587.             message "&c武器がセットされていません"
  588.         else:
  589.             name of {tool.%player%} contains "&r&4&l"
  590.             set {tool.name.%player%} to name of {tool.%player%}
  591.             set {retool.name.%player%} to {tool.name.%player%}
  592.             replace "&1" with "" in {tool.name.%player%}
  593.             replace "&2" with "" in {tool.name.%player%}
  594.             replace "&3" with "" in {tool.name.%player%}
  595.             replace "&4" with "" in {tool.name.%player%}
  596.             replace "&5" with "" in {tool.name.%player%}
  597.             replace "&6" with "" in {tool.name.%player%}
  598.             replace "&7" with "" in {tool.name.%player%}
  599.             replace "&8" with "" in {tool.name.%player%}
  600.             replace "&9" with "" in {tool.name.%player%}
  601.             if name of {tool.%player%} contains "20":
  602.                 message "&cこの武器はすでに強化値が20なのでこれ以上強化でません"
  603.                 message "&cこれ以上強化するには限界突破をしてください"
  604.             else if {tool.name.%player%} contains "10":
  605.                 play sound "block.anvil.use" with pitch 2 at player
  606.                 remove 1 of held item from player
  607.                 set {percent.%player%} to random integer between 1 and 10
  608.                 if {percent.%player%} is 1:
  609.                     replace "&r&4&l+10" with "&r&4&l+12" in {retool.name.%player%}
  610.                     set the name of {tool.%player%} to {retool.name.%player%}
  611.                     message "&c&l[強化大成功] &a&l強化前 +&6&l10 &6→ &c&l強化後 +&6&l12"
  612.                 else if {percent.%player%} is between 2 and 5:
  613.                     replace "&r&4&l+10" with "&r&4&l+11" in {retool.name.%player%}
  614.                     set the name of {tool.%player%} to {retool.name.%player%}
  615.                     message "&c&l[強化成功] &a&l強化前 +&6&l10 &6→ &c&l強化後 +&6&l11"
  616.                 else if {percent.%player%} is between 6 and 9:
  617.                     replace "&r&4&l+10" with "&r&4&l+9" in {retool.name.%player%}
  618.                     set the name of {tool.%player%} to {retool.name.%player%}
  619.                     message "&3&l[強化失敗] &a&l強化前 +&6&l10 &6→ &c&l強化後 +&6&l9"
  620.                 else if {percent.%player%} is 10:
  621.                     replace "&r&4&l+10" with "&r&4&l+8" in {retool.name.%player%}
  622.                     set the name of {tool.%player%} to {retool.name.%player%}
  623.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l10 &6→ &c&l強化後 +&6&l8"
  624.             else if {tool.name.%player%} contains "11":
  625.                 play sound "block.anvil.use" with pitch 2 at player
  626.                 remove 1 of held item from player
  627.                 set {percent.%player%} to random integer between 1 and 10
  628.                 if {percent.%player%} is 1:
  629.                     replace "&r&4&l+11" with "&r&4&l+13" in {retool.name.%player%}
  630.                     set the name of {tool.%player%} to {retool.name.%player%}
  631.                     message "&c&l[強化大成功] &a&l強化前 +&6&l11 &6→ &c&l強化後 +&6&l13"
  632.                 else if {percent.%player%} is between 2 and 4:
  633.                     replace "&r&4&l+11" with "&r&4&l+12" in {retool.name.%player%}
  634.                     set the name of {tool.%player%} to {retool.name.%player%}
  635.                     message "&c&l[強化成功] &a&l強化前 +&6&l11 &6→ &c&l強化後 +&6&l12"
  636.                 else if {percent.%player%} is between 5 and 9:
  637.                     replace "&r&4&l+11" with "&r&4&l+10" in {retool.name.%player%}
  638.                     set the name of {tool.%player%} to {retool.name.%player%}
  639.                     message "&3&l[強化失敗] &a&l強化前 +&6&l11 &6→ &c&l強化後 +&6&l10"
  640.                 else if {percent.%player%} is 10:
  641.                     replace "&r&4&l+11" with "&r&4&l+9" in {retool.name.%player%}
  642.                     set the name of {tool.%player%} to {retool.name.%player%}
  643.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l11 &6→ &c&l強化後 +&6&l9"
  644.             else if {tool.name.%player%} contains "12":
  645.                 play sound "block.anvil.use" with pitch 2 at player
  646.                 remove 1 of held item from player
  647.                 set {percent.%player%} to random integer between 1 and 10
  648.                 if {percent.%player%} is 1:
  649.                     replace "&r&4&l+12" with "&r&4&l+14" in {retool.name.%player%}
  650.                     set the name of {tool.%player%} to {retool.name.%player%}
  651.                     message "&c&l[強化大成功] &a&l強化前 +&6&l12 &6→ &c&l強化後 +&6&l14"
  652.                 else if {percent.%player%} is between 2 and 4:
  653.                     replace "&r&4&l+12" with "&r&4&l+13" in {retool.name.%player%}
  654.                     set the name of {tool.%player%} to {retool.name.%player%}
  655.                     message "&c&l[強化成功] &a&l強化前 +&6&l12 &6→ &c&l強化後 +&6&l13"
  656.                 else if {percent.%player%} is between 5 and 9:
  657.                     replace "&r&4&l+12" with "&r&4&l+11" in {retool.name.%player%}
  658.                     set the name of {tool.%player%} to {retool.name.%player%}
  659.                     message "&3&l[強化失敗] &a&l強化前 +&6&l12 &6→ &c&l強化後 +&6&l11"
  660.                 else if {percent.%player%} is 10:
  661.                     replace "&r&4&l+12" with "&r&4&l+10" in {retool.name.%player%}
  662.                     set the name of {tool.%player%} to {retool.name.%player%}
  663.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l12 &6→ &c&l強化後 +&6&l10"
  664.             else if {tool.name.%player%} contains "13":
  665.                 play sound "block.anvil.use" with pitch 2 at player
  666.                 remove 1 of held item from player
  667.                 set {percent.%player%} to random integer between 1 and 10
  668.                 if {percent.%player%} is 1:
  669.                     replace "&r&4&l+13" with "&r&4&l+15" in {retool.name.%player%}
  670.                     set the name of {tool.%player%} to {retool.name.%player%}
  671.                     message "&c&l[強化大成功] &a&l強化前 +&6&l13 &6→ &c&l強化後 +&6&l15"
  672.                 else if {percent.%player%} is between 2 and 4:
  673.                     replace "&r&4&l+13" with "&r&4&l+14" in {retool.name.%player%}
  674.                     set the name of {tool.%player%} to {retool.name.%player%}
  675.                     message "&c&l[強化成功] &a&l強化前 +&6&l13 &6→ &c&l強化後 +&6&l14"
  676.                 else if {percent.%player%} is between 5 and 9:
  677.                     replace "&r&4&l+13" with "&r&4&l+12" in {retool.name.%player%}
  678.                     set the name of {tool.%player%} to {retool.name.%player%}
  679.                     message "&3&l[強化失敗] &a&l強化前 +&6&l13 &6→ &c&l強化後 +&6&l12"
  680.                 else if {percent.%player%} is 10:
  681.                     replace "&r&4&l+13" with "&r&4&l+11" in {retool.name.%player%}
  682.                     set the name of {tool.%player%} to {retool.name.%player%}
  683.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l13 &6→ &c&l強化後 +&6&l11"
  684.             else if {tool.name.%player%} contains "14":
  685.                 play sound "block.anvil.use" with pitch 2 at player
  686.                 remove 1 of held item from player
  687.                 set {percent.%player%} to random integer between 1 and 10
  688.                 if {percent.%player%} is 1:
  689.                     replace "&r&4&l+14" with "&r&4&l+16" in {retool.name.%player%}
  690.                     set the name of {tool.%player%} to {retool.name.%player%}
  691.                     message "&c&l[強化大成功] &a&l強化前 +&6&l14 &6→ &c&l強化後 +&6&l16"
  692.                 else if {percent.%player%} is between 2 and 4:
  693.                     replace "&r&4&l+14" with "&r&4&l+15" in {retool.name.%player%}
  694.                     set the name of {tool.%player%} to {retool.name.%player%}
  695.                     message "&c&l[強化成功] &a&l強化前 +&6&l14 &6→ &c&l強化後 +&6&l15"
  696.                 else if {percent.%player%} is between 5 and 9:
  697.                     replace "&r&4&l+14" with "&r&4&l+13" in {retool.name.%player%}
  698.                     set the name of {tool.%player%} to {retool.name.%player%}
  699.                     message "&3&l[強化失敗] &a&l強化前 +&6&l14 &6→ &c&l強化後 +&6&l13"
  700.                 else if {percent.%player%} is 10:
  701.                     replace "&r&4&l+14" with "&r&4&l+12" in {retool.name.%player%}
  702.                     set the name of {tool.%player%} to {retool.name.%player%}
  703.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l14 &6→ &c&l強化後 +&6&l12"
  704.             else if {tool.name.%player%} contains "15":
  705.                 play sound "block.anvil.use" with pitch 2 at player
  706.                 remove 1 of held item from player
  707.                 set {percent.%player%} to random integer between 1 and 10
  708.                 if {percent.%player%} is 1:
  709.                     replace "&r&4&l+15" with "&r&4&l+17" in {retool.name.%player%}
  710.                     set the name of {tool.%player%} to {retool.name.%player%}
  711.                     message "&c&l[強化大成功] &a&l強化前 +&6&l15 &6→ &c&l強化後 +&6&l17"
  712.                 else if {percent.%player%} is between 2 and 4:
  713.                     replace "&r&4&l+15" with "&r&4&l+16" in {retool.name.%player%}
  714.                     set the name of {tool.%player%} to {retool.name.%player%}
  715.                     message "&c&l[強化成功] &a&l強化前 +&6&l15 &6→ &c&l強化後 +&6&l16"
  716.                 else if {percent.%player%} is between 5 and 9:
  717.                     replace "&r&4&l+15" with "&r&4&l+14" in {retool.name.%player%}
  718.                     set the name of {tool.%player%} to {retool.name.%player%}
  719.                     message "&3&l[強化失敗] &a&l強化前 +&6&l15 &6→ &c&l強化後 +&6&l14"
  720.                 else if {percent.%player%} is 10:
  721.                     replace "&r&4&l+15" with "&r&4&l+13" in {retool.name.%player%}
  722.                     set the name of {tool.%player%} to {retool.name.%player%}
  723.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l15 &6→ &c&l強化後 +&6&l13"
  724.             else if {tool.name.%player%} contains "16":
  725.                 play sound "block.anvil.use" with pitch 2 at player
  726.                 remove 1 of held item from player
  727.                 set {percent.%player%} to random integer between 1 and 10
  728.                 if {percent.%player%} is 1:
  729.                     replace "&r&4&l+16" with "&r&4&l+18" in {retool.name.%player%}
  730.                     set the name of {tool.%player%} to {retool.name.%player%}
  731.                     message "&c&l[強化大成功] &a&l強化前 +&6&l16 &6→ &c&l強化後 +&6&l18"
  732.                 else if {percent.%player%} is between 2 and 4:
  733.                     replace "&r&4&l+16" with "&r&4&l+17" in {retool.name.%player%}
  734.                     set the name of {tool.%player%} to {retool.name.%player%}
  735.                     message "&c&l[強化成功] &a&l強化前 +&6&l16 &6→ &c&l強化後 +&6&l17"
  736.                 else if {percent.%player%} is between 5 and 9:
  737.                     replace "&r&4&l+16" with "&r&4&l+15" in {retool.name.%player%}
  738.                     set the name of {tool.%player%} to {retool.name.%player%}
  739.                     message "&3&l[強化失敗] &a&l強化前 +&6&l16 &6→ &c&l強化後 +&6&l15"
  740.                 else if {percent.%player%} is 10:
  741.                     replace "&r&4&l+16" with "&r&4&l+14" in {retool.name.%player%}
  742.                     set the name of {tool.%player%} to {retool.name.%player%}
  743.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l16 &6→ &c&l強化後 +&6&l14"
  744.             else if {tool.name.%player%} contains "17":
  745.                 play sound "block.anvil.use" with pitch 2 at player
  746.                 remove 1 of held item from player
  747.                 set {percent.%player%} to random integer between 1 and 10
  748.                 if {percent.%player%} is 1:
  749.                     replace "&r&4&l+17" with "&r&4&l+19" in {retool.name.%player%}
  750.                     set the name of {tool.%player%} to {retool.name.%player%}
  751.                     message "&c&l[強化大成功] &a&l強化前 +&6&l17 &6→ &c&l強化後 +&6&l19"
  752.                 else if {percent.%player%} is between 2 and 4:
  753.                     replace "&r&4&l+17" with "&r&4&l+18" in {retool.name.%player%}
  754.                     set the name of {tool.%player%} to {retool.name.%player%}
  755.                     message "&c&l[強化成功] &a&l強化前 +&6&l17 &6→ &c&l強化後 +&6&l18"
  756.                 else if {percent.%player%} is between 5 and 9:
  757.                     replace "&r&4&l+17" with "&r&4&l+16" in {retool.name.%player%}
  758.                     set the name of {tool.%player%} to {retool.name.%player%}
  759.                     message "&3&l[強化失敗] &a&l強化前 +&6&l17 &6→ &c&l強化後 +&6&l16"
  760.                 else if {percent.%player%} is 10:
  761.                     replace "&r&4&l+17" with "&r&4&l+15" in {retool.name.%player%}
  762.                     set the name of {tool.%player%} to {retool.name.%player%}
  763.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l17 &6→ &c&l強化後 +&6&l15"
  764.             else if {tool.name.%player%} contains "18":
  765.                 play sound "block.anvil.use" with pitch 2 at player
  766.                 remove 1 of held item from player
  767.                 set {percent.%player%} to random integer between 1 and 10
  768.                 if {percent.%player%} is 1:
  769.                     replace "&r&4&l+18" with "&r&4&l+20" in {retool.name.%player%}
  770.                     set the name of {tool.%player%} to {retool.name.%player%}
  771.                     message "&c&l[強化大成功] &a&l強化前 +&6&l18 &6→ &c&l強化後 +&6&l20"
  772.                 else if {percent.%player%} is between 2 and 4:
  773.                     replace "&r&4&l+18" with "&r&4&l+19" in {retool.name.%player%}
  774.                     set the name of {tool.%player%} to {retool.name.%player%}
  775.                     message "&c&l[強化成功] &a&l強化前 +&6&l18 &6→ &c&l強化後 +&6&l19"
  776.                 else if {percent.%player%} is between 5 and 9:
  777.                     replace "&r&4&l+18" with "&r&4&l+17" in {retool.name.%player%}
  778.                     set the name of {tool.%player%} to {retool.name.%player%}
  779.                     message "&3&l[強化失敗] &a&l強化前 +&6&l18 &6→ &c&l強化後 +&6&l17"
  780.                 else if {percent.%player%} is 10:
  781.                     replace "&r&4&l+18" with "&r&4&l+16" in {retool.name.%player%}
  782.                     set the name of {tool.%player%} to {retool.name.%player%}
  783.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l18 &6→ &c&l強化後 +&6&l16"
  784.             else if {tool.name.%player%} contains "19":
  785.                 play sound "block.anvil.use" with pitch 2 at player
  786.                 remove 1 of held item from player
  787.                 set {percent.%player%} to random integer between 1 and 10
  788.                 if {percent.%player%} is 1:
  789.                     replace "&r&4&l+19" with "&r&4&l+20" in {retool.name.%player%}
  790.                     set the name of {tool.%player%} to {retool.name.%player%}
  791.                     message "&c&l[強化大成功] &a&l強化前 +&6&l19 &6→ &c&l強化後 +&6&l20"
  792.                 else if {percent.%player%} is between 2 and 4:
  793.                     replace "&r&4&l+19" with "&r&4&l+20" in {retool.name.%player%}
  794.                     set the name of {tool.%player%} to {retool.name.%player%}
  795.                     message "&c&l[強化成功] &a&l強化前 +&6&l19 &6→ &c&l強化後 +&6&l20"
  796.                 else if {percent.%player%} is between 5 and 9:
  797.                     replace "&r&4&l+19" with "&r&4&l+19" in {retool.name.%player%}
  798.                     set the name of {tool.%player%} to {retool.name.%player%}
  799.                     message "&3&l[強化失敗] &a&l強化前 +&6&l19 &6→ &c&l強化後 +&6&l19"
  800.                 else if {percent.%player%} is 10:
  801.                     replace "&r&4&l+19" with "&r&4&l+18" in {retool.name.%player%}
  802.                     set the name of {tool.%player%} to {retool.name.%player%}
  803.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l19 &6→ &c&l強化後 +&6&l18"
  804.             else if {tool.name.%player%} contains "1":
  805.                 play sound "block.anvil.use" with pitch 2 at player
  806.                 remove 1 of held item from player
  807.                 set {percent.%player%} to random integer between 1 and 10
  808.                 if {percent.%player%} is 1:
  809.                     replace "&r&4&l+1" with "&r&4&l+3" in {retool.name.%player%}
  810.                     set the name of {tool.%player%} to {retool.name.%player%}
  811.                     message "&c&l[強化大成功] &a&l強化前 +&6&l1 &6→ &c&l強化後 +&6&l3"
  812.                 else if {percent.%player%} is between 2 and 5:
  813.                     replace "&r&4&l+1" with "&r&4&l+2" in {retool.name.%player%}
  814.                     set the name of {tool.%player%} to {retool.name.%player%}
  815.                     message "&c&l[強化成功] &a&l強化前 +&6&l1 &6→ &c&l強化後 +&6&l2"
  816.                 else if {percent.%player%} is between 6 and 9:
  817.                     replace "&r&4&l+1" with "&r&4&l" in {retool.name.%player%}
  818.                     set the name of {tool.%player%} to {retool.name.%player%}
  819.                     message "&3&l[強化失敗] &c&l強化後 +&6&l0"
  820.                 else if {percent.%player%} is 10:
  821.                     replace "&r&4&l+1" with "&r&4&l" in {retool.name.%player%}
  822.                     set the name of {tool.%player%} to {retool.name.%player%}
  823.                     message "&3&l[強化大失敗] &c&l強化後 +&6&l0"
  824.             else if {tool.name.%player%} contains "2":
  825.                 play sound "block.anvil.use" with pitch 2 at player
  826.                 remove 1 of held item from player
  827.                 set {percent.%player%} to random integer between 1 and 10
  828.                 if {percent.%player%} is 1:
  829.                     replace "&r&4&l+2" with "&r&4&l+4" in {retool.name.%player%}
  830.                     set the name of {tool.%player%} to {retool.name.%player%}
  831.                     message "&c&l[強化大成功] &a&l強化前 +&6&l2 &6→ &c&l強化後 +&6&l4"
  832.                 else if {percent.%player%} is between 2 and 5:
  833.                     replace "&r&4&l+2" with "&r&4&l+3" in {retool.name.%player%}
  834.                     set the name of {tool.%player%} to {retool.name.%player%}
  835.                     message "&c&l[強化成功] &a&l強化前 +&6&l2 &6→ &c&l強化後 +&6&l3"
  836.                 else if {percent.%player%} is between 6 and 9:
  837.                     replace "&r&4&l+2" with "&r&4&l+1" in {retool.name.%player%}
  838.                     set the name of {tool.%player%} to {retool.name.%player%}
  839.                     message "&3&l[強化失敗] &a&l強化前 +&6&l2 &6→ &c&l強化後 +&6&l1"
  840.                 else if {percent.%player%} is 10:
  841.                     replace "&r&4&l+2" with "&r&4&l" in {retool.name.%player%}
  842.                     set the name of {tool.%player%} to {retool.name.%player%}
  843.                     message "&3&l[強化大失敗] &c&l強化後 +&6&l0"
  844.             else if {tool.name.%player%} contains "3":
  845.                 play sound "block.anvil.use" with pitch 2 at player
  846.                 remove 1 of held item from player
  847.                 set {percent.%player%} to random integer between 1 and 10
  848.                 if {percent.%player%} is 1:
  849.                     replace "&r&4&l+3" with "&r&4&l+5" in {retool.name.%player%}
  850.                     set the name of {tool.%player%} to {retool.name.%player%}
  851.                     message "&c&l[強化大成功] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l5"
  852.                 else if {percent.%player%} is between 2 and 5:
  853.                     replace "&r&4&l+3" with "&r&4&l+4" in {retool.name.%player%}
  854.                     set the name of {tool.%player%} to {retool.name.%player%}
  855.                     message "&c&l[強化成功] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l4"
  856.                 else if {percent.%player%} is between 6 and 9:
  857.                     replace "&r&4&l+3" with "&r&4&l+2" in {retool.name.%player%}
  858.                     set the name of {tool.%player%} to {retool.name.%player%}
  859.                     message "&3&l[強化失敗] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l2"
  860.                 else if {percent.%player%} is 10:
  861.                     replace "&r&4&l+3" with "&r&4&l+1" in {retool.name.%player%}
  862.                     set the name of {tool.%player%} to {retool.name.%player%}
  863.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l1"
  864.             else if {tool.name.%player%} contains "4":
  865.                 play sound "block.anvil.use" with pitch 2 at player
  866.                 remove 1 of held item from player
  867.                 set {percent.%player%} to random integer between 1 and 10
  868.                 if {percent.%player%} is 1:
  869.                     replace "&r&4&l+4" with "&r&4&l+6" in {retool.name.%player%}
  870.                     set the name of {tool.%player%} to {retool.name.%player%}
  871.                     message "&c&l[強化大成功] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l6"
  872.                 else if {percent.%player%} is between 2 and 5:
  873.                     replace "&r&4&l+4" with "&r&4&l+5" in {retool.name.%player%}
  874.                     set the name of {tool.%player%} to {retool.name.%player%}
  875.                     message "&c&l[強化成功] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l5"
  876.                 else if {percent.%player%} is between 6 and 9:
  877.                     replace "&r&4&l+4" with "&r&4&l+3" in {retool.name.%player%}
  878.                     set the name of {tool.%player%} to {retool.name.%player%}
  879.                     message "&3&l[強化失敗] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l3"
  880.                 else if {percent.%player%} is 10:
  881.                     replace "&r&4&l+4" with "&r&4&l+2" in {retool.name.%player%}
  882.                     set the name of {tool.%player%} to {retool.name.%player%}
  883.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l2"
  884.             else if {tool.name.%player%} contains "5":
  885.                 play sound "block.anvil.use" with pitch 2 at player
  886.                 remove 1 of held item from player
  887.                 set {percent.%player%} to random integer between 1 and 10
  888.                 if {percent.%player%} is 1:
  889.                     replace "&r&4&l+5" with "&r&4&l+7" in {retool.name.%player%}
  890.                     set the name of {tool.%player%} to {retool.name.%player%}
  891.                     message "&c&l[強化大成功] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l7"
  892.                 else if {percent.%player%} is between 2 and 5:
  893.                     replace "&r&4&l+5" with "&r&4&l+6" in {retool.name.%player%}
  894.                     set the name of {tool.%player%} to {retool.name.%player%}
  895.                     message "&c&l[強化成功] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l6"
  896.                 else if {percent.%player%} is between 6 and 9:
  897.                     replace "&r&4&l+5" with "&r&4&l+4" in {retool.name.%player%}
  898.                     set the name of {tool.%player%} to {retool.name.%player%}
  899.                     message "&3&l[強化失敗] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l4"
  900.                 else if {percent.%player%} is 10:
  901.                     replace "&r&4&l+5" with "&r&4&l+3" in {retool.name.%player%}
  902.                     set the name of {tool.%player%} to {retool.name.%player%}
  903.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l3"
  904.             else if {tool.name.%player%} contains "6":
  905.                 play sound "block.anvil.use" with pitch 2 at player
  906.                 remove 1 of held item from player
  907.                 set {percent.%player%} to random integer between 1 and 10
  908.                 if {percent.%player%} is 1:
  909.                     replace "&r&4&l+6" with "&r&4&l+8" in {retool.name.%player%}
  910.                     set the name of {tool.%player%} to {retool.name.%player%}
  911.                     message "&c&l[強化大成功] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l8"
  912.                 else if {percent.%player%} is between 2 and 5:
  913.                     replace "&r&4&l+6" with "&r&4&l+7" in {retool.name.%player%}
  914.                     set the name of {tool.%player%} to {retool.name.%player%}
  915.                     message "&c&l[強化成功] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l7"
  916.                 else if {percent.%player%} is between 6 and 9:
  917.                     replace "&r&4&l+6" with "&r&4&l+5" in {retool.name.%player%}
  918.                     set the name of {tool.%player%} to {retool.name.%player%}
  919.                     message "&3&l[強化失敗] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l5"
  920.                 else if {percent.%player%} is 10:
  921.                     replace "&r&4&l+6" with "&r&4&l+4" in {retool.name.%player%}
  922.                     set the name of {tool.%player%} to {retool.name.%player%}
  923.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l4"
  924.             else if {tool.name.%player%} contains "7":
  925.                 play sound "block.anvil.use" with pitch 2 at player
  926.                 remove 1 of held item from player
  927.                 set {percent.%player%} to random integer between 1 and 10
  928.                 if {percent.%player%} is 1:
  929.                     replace "&r&4&l+7" with "&r&4&l+9" in {retool.name.%player%}
  930.                     set the name of {tool.%player%} to {retool.name.%player%}
  931.                     message "&c&l[強化大成功] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l9"
  932.                 else if {percent.%player%} is between 2 and 5:
  933.                     replace "&r&4&l+7" with "&r&4&l+8" in {retool.name.%player%}
  934.                     set the name of {tool.%player%} to {retool.name.%player%}
  935.                     message "&c&l[強化成功] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l8"
  936.                 else if {percent.%player%} is between 6 and 9:
  937.                     replace "&r&4&l+7" with "&r&4&l+6" in {retool.name.%player%}
  938.                     set the name of {tool.%player%} to {retool.name.%player%}
  939.                     message "&3&l[強化失敗] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l6"
  940.                 else if {percent.%player%} is 10:
  941.                     replace "&r&4&l+7" with "&r&4&l+5" in {retool.name.%player%}
  942.                     set the name of {tool.%player%} to {retool.name.%player%}
  943.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l5"
  944.             else if {tool.name.%player%} contains "8":
  945.                 play sound "block.anvil.use" with pitch 2 at player
  946.                 remove 1 of held item from player
  947.                 set {percent.%player%} to random integer between 1 and 10
  948.                 if {percent.%player%} is 1:
  949.                     replace "&r&4&l+8" with "&r&4&l+10" in {retool.name.%player%}
  950.                     set the name of {tool.%player%} to {retool.name.%player%}
  951.                     message "&c&l[強化大成功] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l10"
  952.                 else if {percent.%player%} is between 2 and 5:
  953.                     replace "&r&4&l+8" with "&r&4&l+9" in {retool.name.%player%}
  954.                     set the name of {tool.%player%} to {retool.name.%player%}
  955.                     message "&c&l[強化成功] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l9"
  956.                 else if {percent.%player%} is between 6 and 9:
  957.                     replace "&r&4&l+8" with "&r&4&l+7" in {retool.name.%player%}
  958.                     set the name of {tool.%player%} to {retool.name.%player%}
  959.                     message "&3&l[強化失敗] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l7"
  960.                 else if {percent.%player%} is 10:
  961.                     replace "&r&4&l+8" with "&r&4&l+6" in {retool.name.%player%}
  962.                     set the name of {tool.%player%} to {retool.name.%player%}
  963.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l6"
  964.             else if {tool.name.%player%} contains "9":
  965.                 play sound "block.anvil.use" with pitch 2 at player
  966.                 remove 1 of held item from player
  967.                 set {percent.%player%} to random integer between 1 and 10
  968.                 if {percent.%player%} is 1:
  969.                     replace "&r&4&l+9" with "&r&4&l+10" in {retool.name.%player%}
  970.                     set the name of {tool.%player%} to {retool.name.%player%}
  971.                     message "&c&l[強化大成功] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l10"
  972.                 else if {percent.%player%} is between 2 and 5:
  973.                     replace "&r&4&l+9" with "&r&4&l+10" in {retool.name.%player%}
  974.                     set the name of {tool.%player%} to {retool.name.%player%}
  975.                     message "&c&l[強化成功] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l10"
  976.                 else if {percent.%player%} is between 6 and 9:
  977.                     replace "&r&4&l+9" with "&r&4&l+8" in {retool.name.%player%}
  978.                     set the name of {tool.%player%} to {retool.name.%player%}
  979.                     message "&3&l[強化失敗] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l8"
  980.                 else if {percent.%player%} is 10:
  981.                     replace "&r&4&l+9" with "&r&4&l+7" in {retool.name.%player%}
  982.                     set the name of {tool.%player%} to {retool.name.%player%}
  983.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l7"
  984.             else:
  985.                 play sound "block.anvil.use" with pitch 2 at player
  986.                 remove 1 of held item from player
  987.                 set {percent.%player%} to random integer between 1 and 10
  988.                 if {percent.%player%} is 1:
  989.                     replace "&r&4&l" with "&r&4&l+2" in {retool.name.%player%}
  990.                     set the name of {tool.%player%} to {retool.name.%player%}
  991.                     message "&c&l[強化大成功] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l2"
  992.                 else if {percent.%player%} is between 2 and 5:
  993.                     replace "&r&4&l" with "&r&4&l+1" in {retool.name.%player%}
  994.                     set the name of {tool.%player%} to {retool.name.%player%}
  995.                     message "&c&l[強化成功] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l1"
  996.                 else if {percent.%player%} is between 6 and 9:
  997.                     message "&3&l[強化失敗] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l0"
  998.                 else if {percent.%player%} is 10:
  999.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l0"
  1000.  
  1001.     if name of held item contains "&r&5&l":
  1002.         if {tool.%player%} is set:
  1003.             message "&c既に武器がセットされています"
  1004.         else if {tool.%player%} is not set:
  1005.             set {tool.%player%} to player's tool
  1006.             set {tool.name.%player%} to name of player's tool
  1007.             delete player's tool
  1008.             message "&a武器をセットしました"
  1009.             stop
  1010.     else if name of held item is "&c&l&n強化石":
  1011.         if {tool.%player%} is not set:
  1012.             message "&c武器がセットされていません"
  1013.         else:
  1014.             name of {tool.%player%} contains "&r&5&l"
  1015.             set {tool.name.%player%} to name of {tool.%player%}
  1016.             set {retool.name.%player%} to {tool.name.%player%}
  1017.             replace "&1" with "" in {tool.name.%player%}
  1018.             replace "&2" with "" in {tool.name.%player%}
  1019.             replace "&3" with "" in {tool.name.%player%}
  1020.             replace "&4" with "" in {tool.name.%player%}
  1021.             replace "&5" with "" in {tool.name.%player%}
  1022.             replace "&6" with "" in {tool.name.%player%}
  1023.             replace "&7" with "" in {tool.name.%player%}
  1024.             replace "&8" with "" in {tool.name.%player%}
  1025.             replace "&9" with "" in {tool.name.%player%}
  1026.             if name of {tool.%player%} contains "30":
  1027.                 message "&cこの武器はすでに強化値が30なのでこれ以上強化でません"
  1028.                 message "&cこれ以上強化するには限界突破をしてください"
  1029.             else if {tool.name.%player%} contains "10":
  1030.                 play sound "block.anvil.use" with pitch 2 at player
  1031.                 remove 1 of held item from player
  1032.                 set {percent.%player%} to random integer between 1 and 10
  1033.                 if {percent.%player%} is 1:
  1034.                     replace "&r&5&l+10" with "&r&5&l+12" in {retool.name.%player%}
  1035.                     set the name of {tool.%player%} to {retool.name.%player%}
  1036.                     message "&c&l[強化大成功] &a&l強化前 +&6&l10 &6→ &c&l強化後 +&6&l12"
  1037.                 else if {percent.%player%} is between 2 and 5:
  1038.                     replace "&r&5&l+10" with "&r&5&l+11" in {retool.name.%player%}
  1039.                     set the name of {tool.%player%} to {retool.name.%player%}
  1040.                     message "&c&l[強化成功] &a&l強化前 +&6&l10 &6→ &c&l強化後 +&6&l11"
  1041.                 else if {percent.%player%} is between 6 and 9:
  1042.                     replace "&r&5&l+10" with "&r&5&l+9" in {retool.name.%player%}
  1043.                     set the name of {tool.%player%} to {retool.name.%player%}
  1044.                     message "&3&l[強化失敗] &a&l強化前 +&6&l10 &6→ &c&l強化後 +&6&l9"
  1045.                 else if {percent.%player%} is 10:
  1046.                     replace "&r&5&l+10" with "&r&5&l+8" in {retool.name.%player%}
  1047.                     set the name of {tool.%player%} to {retool.name.%player%}
  1048.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l10 &6→ &c&l強化後 +&6&l8"
  1049.             else if {tool.name.%player%} contains "11":
  1050.                 play sound "block.anvil.use" with pitch 2 at player
  1051.                 remove 1 of held item from player
  1052.                 set {percent.%player%} to random integer between 1 and 10
  1053.                 if {percent.%player%} is 1:
  1054.                     replace "&r&5&l+11" with "&r&5&l+13" in {retool.name.%player%}
  1055.                     set the name of {tool.%player%} to {retool.name.%player%}
  1056.                     message "&c&l[強化大成功] &a&l強化前 +&6&l11 &6→ &c&l強化後 +&6&l13"
  1057.                 else if {percent.%player%} is between 2 and 4:
  1058.                     replace "&r&5&l+11" with "&r&5&l+12" in {retool.name.%player%}
  1059.                     set the name of {tool.%player%} to {retool.name.%player%}
  1060.                     message "&c&l[強化成功] &a&l強化前 +&6&l11 &6→ &c&l強化後 +&6&l12"
  1061.                 else if {percent.%player%} is between 5 and 9:
  1062.                     replace "&r&5&l+11" with "&r&5&l+10" in {retool.name.%player%}
  1063.                     set the name of {tool.%player%} to {retool.name.%player%}
  1064.                     message "&3&l[強化失敗] &a&l強化前 +&6&l11 &6→ &c&l強化後 +&6&l10"
  1065.                 else if {percent.%player%} is 10:
  1066.                     replace "&r&5&l+11" with "&r&5&l+9" in {retool.name.%player%}
  1067.                     set the name of {tool.%player%} to {retool.name.%player%}
  1068.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l11 &6→ &c&l強化後 +&6&l9"
  1069.             else if {tool.name.%player%} contains "12":
  1070.                 play sound "block.anvil.use" with pitch 2 at player
  1071.                 remove 1 of held item from player
  1072.                 set {percent.%player%} to random integer between 1 and 10
  1073.                 if {percent.%player%} is 1:
  1074.                     replace "&r&5&l+12" with "&r&5&l+14" in {retool.name.%player%}
  1075.                     set the name of {tool.%player%} to {retool.name.%player%}
  1076.                     message "&c&l[強化大成功] &a&l強化前 +&6&l12 &6→ &c&l強化後 +&6&l14"
  1077.                 else if {percent.%player%} is between 2 and 4:
  1078.                     replace "&r&5&l+12" with "&r&5&l+13" in {retool.name.%player%}
  1079.                     set the name of {tool.%player%} to {retool.name.%player%}
  1080.                     message "&c&l[強化成功] &a&l強化前 +&6&l12 &6→ &c&l強化後 +&6&l13"
  1081.                 else if {percent.%player%} is between 5 and 9:
  1082.                     replace "&r&5&l+12" with "&r&5&l+11" in {retool.name.%player%}
  1083.                     set the name of {tool.%player%} to {retool.name.%player%}
  1084.                     message "&3&l[強化失敗] &a&l強化前 +&6&l12 &6→ &c&l強化後 +&6&l11"
  1085.                 else if {percent.%player%} is 10:
  1086.                     replace "&r&5&l+12" with "&r&5&l+10" in {retool.name.%player%}
  1087.                     set the name of {tool.%player%} to {retool.name.%player%}
  1088.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l12 &6→ &c&l強化後 +&6&l10"
  1089.             else if {tool.name.%player%} contains "13":
  1090.                 play sound "block.anvil.use" with pitch 2 at player
  1091.                 remove 1 of held item from player
  1092.                 set {percent.%player%} to random integer between 1 and 10
  1093.                 if {percent.%player%} is 1:
  1094.                     replace "&r&5&l+13" with "&r&5&l+15" in {retool.name.%player%}
  1095.                     set the name of {tool.%player%} to {retool.name.%player%}
  1096.                     message "&c&l[強化大成功] &a&l強化前 +&6&l13 &6→ &c&l強化後 +&6&l15"
  1097.                 else if {percent.%player%} is between 2 and 4:
  1098.                     replace "&r&5&l+13" with "&r&5&l+14" in {retool.name.%player%}
  1099.                     set the name of {tool.%player%} to {retool.name.%player%}
  1100.                     message "&c&l[強化成功] &a&l強化前 +&6&l13 &6→ &c&l強化後 +&6&l14"
  1101.                 else if {percent.%player%} is between 5 and 9:
  1102.                     replace "&r&5&l+13" with "&r&5&l+12" in {retool.name.%player%}
  1103.                     set the name of {tool.%player%} to {retool.name.%player%}
  1104.                     message "&3&l[強化失敗] &a&l強化前 +&6&l13 &6→ &c&l強化後 +&6&l12"
  1105.                 else if {percent.%player%} is 10:
  1106.                     replace "&r&5&l+13" with "&r&5&l+11" in {retool.name.%player%}
  1107.                     set the name of {tool.%player%} to {retool.name.%player%}
  1108.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l13 &6→ &c&l強化後 +&6&l11"
  1109.             else if {tool.name.%player%} contains "14":
  1110.                 play sound "block.anvil.use" with pitch 2 at player
  1111.                 remove 1 of held item from player
  1112.                 set {percent.%player%} to random integer between 1 and 10
  1113.                 if {percent.%player%} is 1:
  1114.                     replace "&r&5&l+14" with "&r&5&l+16" in {retool.name.%player%}
  1115.                     set the name of {tool.%player%} to {retool.name.%player%}
  1116.                     message "&c&l[強化大成功] &a&l強化前 +&6&l14 &6→ &c&l強化後 +&6&l16"
  1117.                 else if {percent.%player%} is between 2 and 4:
  1118.                     replace "&r&5&l+14" with "&r&5&l+15" in {retool.name.%player%}
  1119.                     set the name of {tool.%player%} to {retool.name.%player%}
  1120.                     message "&c&l[強化成功] &a&l強化前 +&6&l14 &6→ &c&l強化後 +&6&l15"
  1121.                 else if {percent.%player%} is between 5 and 9:
  1122.                     replace "&r&5&l+14" with "&r&5&l+13" in {retool.name.%player%}
  1123.                     set the name of {tool.%player%} to {retool.name.%player%}
  1124.                     message "&3&l[強化失敗] &a&l強化前 +&6&l14 &6→ &c&l強化後 +&6&l13"
  1125.                 else if {percent.%player%} is 10:
  1126.                     replace "&r&5&l+14" with "&r&5&l+12" in {retool.name.%player%}
  1127.                     set the name of {tool.%player%} to {retool.name.%player%}
  1128.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l14 &6→ &c&l強化後 +&6&l12"
  1129.             else if {tool.name.%player%} contains "15":
  1130.                 play sound "block.anvil.use" with pitch 2 at player
  1131.                 remove 1 of held item from player
  1132.                 set {percent.%player%} to random integer between 1 and 10
  1133.                 if {percent.%player%} is 1:
  1134.                     replace "&r&5&l+15" with "&r&5&l+17" in {retool.name.%player%}
  1135.                     set the name of {tool.%player%} to {retool.name.%player%}
  1136.                     message "&c&l[強化大成功] &a&l強化前 +&6&l15 &6→ &c&l強化後 +&6&l17"
  1137.                 else if {percent.%player%} is between 2 and 4:
  1138.                     replace "&r&5&l+15" with "&r&5&l+16" in {retool.name.%player%}
  1139.                     set the name of {tool.%player%} to {retool.name.%player%}
  1140.                     message "&c&l[強化成功] &a&l強化前 +&6&l15 &6→ &c&l強化後 +&6&l16"
  1141.                 else if {percent.%player%} is between 5 and 9:
  1142.                     replace "&r&5&l+15" with "&r&5&l+14" in {retool.name.%player%}
  1143.                     set the name of {tool.%player%} to {retool.name.%player%}
  1144.                     message "&3&l[強化失敗] &a&l強化前 +&6&l15 &6→ &c&l強化後 +&6&l14"
  1145.                 else if {percent.%player%} is 10:
  1146.                     replace "&r&5&l+15" with "&r&5&l+13" in {retool.name.%player%}
  1147.                     set the name of {tool.%player%} to {retool.name.%player%}
  1148.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l15 &6→ &c&l強化後 +&6&l13"
  1149.             else if {tool.name.%player%} contains "16":
  1150.                 play sound "block.anvil.use" with pitch 2 at player
  1151.                 remove 1 of held item from player
  1152.                 set {percent.%player%} to random integer between 1 and 10
  1153.                 if {percent.%player%} is 1:
  1154.                     replace "&r&5&l+16" with "&r&5&l+18" in {retool.name.%player%}
  1155.                     set the name of {tool.%player%} to {retool.name.%player%}
  1156.                     message "&c&l[強化大成功] &a&l強化前 +&6&l16 &6→ &c&l強化後 +&6&l18"
  1157.                 else if {percent.%player%} is between 2 and 4:
  1158.                     replace "&r&5&l+16" with "&r&5&l+17" in {retool.name.%player%}
  1159.                     set the name of {tool.%player%} to {retool.name.%player%}
  1160.                     message "&c&l[強化成功] &a&l強化前 +&6&l16 &6→ &c&l強化後 +&6&l17"
  1161.                 else if {percent.%player%} is between 5 and 9:
  1162.                     replace "&r&5&l+16" with "&r&5&l+15" in {retool.name.%player%}
  1163.                     set the name of {tool.%player%} to {retool.name.%player%}
  1164.                     message "&3&l[強化失敗] &a&l強化前 +&6&l16 &6→ &c&l強化後 +&6&l15"
  1165.                 else if {percent.%player%} is 10:
  1166.                     replace "&r&5&l+16" with "&r&5&l+14" in {retool.name.%player%}
  1167.                     set the name of {tool.%player%} to {retool.name.%player%}
  1168.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l16 &6→ &c&l強化後 +&6&l14"
  1169.             else if {tool.name.%player%} contains "17":
  1170.                 play sound "block.anvil.use" with pitch 2 at player
  1171.                 remove 1 of held item from player
  1172.                 set {percent.%player%} to random integer between 1 and 10
  1173.                 if {percent.%player%} is 1:
  1174.                     replace "&r&5&l+17" with "&r&5&l+19" in {retool.name.%player%}
  1175.                     set the name of {tool.%player%} to {retool.name.%player%}
  1176.                     message "&c&l[強化大成功] &a&l強化前 +&6&l17 &6→ &c&l強化後 +&6&l19"
  1177.                 else if {percent.%player%} is between 2 and 4:
  1178.                     replace "&r&5&l+17" with "&r&5&l+18" in {retool.name.%player%}
  1179.                     set the name of {tool.%player%} to {retool.name.%player%}
  1180.                     message "&c&l[強化成功] &a&l強化前 +&6&l17 &6→ &c&l強化後 +&6&l18"
  1181.                 else if {percent.%player%} is between 5 and 9:
  1182.                     replace "&r&5&l+17" with "&r&5&l+16" in {retool.name.%player%}
  1183.                     set the name of {tool.%player%} to {retool.name.%player%}
  1184.                     message "&3&l[強化失敗] &a&l強化前 +&6&l17 &6→ &c&l強化後 +&6&l16"
  1185.                 else if {percent.%player%} is 10:
  1186.                     replace "&r&5&l+17" with "&r&5&l+15" in {retool.name.%player%}
  1187.                     set the name of {tool.%player%} to {retool.name.%player%}
  1188.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l17 &6→ &c&l強化後 +&6&l15"
  1189.             else if {tool.name.%player%} contains "18":
  1190.                 play sound "block.anvil.use" with pitch 2 at player
  1191.                 remove 1 of held item from player
  1192.                 set {percent.%player%} to random integer between 1 and 10
  1193.                 if {percent.%player%} is 1:
  1194.                     replace "&r&5&l+18" with "&r&5&l+20" in {retool.name.%player%}
  1195.                     set the name of {tool.%player%} to {retool.name.%player%}
  1196.                     message "&c&l[強化大成功] &a&l強化前 +&6&l18 &6→ &c&l強化後 +&6&l20"
  1197.                 else if {percent.%player%} is between 2 and 4:
  1198.                     replace "&r&5&l+18" with "&r&5&l+19" in {retool.name.%player%}
  1199.                     set the name of {tool.%player%} to {retool.name.%player%}
  1200.                     message "&c&l[強化成功] &a&l強化前 +&6&l18 &6→ &c&l強化後 +&6&l19"
  1201.                 else if {percent.%player%} is between 5 and 9:
  1202.                     replace "&r&5&l+18" with "&r&5&l+17" in {retool.name.%player%}
  1203.                     set the name of {tool.%player%} to {retool.name.%player%}
  1204.                     message "&3&l[強化失敗] &a&l強化前 +&6&l18 &6→ &c&l強化後 +&6&l17"
  1205.                 else if {percent.%player%} is 10:
  1206.                     replace "&r&5&l+18" with "&r&5&l+16" in {retool.name.%player%}
  1207.                     set the name of {tool.%player%} to {retool.name.%player%}
  1208.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l18 &6→ &c&l強化後 +&6&l16"
  1209.             else if {tool.name.%player%} contains "19":
  1210.                 play sound "block.anvil.use" with pitch 2 at player
  1211.                 remove 1 of held item from player
  1212.                 set {percent.%player%} to random integer between 1 and 10
  1213.                 if {percent.%player%} is 1:
  1214.                     replace "&r&5&l+19" with "&r&5&l+20" in {retool.name.%player%}
  1215.                     set the name of {tool.%player%} to {retool.name.%player%}
  1216.                     message "&c&l[強化大成功] &a&l強化前 +&6&l19 &6→ &c&l強化後 +&6&l20"
  1217.                 else if {percent.%player%} is between 2 and 4:
  1218.                     replace "&r&5&l+19" with "&r&5&l+20" in {retool.name.%player%}
  1219.                     set the name of {tool.%player%} to {retool.name.%player%}
  1220.                     message "&c&l[強化成功] &a&l強化前 +&6&l19 &6→ &c&l強化後 +&6&l20"
  1221.                 else if {percent.%player%} is between 5 and 9:
  1222.                     replace "&r&5&l+19" with "&r&5&l+19" in {retool.name.%player%}
  1223.                     set the name of {tool.%player%} to {retool.name.%player%}
  1224.                     message "&3&l[強化失敗] &a&l強化前 +&6&l19 &6→ &c&l強化後 +&6&l19"
  1225.                 else if {percent.%player%} is 10:
  1226.                     replace "&r&5&l+19" with "&r&5&l+18" in {retool.name.%player%}
  1227.                     set the name of {tool.%player%} to {retool.name.%player%}
  1228.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l19 &6→ &c&l強化後 +&6&l18"
  1229.             else if {tool.name.%player%} contains "20":
  1230.                 play sound "block.anvil.use" with pitch 2 at player
  1231.                 remove 1 of held item from player
  1232.                 set {percent.%player%} to random integer between 1 and 10
  1233.                 if {percent.%player%} is 1:
  1234.                     replace "&r&5&l+30" with "&r&5&l+22" in {retool.name.%player%}
  1235.                     set the name of {tool.%player%} to {retool.name.%player%}
  1236.                     message "&c&l[強化大成功] &a&l強化前 +&6&l20 &6→ &c&l強化後 +&6&l22"
  1237.                 else if {percent.%player%} is between 2 and 5:
  1238.                     replace "&r&5&l+30" with "&r&5&l+21" in {retool.name.%player%}
  1239.                     set the name of {tool.%player%} to {retool.name.%player%}
  1240.                     message "&c&l[強化成功] &a&l強化前 +&6&l20 &6→ &c&l強化後 +&6&l21"
  1241.                 else if {percent.%player%} is between 6 and 9:
  1242.                     replace "&r&5&l+30" with "&r&5&l+29" in {retool.name.%player%}
  1243.                     set the name of {tool.%player%} to {retool.name.%player%}
  1244.                     message "&3&l[強化失敗] &a&l強化前 +&6&l20 &6→ &c&l強化後 +&6&l19"
  1245.                 else if {percent.%player%} is 10:
  1246.                     replace "&r&5&l+30" with "&r&5&l+28" in {retool.name.%player%}
  1247.                     set the name of {tool.%player%} to {retool.name.%player%}
  1248.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l20 &6→ &c&l強化後 +&6&l18"
  1249.             else if {tool.name.%player%} contains "21":
  1250.                 play sound "block.anvil.use" with pitch 2 at player
  1251.                 remove 1 of held item from player
  1252.                 set {percent.%player%} to random integer between 1 and 10
  1253.                 if {percent.%player%} is 1:
  1254.                     replace "&r&5&l+21" with "&r&5&l+23" in {retool.name.%player%}
  1255.                     set the name of {tool.%player%} to {retool.name.%player%}
  1256.                     message "&c&l[強化大成功] &a&l強化前 +&6&l21 &6→ &c&l強化後 +&6&l23"
  1257.                 else if {percent.%player%} is between 2 and 4:
  1258.                     replace "&r&5&l+21" with "&r&5&l+22" in {retool.name.%player%}
  1259.                     set the name of {tool.%player%} to {retool.name.%player%}
  1260.                     message "&c&l[強化成功] &a&l強化前 +&6&l21 &6→ &c&l強化後 +&6&l22"
  1261.                 else if {percent.%player%} is between 5 and 9:
  1262.                     replace "&r&5&l+21" with "&r&5&l+30" in {retool.name.%player%}
  1263.                     set the name of {tool.%player%} to {retool.name.%player%}
  1264.                     message "&3&l[強化失敗] &a&l強化前 +&6&l21 &6→ &c&l強化後 +&6&l20"
  1265.                 else if {percent.%player%} is 10:
  1266.                     replace "&r&5&l+21" with "&r&5&l+29" in {retool.name.%player%}
  1267.                     set the name of {tool.%player%} to {retool.name.%player%}
  1268.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l21 &6→ &c&l強化後 +&6&l19"
  1269.             else if {tool.name.%player%} contains "22":
  1270.                 play sound "block.anvil.use" with pitch 2 at player
  1271.                 remove 1 of held item from player
  1272.                 set {percent.%player%} to random integer between 1 and 10
  1273.                 if {percent.%player%} is 1:
  1274.                     replace "&r&5&l+22" with "&r&5&l+24" in {retool.name.%player%}
  1275.                     set the name of {tool.%player%} to {retool.name.%player%}
  1276.                     message "&c&l[強化大成功] &a&l強化前 +&6&l22 &6→ &c&l強化後 +&6&l24"
  1277.                 else if {percent.%player%} is between 2 and 4:
  1278.                     replace "&r&5&l+22" with "&r&5&l+23" in {retool.name.%player%}
  1279.                     set the name of {tool.%player%} to {retool.name.%player%}
  1280.                     message "&c&l[強化成功] &a&l強化前 +&6&l22 &6→ &c&l強化後 +&6&l23"
  1281.                 else if {percent.%player%} is between 5 and 9:
  1282.                     replace "&r&5&l+22" with "&r&5&l+11" in {retool.name.%player%}
  1283.                     set the name of {tool.%player%} to {retool.name.%player%}
  1284.                     message "&3&l[強化失敗] &a&l強化前 +&6&l22 &6→ &c&l強化後 +&6&l21"
  1285.                 else if {percent.%player%} is 10:
  1286.                     replace "&r&5&l+22" with "&r&5&l+10" in {retool.name.%player%}
  1287.                     set the name of {tool.%player%} to {retool.name.%player%}
  1288.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l22 &6→ &c&l強化後 +&6&l20"
  1289.             else if {tool.name.%player%} contains "23":
  1290.                 play sound "block.anvil.use" with pitch 2 at player
  1291.                 remove 1 of held item from player
  1292.                 set {percent.%player%} to random integer between 1 and 10
  1293.                 if {percent.%player%} is 1:
  1294.                     replace "&r&5&l+23" with "&r&5&l+25" in {retool.name.%player%}
  1295.                     set the name of {tool.%player%} to {retool.name.%player%}
  1296.                     message "&c&l[強化大成功] &a&l強化前 +&6&l23 &6→ &c&l強化後 +&6&l25"
  1297.                 else if {percent.%player%} is between 2 and 4:
  1298.                     replace "&r&5&l+23" with "&r&5&l+24" in {retool.name.%player%}
  1299.                     set the name of {tool.%player%} to {retool.name.%player%}
  1300.                     message "&c&l[強化成功] &a&l強化前 +&6&l23 &6→ &c&l強化後 +&6&l24"
  1301.                 else if {percent.%player%} is between 5 and 9:
  1302.                     replace "&r&5&l+23" with "&r&5&l+22" in {retool.name.%player%}
  1303.                     set the name of {tool.%player%} to {retool.name.%player%}
  1304.                     message "&3&l[強化失敗] &a&l強化前 +&6&l23 &6→ &c&l強化後 +&6&l22"
  1305.                 else if {percent.%player%} is 10:
  1306.                     replace "&r&5&l+23" with "&r&5&l+11" in {retool.name.%player%}
  1307.                     set the name of {tool.%player%} to {retool.name.%player%}
  1308.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l23 &6→ &c&l強化後 +&6&l21"
  1309.             else if {tool.name.%player%} contains "24":
  1310.                 play sound "block.anvil.use" with pitch 2 at player
  1311.                 remove 1 of held item from player
  1312.                 set {percent.%player%} to random integer between 1 and 10
  1313.                 if {percent.%player%} is 1:
  1314.                     replace "&r&5&l+24" with "&r&5&l+26" in {retool.name.%player%}
  1315.                     set the name of {tool.%player%} to {retool.name.%player%}
  1316.                     message "&c&l[強化大成功] &a&l強化前 +&6&l24 &6→ &c&l強化後 +&6&l26"
  1317.                 else if {percent.%player%} is between 2 and 4:
  1318.                     replace "&r&5&l+24" with "&r&5&l+25" in {retool.name.%player%}
  1319.                     set the name of {tool.%player%} to {retool.name.%player%}
  1320.                     message "&c&l[強化成功] &a&l強化前 +&6&l24 &6→ &c&l強化後 +&6&l25"
  1321.                 else if {percent.%player%} is between 5 and 9:
  1322.                     replace "&r&5&l+24" with "&r&5&l+23" in {retool.name.%player%}
  1323.                     set the name of {tool.%player%} to {retool.name.%player%}
  1324.                     message "&3&l[強化失敗] &a&l強化前 +&6&l24 &6→ &c&l強化後 +&6&l23"
  1325.                 else if {percent.%player%} is 10:
  1326.                     replace "&r&5&l+24" with "&r&5&l+22" in {retool.name.%player%}
  1327.                     set the name of {tool.%player%} to {retool.name.%player%}
  1328.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l24 &6→ &c&l強化後 +&6&l22"
  1329.             else if {tool.name.%player%} contains "25":
  1330.                 play sound "block.anvil.use" with pitch 2 at player
  1331.                 remove 1 of held item from player
  1332.                 set {percent.%player%} to random integer between 1 and 10
  1333.                 if {percent.%player%} is 1:
  1334.                     replace "&r&5&l+25" with "&r&5&l+27" in {retool.name.%player%}
  1335.                     set the name of {tool.%player%} to {retool.name.%player%}
  1336.                     message "&c&l[強化大成功] &a&l強化前 +&6&l25 &6→ &c&l強化後 +&6&l27"
  1337.                 else if {percent.%player%} is between 2 and 4:
  1338.                     replace "&r&5&l+25" with "&r&5&l+26" in {retool.name.%player%}
  1339.                     set the name of {tool.%player%} to {retool.name.%player%}
  1340.                     message "&c&l[強化成功] &a&l強化前 +&6&l25 &6→ &c&l強化後 +&6&l26"
  1341.                 else if {percent.%player%} is between 5 and 9:
  1342.                     replace "&r&5&l+25" with "&r&5&l+24" in {retool.name.%player%}
  1343.                     set the name of {tool.%player%} to {retool.name.%player%}
  1344.                     message "&3&l[強化失敗] &a&l強化前 +&6&l25 &6→ &c&l強化後 +&6&l24"
  1345.                 else if {percent.%player%} is 10:
  1346.                     replace "&r&5&l+25" with "&r&5&l+23" in {retool.name.%player%}
  1347.                     set the name of {tool.%player%} to {retool.name.%player%}
  1348.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l25 &6→ &c&l強化後 +&6&l23"
  1349.             else if {tool.name.%player%} contains "26":
  1350.                 play sound "block.anvil.use" with pitch 2 at player
  1351.                 remove 1 of held item from player
  1352.                 set {percent.%player%} to random integer between 1 and 10
  1353.                 if {percent.%player%} is 1:
  1354.                     replace "&r&5&l+26" with "&r&5&l+28" in {retool.name.%player%}
  1355.                     set the name of {tool.%player%} to {retool.name.%player%}
  1356.                     message "&c&l[強化大成功] &a&l強化前 +&6&l26 &6→ &c&l強化後 +&6&l28"
  1357.                 else if {percent.%player%} is between 2 and 4:
  1358.                     replace "&r&5&l+26" with "&r&5&l+27" in {retool.name.%player%}
  1359.                     set the name of {tool.%player%} to {retool.name.%player%}
  1360.                     message "&c&l[強化成功] &a&l強化前 +&6&l26 &6→ &c&l強化後 +&6&l27"
  1361.                 else if {percent.%player%} is between 5 and 9:
  1362.                     replace "&r&5&l+26" with "&r&5&l+25" in {retool.name.%player%}
  1363.                     set the name of {tool.%player%} to {retool.name.%player%}
  1364.                     message "&3&l[強化失敗] &a&l強化前 +&6&l26 &6→ &c&l強化後 +&6&l25"
  1365.                 else if {percent.%player%} is 10:
  1366.                     replace "&r&5&l+26" with "&r&5&l+24" in {retool.name.%player%}
  1367.                     set the name of {tool.%player%} to {retool.name.%player%}
  1368.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l26 &6→ &c&l強化後 +&6&l24"
  1369.             else if {tool.name.%player%} contains "27":
  1370.                 play sound "block.anvil.use" with pitch 2 at player
  1371.                 remove 1 of held item from player
  1372.                 set {percent.%player%} to random integer between 1 and 10
  1373.                 if {percent.%player%} is 1:
  1374.                     replace "&r&5&l+27" with "&r&5&l+29" in {retool.name.%player%}
  1375.                     set the name of {tool.%player%} to {retool.name.%player%}
  1376.                     message "&c&l[強化大成功] &a&l強化前 +&6&l27 &6→ &c&l強化後 +&6&l29"
  1377.                 else if {percent.%player%} is between 2 and 4:
  1378.                     replace "&r&5&l+27" with "&r&5&l+28" in {retool.name.%player%}
  1379.                     set the name of {tool.%player%} to {retool.name.%player%}
  1380.                     message "&c&l[強化成功] &a&l強化前 +&6&l27 &6→ &c&l強化後 +&6&l28"
  1381.                 else if {percent.%player%} is between 5 and 9:
  1382.                     replace "&r&5&l+27" with "&r&5&l+26" in {retool.name.%player%}
  1383.                     set the name of {tool.%player%} to {retool.name.%player%}
  1384.                     message "&3&l[強化失敗] &a&l強化前 +&6&l27 &6→ &c&l強化後 +&6&l26"
  1385.                 else if {percent.%player%} is 10:
  1386.                     replace "&r&5&l+27" with "&r&5&l+25" in {retool.name.%player%}
  1387.                     set the name of {tool.%player%} to {retool.name.%player%}
  1388.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l27 &6→ &c&l強化後 +&6&l25"
  1389.             else if {tool.name.%player%} contains "28":
  1390.                 play sound "block.anvil.use" with pitch 2 at player
  1391.                 remove 1 of held item from player
  1392.                 set {percent.%player%} to random integer between 1 and 10
  1393.                 if {percent.%player%} is 1:
  1394.                     replace "&r&5&l+28" with "&r&5&l+30" in {retool.name.%player%}
  1395.                     set the name of {tool.%player%} to {retool.name.%player%}
  1396.                     message "&c&l[強化大成功] &a&l強化前 +&6&l28 &6→ &c&l強化後 +&6&l30"
  1397.                 else if {percent.%player%} is between 2 and 4:
  1398.                     replace "&r&5&l+28" with "&r&5&l+29" in {retool.name.%player%}
  1399.                     set the name of {tool.%player%} to {retool.name.%player%}
  1400.                     message "&c&l[強化成功] &a&l強化前 +&6&l28 &6→ &c&l強化後 +&6&l29"
  1401.                 else if {percent.%player%} is between 5 and 9:
  1402.                     replace "&r&5&l+28" with "&r&5&l+27" in {retool.name.%player%}
  1403.                     set the name of {tool.%player%} to {retool.name.%player%}
  1404.                     message "&3&l[強化失敗] &a&l強化前 +&6&l28 &6→ &c&l強化後 +&6&l27"
  1405.                 else if {percent.%player%} is 10:
  1406.                     replace "&r&5&l+28" with "&r&5&l+26" in {retool.name.%player%}
  1407.                     set the name of {tool.%player%} to {retool.name.%player%}
  1408.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l28 &6→ &c&l強化後 +&6&l26"
  1409.             else if {tool.name.%player%} contains "29":
  1410.                 play sound "block.anvil.use" with pitch 2 at player
  1411.                 remove 1 of held item from player
  1412.                 set {percent.%player%} to random integer between 1 and 10
  1413.                 if {percent.%player%} is 1:
  1414.                     replace "&r&5&l+29" with "&r&5&l+30" in {retool.name.%player%}
  1415.                     set the name of {tool.%player%} to {retool.name.%player%}
  1416.                     message "&c&l[強化大成功] &a&l強化前 +&6&l29 &6→ &c&l強化後 +&6&l30"
  1417.                 else if {percent.%player%} is between 2 and 4:
  1418.                     replace "&r&5&l+29" with "&r&5&l+30" in {retool.name.%player%}
  1419.                     set the name of {tool.%player%} to {retool.name.%player%}
  1420.                     message "&c&l[強化成功] &a&l強化前 +&6&l29 &6→ &c&l強化後 +&6&l30"
  1421.                 else if {percent.%player%} is between 5 and 9:
  1422.                     replace "&r&5&l+29" with "&r&5&l+29" in {retool.name.%player%}
  1423.                     set the name of {tool.%player%} to {retool.name.%player%}
  1424.                     message "&3&l[強化失敗] &a&l強化前 +&6&l29 &6→ &c&l強化後 +&6&l29"
  1425.                 else if {percent.%player%} is 10:
  1426.                     replace "&r&5&l+29" with "&r&5&l+28" in {retool.name.%player%}
  1427.                     set the name of {tool.%player%} to {retool.name.%player%}
  1428.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l29 &6→ &c&l強化後 +&6&l28"
  1429.             else if {tool.name.%player%} contains "1":
  1430.                 play sound "block.anvil.use" with pitch 2 at player
  1431.                 remove 1 of held item from player
  1432.                 set {percent.%player%} to random integer between 1 and 10
  1433.                 if {percent.%player%} is 1:
  1434.                     replace "&r&5&l+1" with "&r&5&l+3" in {retool.name.%player%}
  1435.                     set the name of {tool.%player%} to {retool.name.%player%}
  1436.                     message "&c&l[強化大成功] &a&l強化前 +&6&l1 &6→ &c&l強化後 +&6&l3"
  1437.                 else if {percent.%player%} is between 2 and 5:
  1438.                     replace "&r&5&l+1" with "&r&5&l+2" in {retool.name.%player%}
  1439.                     set the name of {tool.%player%} to {retool.name.%player%}
  1440.                     message "&c&l[強化成功] &a&l強化前 +&6&l1 &6→ &c&l強化後 +&6&l2"
  1441.                 else if {percent.%player%} is between 6 and 9:
  1442.                     replace "&r&5&l+1" with "&r&5&l" in {retool.name.%player%}
  1443.                     set the name of {tool.%player%} to {retool.name.%player%}
  1444.                     message "&3&l[強化失敗] &c&l強化後 +&6&l0"
  1445.                 else if {percent.%player%} is 10:
  1446.                     replace "&r&5&l+1" with "&r&5&l" in {retool.name.%player%}
  1447.                     set the name of {tool.%player%} to {retool.name.%player%}
  1448.                     message "&3&l[強化大失敗] &c&l強化後 +&6&l0"
  1449.             else if {tool.name.%player%} contains "2":
  1450.                 play sound "block.anvil.use" with pitch 2 at player
  1451.                 remove 1 of held item from player
  1452.                 set {percent.%player%} to random integer between 1 and 10
  1453.                 if {percent.%player%} is 1:
  1454.                     replace "&r&5&l+2" with "&r&5&l+4" in {retool.name.%player%}
  1455.                     set the name of {tool.%player%} to {retool.name.%player%}
  1456.                     message "&c&l[強化大成功] &a&l強化前 +&6&l2 &6→ &c&l強化後 +&6&l4"
  1457.                 else if {percent.%player%} is between 2 and 5:
  1458.                     replace "&r&5&l+2" with "&r&5&l+3" in {retool.name.%player%}
  1459.                     set the name of {tool.%player%} to {retool.name.%player%}
  1460.                     message "&c&l[強化成功] &a&l強化前 +&6&l2 &6→ &c&l強化後 +&6&l3"
  1461.                 else if {percent.%player%} is between 6 and 9:
  1462.                     replace "&r&5&l+2" with "&r&5&l+1" in {retool.name.%player%}
  1463.                     set the name of {tool.%player%} to {retool.name.%player%}
  1464.                     message "&3&l[強化失敗] &a&l強化前 +&6&l2 &6→ &c&l強化後 +&6&l1"
  1465.                 else if {percent.%player%} is 10:
  1466.                     replace "&r&5&l+2" with "&r&5&l" in {retool.name.%player%}
  1467.                     set the name of {tool.%player%} to {retool.name.%player%}
  1468.                     message "&3&l[強化大失敗] &c&l強化後 +&6&l0"
  1469.             else if {tool.name.%player%} contains "3":
  1470.                 play sound "block.anvil.use" with pitch 2 at player
  1471.                 remove 1 of held item from player
  1472.                 set {percent.%player%} to random integer between 1 and 10
  1473.                 if {percent.%player%} is 1:
  1474.                     replace "&r&5&l+3" with "&r&5&l+5" in {retool.name.%player%}
  1475.                     set the name of {tool.%player%} to {retool.name.%player%}
  1476.                     message "&c&l[強化大成功] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l5"
  1477.                 else if {percent.%player%} is between 2 and 5:
  1478.                     replace "&r&5&l+3" with "&r&5&l+4" in {retool.name.%player%}
  1479.                     set the name of {tool.%player%} to {retool.name.%player%}
  1480.                     message "&c&l[強化成功] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l4"
  1481.                 else if {percent.%player%} is between 6 and 9:
  1482.                     replace "&r&5&l+3" with "&r&5&l+2" in {retool.name.%player%}
  1483.                     set the name of {tool.%player%} to {retool.name.%player%}
  1484.                     message "&3&l[強化失敗] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l2"
  1485.                 else if {percent.%player%} is 10:
  1486.                     replace "&r&5&l+3" with "&r&5&l+1" in {retool.name.%player%}
  1487.                     set the name of {tool.%player%} to {retool.name.%player%}
  1488.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l3 &6→ &c&l強化後 +&6&l1"
  1489.             else if {tool.name.%player%} contains "4":
  1490.                 play sound "block.anvil.use" with pitch 2 at player
  1491.                 remove 1 of held item from player
  1492.                 set {percent.%player%} to random integer between 1 and 10
  1493.                 if {percent.%player%} is 1:
  1494.                     replace "&r&5&l+4" with "&r&5&l+6" in {retool.name.%player%}
  1495.                     set the name of {tool.%player%} to {retool.name.%player%}
  1496.                     message "&c&l[強化大成功] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l6"
  1497.                 else if {percent.%player%} is between 2 and 5:
  1498.                     replace "&r&5&l+4" with "&r&5&l+5" in {retool.name.%player%}
  1499.                     set the name of {tool.%player%} to {retool.name.%player%}
  1500.                     message "&c&l[強化成功] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l5"
  1501.                 else if {percent.%player%} is between 6 and 9:
  1502.                     replace "&r&5&l+4" with "&r&5&l+3" in {retool.name.%player%}
  1503.                     set the name of {tool.%player%} to {retool.name.%player%}
  1504.                     message "&3&l[強化失敗] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l3"
  1505.                 else if {percent.%player%} is 10:
  1506.                     replace "&r&5&l+4" with "&r&5&l+2" in {retool.name.%player%}
  1507.                     set the name of {tool.%player%} to {retool.name.%player%}
  1508.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l4 &6→ &c&l強化後 +&6&l2"
  1509.             else if {tool.name.%player%} contains "5":
  1510.                 play sound "block.anvil.use" with pitch 2 at player
  1511.                 remove 1 of held item from player
  1512.                 set {percent.%player%} to random integer between 1 and 10
  1513.                 if {percent.%player%} is 1:
  1514.                     replace "&r&5&l+5" with "&r&5&l+7" in {retool.name.%player%}
  1515.                     set the name of {tool.%player%} to {retool.name.%player%}
  1516.                     message "&c&l[強化大成功] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l7"
  1517.                 else if {percent.%player%} is between 2 and 5:
  1518.                     replace "&r&5&l+5" with "&r&5&l+6" in {retool.name.%player%}
  1519.                     set the name of {tool.%player%} to {retool.name.%player%}
  1520.                     message "&c&l[強化成功] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l6"
  1521.                 else if {percent.%player%} is between 6 and 9:
  1522.                     replace "&r&5&l+5" with "&r&5&l+4" in {retool.name.%player%}
  1523.                     set the name of {tool.%player%} to {retool.name.%player%}
  1524.                     message "&3&l[強化失敗] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l4"
  1525.                 else if {percent.%player%} is 10:
  1526.                     replace "&r&5&l+5" with "&r&5&l+3" in {retool.name.%player%}
  1527.                     set the name of {tool.%player%} to {retool.name.%player%}
  1528.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l5 &6→ &c&l強化後 +&6&l3"
  1529.             else if {tool.name.%player%} contains "6":
  1530.                 play sound "block.anvil.use" with pitch 2 at player
  1531.                 remove 1 of held item from player
  1532.                 set {percent.%player%} to random integer between 1 and 10
  1533.                 if {percent.%player%} is 1:
  1534.                     replace "&r&5&l+6" with "&r&5&l+8" in {retool.name.%player%}
  1535.                     set the name of {tool.%player%} to {retool.name.%player%}
  1536.                     message "&c&l[強化大成功] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l8"
  1537.                 else if {percent.%player%} is between 2 and 5:
  1538.                     replace "&r&5&l+6" with "&r&5&l+7" in {retool.name.%player%}
  1539.                     set the name of {tool.%player%} to {retool.name.%player%}
  1540.                     message "&c&l[強化成功] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l7"
  1541.                 else if {percent.%player%} is between 6 and 9:
  1542.                     replace "&r&5&l+6" with "&r&5&l+5" in {retool.name.%player%}
  1543.                     set the name of {tool.%player%} to {retool.name.%player%}
  1544.                     message "&3&l[強化失敗] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l5"
  1545.                 else if {percent.%player%} is 10:
  1546.                     replace "&r&5&l+6" with "&r&5&l+4" in {retool.name.%player%}
  1547.                     set the name of {tool.%player%} to {retool.name.%player%}
  1548.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l6 &6→ &c&l強化後 +&6&l4"
  1549.             else if {tool.name.%player%} contains "7":
  1550.                 play sound "block.anvil.use" with pitch 2 at player
  1551.                 remove 1 of held item from player
  1552.                 set {percent.%player%} to random integer between 1 and 10
  1553.                 if {percent.%player%} is 1:
  1554.                     replace "&r&5&l+7" with "&r&5&l+9" in {retool.name.%player%}
  1555.                     set the name of {tool.%player%} to {retool.name.%player%}
  1556.                     message "&c&l[強化大成功] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l9"
  1557.                 else if {percent.%player%} is between 2 and 5:
  1558.                     replace "&r&5&l+7" with "&r&5&l+8" in {retool.name.%player%}
  1559.                     set the name of {tool.%player%} to {retool.name.%player%}
  1560.                     message "&c&l[強化成功] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l8"
  1561.                 else if {percent.%player%} is between 6 and 9:
  1562.                     replace "&r&5&l+7" with "&r&5&l+6" in {retool.name.%player%}
  1563.                     set the name of {tool.%player%} to {retool.name.%player%}
  1564.                     message "&3&l[強化失敗] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l6"
  1565.                 else if {percent.%player%} is 10:
  1566.                     replace "&r&5&l+7" with "&r&5&l+5" in {retool.name.%player%}
  1567.                     set the name of {tool.%player%} to {retool.name.%player%}
  1568.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l7 &6→ &c&l強化後 +&6&l5"
  1569.             else if {tool.name.%player%} contains "8":
  1570.                 play sound "block.anvil.use" with pitch 2 at player
  1571.                 remove 1 of held item from player
  1572.                 set {percent.%player%} to random integer between 1 and 10
  1573.                 if {percent.%player%} is 1:
  1574.                     replace "&r&5&l+8" with "&r&5&l+10" in {retool.name.%player%}
  1575.                     set the name of {tool.%player%} to {retool.name.%player%}
  1576.                     message "&c&l[強化大成功] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l10"
  1577.                 else if {percent.%player%} is between 2 and 5:
  1578.                     replace "&r&5&l+8" with "&r&5&l+9" in {retool.name.%player%}
  1579.                     set the name of {tool.%player%} to {retool.name.%player%}
  1580.                     message "&c&l[強化成功] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l9"
  1581.                 else if {percent.%player%} is between 6 and 9:
  1582.                     replace "&r&5&l+8" with "&r&5&l+7" in {retool.name.%player%}
  1583.                     set the name of {tool.%player%} to {retool.name.%player%}
  1584.                     message "&3&l[強化失敗] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l7"
  1585.                 else if {percent.%player%} is 10:
  1586.                     replace "&r&5&l+8" with "&r&5&l+6" in {retool.name.%player%}
  1587.                     set the name of {tool.%player%} to {retool.name.%player%}
  1588.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l8 &6→ &c&l強化後 +&6&l6"
  1589.             else if {tool.name.%player%} contains "9":
  1590.                 play sound "block.anvil.use" with pitch 2 at player
  1591.                 remove 1 of held item from player
  1592.                 set {percent.%player%} to random integer between 1 and 10
  1593.                 if {percent.%player%} is 1:
  1594.                     replace "&r&5&l+9" with "&r&5&l+10" in {retool.name.%player%}
  1595.                     set the name of {tool.%player%} to {retool.name.%player%}
  1596.                     message "&c&l[強化大成功] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l10"
  1597.                 else if {percent.%player%} is between 2 and 5:
  1598.                     replace "&r&5&l+9" with "&r&5&l+10" in {retool.name.%player%}
  1599.                     set the name of {tool.%player%} to {retool.name.%player%}
  1600.                     message "&c&l[強化成功] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l10"
  1601.                 else if {percent.%player%} is between 6 and 9:
  1602.                     replace "&r&5&l+9" with "&r&5&l+8" in {retool.name.%player%}
  1603.                     set the name of {tool.%player%} to {retool.name.%player%}
  1604.                     message "&3&l[強化失敗] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l8"
  1605.                 else if {percent.%player%} is 10:
  1606.                     replace "&r&5&l+9" with "&r&5&l+7" in {retool.name.%player%}
  1607.                     set the name of {tool.%player%} to {retool.name.%player%}
  1608.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l9 &6→ &c&l強化後 +&6&l7"
  1609.             else:
  1610.                 play sound "block.anvil.use" with pitch 2 at player
  1611.                 remove 1 of held item from player
  1612.                 set {percent.%player%} to random integer between 1 and 10
  1613.                 if {percent.%player%} is 1:
  1614.                     replace "&r&5&l" with "&r&5&l+2" in {retool.name.%player%}
  1615.                     set the name of {tool.%player%} to {retool.name.%player%}
  1616.                     message "&c&l[強化大成功] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l2"
  1617.                 else if {percent.%player%} is between 2 and 5:
  1618.                     replace "&r&5&l" with "&r&5&l+1" in {retool.name.%player%}
  1619.                     set the name of {tool.%player%} to {retool.name.%player%}
  1620.                     message "&c&l[強化成功] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l1"
  1621.                 else if {percent.%player%} is between 6 and 9:
  1622.                     message "&3&l[強化失敗] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l0"
  1623.                 else if {percent.%player%} is 10:
  1624.                     message "&3&l[強化大失敗] &a&l強化前 +&6&l0 &6→ &c&l強化後 +&6&l0"
  1625.     else if name of held item is "&7&l強化リセット石":
  1626.         name of {tool.%player%} contains "+"
  1627.         message "&6&l武器強化をリセットしました"
  1628.         play sound "block.anvil.use" with pitch 2 at player
  1629.         set {tool.name.%player%} to name of {tool.%player%}
  1630.         replace "&r&c&l+10" with "&r&c&l" in {tool.name.%player%}
  1631.         replace "&r&c&l+1" with "&r&c&l" in {tool.name.%player%}
  1632.         replace "&r&c&l+2" with "&r&c&l" in {tool.name.%player%}
  1633.         replace "&r&c&l+3" with "&r&c&l" in {tool.name.%player%}
  1634.         replace "&r&c&l+4" with "&r&c&l" in {tool.name.%player%}
  1635.         replace "&r&c&l+5" with "&r&c&l" in {tool.name.%player%}
  1636.         replace "&r&c&l+6" with "&r&c&l" in {tool.name.%player%}
  1637.         replace "&r&c&l+7" with "&r&c&l" in {tool.name.%player%}
  1638.         replace "&r&c&l+8" with "&r&c&l" in {tool.name.%player%}
  1639.         replace "&r&c&l+9" with "&r&c&l" in {tool.name.%player%}
  1640.         replace "&r&4&l+10" with "&r&4&l" in {tool.name.%player%}
  1641.         replace "&r&4&l+11" with "&r&4&l" in {tool.name.%player%}
  1642.         replace "&r&4&l+12" with "&r&4&l" in {tool.name.%player%}
  1643.         replace "&r&4&l+13" with "&r&4&l" in {tool.name.%player%}
  1644.         replace "&r&4&l+14" with "&r&4&l" in {tool.name.%player%}
  1645.         replace "&r&4&l+15" with "&r&4&l" in {tool.name.%player%}
  1646.         replace "&r&4&l+16" with "&r&4&l" in {tool.name.%player%}
  1647.         replace "&r&4&l+17" with "&r&4&l" in {tool.name.%player%}
  1648.         replace "&r&4&l+18" with "&r&4&l" in {tool.name.%player%}
  1649.         replace "&r&4&l+19" with "&r&4&l" in {tool.name.%player%}
  1650.         replace "&r&4&l+20" with "&r&4&l" in {tool.name.%player%}
  1651.         replace "&r&4&l+1" with "&r&4&l" in {tool.name.%player%}
  1652.         replace "&r&4&l+2" with "&r&4&l" in {tool.name.%player%}
  1653.         replace "&r&4&l+3" with "&r&4&l" in {tool.name.%player%}
  1654.         replace "&r&4&l+4" with "&r&4&l" in {tool.name.%player%}
  1655.         replace "&r&4&l+5" with "&r&4&l" in {tool.name.%player%}
  1656.         replace "&r&4&l+6" with "&r&4&l" in {tool.name.%player%}
  1657.         replace "&r&4&l+7" with "&r&4&l" in {tool.name.%player%}
  1658.         replace "&r&4&l+8" with "&r&4&l" in {tool.name.%player%}
  1659.         replace "&r&4&l+9" with "&r&4&l" in {tool.name.%player%}
  1660.         replace "&r&5&l+10" with "&r&5&l" in {tool.name.%player%}
  1661.         replace "&r&5&l+11" with "&r&5&l" in {tool.name.%player%}
  1662.         replace "&r&5&l+12" with "&r&5&l" in {tool.name.%player%}
  1663.         replace "&r&5&l+13" with "&r&5&l" in {tool.name.%player%}
  1664.         replace "&r&5&l+14" with "&r&5&l" in {tool.name.%player%}
  1665.         replace "&r&5&l+15" with "&r&5&l" in {tool.name.%player%}
  1666.         replace "&r&5&l+16" with "&r&5&l" in {tool.name.%player%}
  1667.         replace "&r&5&l+17" with "&r&5&l" in {tool.name.%player%}
  1668.         replace "&r&5&l+18" with "&r&5&l" in {tool.name.%player%}
  1669.         replace "&r&5&l+19" with "&r&5&l" in {tool.name.%player%}
  1670.         replace "&r&5&l+20" with "&r&5&l" in {tool.name.%player%}
  1671.         replace "&r&5&l+21" with "&r&5&l" in {tool.name.%player%}
  1672.         replace "&r&5&l+22" with "&r&5&l" in {tool.name.%player%}
  1673.         replace "&r&5&l+23" with "&r&5&l" in {tool.name.%player%}
  1674.         replace "&r&5&l+24" with "&r&5&l" in {tool.name.%player%}
  1675.         replace "&r&5&l+25" with "&r&5&l" in {tool.name.%player%}
  1676.         replace "&r&5&l+26" with "&r&5&l" in {tool.name.%player%}
  1677.         replace "&r&5&l+27" with "&r&5&l" in {tool.name.%player%}
  1678.         replace "&r&5&l+28" with "&r&5&l" in {tool.name.%player%}
  1679.         replace "&r&5&l+29" with "&r&5&l" in {tool.name.%player%}
  1680.         replace "&r&5&l+30" with "&r&5&l" in {tool.name.%player%}
  1681.         replace "&r&5&l+1" with "&r&5&l" in {tool.name.%player%}
  1682.         replace "&r&5&l+2" with "&r&5&l" in {tool.name.%player%}
  1683.         replace "&r&5&l+3" with "&r&5&l" in {tool.name.%player%}
  1684.         replace "&r&5&l+4" with "&r&5&l" in {tool.name.%player%}
  1685.         replace "&r&5&l+5" with "&r&5&l" in {tool.name.%player%}
  1686.         replace "&r&5&l+6" with "&r&5&l" in {tool.name.%player%}
  1687.         replace "&r&5&l+7" with "&r&5&l" in {tool.name.%player%}
  1688.         replace "&r&5&l+8" with "&r&5&l" in {tool.name.%player%}
  1689.         replace "&r&5&l+9" with "&r&5&l" in {tool.name.%player%}
  1690.         set the name of {tool.%player%} to {tool.name.%player%}
  1691.         remove 1 of held item from player
  1692.     else if {tool.%player%} is set:
  1693.         give {tool.%player%} to player
  1694.         delete {tool.%player%}
  1695.         message "&a武器を戻しました"
  1696.  
  1697. on rightclick on end portal frame:
  1698.     block under the event-block is iron block
  1699.     cancel event
  1700.     if name of held item contains "&r&c&l+10":
  1701.         if {tool2.%player%} is set:
  1702.             message "&c既に武器がセットされています"
  1703.         else if {tool2.%player%} is not set:
  1704.             set {tool2.%player%} to player's tool
  1705.             set {tool2.name.%player%} to name of player's tool
  1706.             delete player's tool
  1707.             message "&a武器をセットしました"
  1708.             stop
  1709.     else if name of held item is "&4&l&l限界突破石":
  1710.         if {tool2.%player%} is not set:
  1711.             message "&c武器がセットされていません"
  1712.         else:
  1713.             replace "&r&c&l+10" with "&r&4&l" in {tool2.name.%player%}
  1714.             replace "&r&4&l+20" with "&r&5&l" in {tool2.name.%player%}
  1715.             set the name of {tool2.%player%} to {tool2.name.%player%}
  1716.             remove 1 of held item from player
  1717.             give {tool2.%player%} to player
  1718.             delete {tool2.%player%}
  1719.             message "&6&l武器を限界突破しました"
  1720.             play sound "block.anvil.use" with pitch 2 at player
  1721.     else if {tool2.%player%} is set:
  1722.         give {tool2.%player%} to player
  1723.         delete {tool2.%player%}
  1724.         message "&a武器を戻しました"
  1725.     if name of held item contains "&r&4&l+20":
  1726.         if {tool2.%player%} is set:
  1727.             message "&c既に武器がセットされています"
  1728.         else if {tool2.%player%} is not set:
  1729.             set {tool2.%player%} to player's tool
  1730.             set {tool2.name.%player%} to name of player's tool
  1731.             delete player's tool
  1732.             message "&a武器をセットしました"
  1733.             stop
  1734.     else if name of held item is "&4&l&l限界突破石":
  1735.         if {tool2.%player%} is not set:
  1736.             message "&c武器がセットされていません"
  1737.         else:
  1738.             replace "&r&4&l+20" with "&r&4&l" in {tool2.name.%player%}
  1739.             set the name of {tool2.%player%} to {tool2.name.%player%}
  1740.             remove 1 of held item from player
  1741.             give {tool2.%player%} to player
  1742.             delete {tool2.%player%}
  1743.             message "&6&l武器を限界突破しました"
  1744.             play sound "block.anvil.use" with pitch 2 at player
  1745.     else if {tool2.%player%} is set:
  1746.         give {tool2.%player%} to player
  1747.         delete {tool2.%player%}
  1748.         message "&a武器を戻しました"
  1749.  
  1750. on damage:
  1751.     if damage was caused by fall:
  1752.         victim has feather of Feather Falling
  1753.         cancel event
  1754.     else:
  1755.         set {damage.%attacker%} to damage * (100+{AttackBonus.%attacker%})/100
  1756.         set {damage2.%attacker%} to {damage.%attacker%}
  1757.         set {vichplog.%attacker%} to health of victim * 2
  1758.         set damage to {damage.%attacker%}
  1759.         {damagelog.%attacker%} is 1
  1760.         wait a tick
  1761.         set {damage.%attacker%} to {damage.%attacker%}*2
  1762.         set {damage2.%attacker%} to {damage.%attacker%}
  1763.         set {maxhpvic.%attacker%} to max health of victim * 2
  1764.         set {hpvic.%attacker%} to health of victim * 2
  1765.         set {damagelogatt.%attacker%} to {vichplog.%attacker%} - {hpvic.%attacker%}
  1766.         send "%name of victim% &c&l-%{damagelogatt.%attacker%}% &a&l%{maxhpvic.%attacker%}%/%{hpvic.%attacker%}% " to attacker
  1767.  
  1768. on tool change:
  1769.     delete {AttackBonus.%player%}
  1770.     if name of player's tool contains "&r&c&l":
  1771.         if name of player's tool contains "10":
  1772.             set {AttackBonus.%player%} to 10
  1773.             stop
  1774.         else if name of player's tool contains "1":
  1775.             set {AttackBonus.%player%} to 1
  1776.         else if name of player's tool contains "2":
  1777.             set {AttackBonus.%player%} to 2
  1778.         else if name of player's tool contains "3":
  1779.             set {AttackBonus.%player%} to 3
  1780.         else if name of player's tool contains "4":
  1781.             set {AttackBonus.%player%} to 4
  1782.         else if name of player's tool contains "5":
  1783.             set {AttackBonus.%player%} to 5
  1784.         else if name of player's tool contains "6":
  1785.             set {AttackBonus.%player%} to 6
  1786.         else if name of player's tool contains "7":
  1787.             set {AttackBonus.%player%} to 7
  1788.         else if name of player's tool contains "8":
  1789.             set {AttackBonus.%player%} to 8
  1790.         else if name of player's tool contains "9":
  1791.             set {AttackBonus.%player%} to 9
  1792.     else if name of player's tool contains "&r&4&l":
  1793.         if name of player's tool contains "10":
  1794.             set {AttackBonus.%player%} to 10
  1795.         else if name of player's tool contains "11":
  1796.             set {AttackBonus.%player%} to 11
  1797.         else if name of player's tool contains "12":
  1798.             set {AttackBonus.%player%} to 12
  1799.         else if name of player's tool contains "13":
  1800.             set {AttackBonus.%player%} to 13
  1801.         else if name of player's tool contains "14":
  1802.             set {AttackBonus.%player%} to 14
  1803.         else if name of player's tool contains "15":
  1804.             set {AttackBonus.%player%} to 15
  1805.         else if name of player's tool contains "16":
  1806.             set {AttackBonus.%player%} to 16
  1807.         else if name of player's tool contains "17":
  1808.             set {AttackBonus.%player%} to 17
  1809.         else if name of player's tool contains "18":
  1810.             set {AttackBonus.%player%} to 18
  1811.         else if name of player's tool contains "19":
  1812.             set {AttackBonus.%player%} to 19
  1813.         else if name of player's tool contains "20":
  1814.             set {AttackBonus.%player%} to 20
  1815.         else if name of player's tool contains "1":
  1816.             set {AttackBonus.%player%} to 1
  1817.         else if name of player's tool contains "2":
  1818.             set {AttackBonus.%player%} to 2
  1819.         else if name of player's tool contains "3":
  1820.             set {AttackBonus.%player%} to 3
  1821.         else if name of player's tool contains "4":
  1822.             set {AttackBonus.%player%} to 4
  1823.         else if name of player's tool contains "5":
  1824.             set {AttackBonus.%player%} to 5
  1825.         else if name of player's tool contains "6":
  1826.             set {AttackBonus.%player%} to 6
  1827.         else if name of player's tool contains "7":
  1828.             set {AttackBonus.%player%} to 7
  1829.         else if name of player's tool contains "8":
  1830.             set {AttackBonus.%player%} to 8
  1831.         else if name of player's tool contains "9":
  1832.             set {AttackBonus.%player%} to 9
  1833.     else if name of player's tool contains "&r&5&l":
  1834.         if name of player's tool contains "10":
  1835.             set {AttackBonus.%player%} to 10
  1836.         else if name of player's tool contains "11":
  1837.             set {AttackBonus.%player%} to 11
  1838.         else if name of player's tool contains "12":
  1839.             set {AttackBonus.%player%} to 12
  1840.         else if name of player's tool contains "13":
  1841.             set {AttackBonus.%player%} to 13
  1842.         else if name of player's tool contains "14":
  1843.             set {AttackBonus.%player%} to 14
  1844.         else if name of player's tool contains "15":
  1845.             set {AttackBonus.%player%} to 15
  1846.         else if name of player's tool contains "16":
  1847.             set {AttackBonus.%player%} to 16
  1848.         else if name of player's tool contains "17":
  1849.             set {AttackBonus.%player%} to 17
  1850.         else if name of player's tool contains "18":
  1851.             set {AttackBonus.%player%} to 18
  1852.         else if name of player's tool contains "19":
  1853.             set {AttackBonus.%player%} to 19
  1854.         else if name of player's tool contains "20":
  1855.             set {AttackBonus.%player%} to 20
  1856.         else if name of player's tool contains "21":
  1857.             set {AttackBonus.%player%} to 21
  1858.         else if name of player's tool contains "22":
  1859.             set {AttackBonus.%player%} to 22
  1860.         else if name of player's tool contains "23":
  1861.             set {AttackBonus.%player%} to 23
  1862.         else if name of player's tool contains "24":
  1863.             set {AttackBonus.%player%} to 24
  1864.         else if name of player's tool contains "25":
  1865.             set {AttackBonus.%player%} to 25
  1866.         else if name of player's tool contains "26":
  1867.             set {AttackBonus.%player%} to 26
  1868.         else if name of player's tool contains "27":
  1869.             set {AttackBonus.%player%} to 27
  1870.         else if name of player's tool contains "28":
  1871.             set {AttackBonus.%player%} to 28
  1872.         else if name of player's tool contains "29":
  1873.             set {AttackBonus.%player%} to 29
  1874.         else if name of player's tool contains "30":
  1875.             set {AttackBonus.%player%} to 30
  1876.         else if name of player's tool contains "1":
  1877.             set {AttackBonus.%player%} to 1
  1878.         else if name of player's tool contains "2":
  1879.             set {AttackBonus.%player%} to 2
  1880.         else if name of player's tool contains "3":
  1881.             set {AttackBonus.%player%} to 3
  1882.         else if name of player's tool contains "4":
  1883.             set {AttackBonus.%player%} to 4
  1884.         else if name of player's tool contains "5":
  1885.             set {AttackBonus.%player%} to 5
  1886.         else if name of player's tool contains "6":
  1887.             set {AttackBonus.%player%} to 6
  1888.         else if name of player's tool contains "7":
  1889.             set {AttackBonus.%player%} to 7
  1890.         else if name of player's tool contains "8":
  1891.             set {AttackBonus.%player%} to 8
  1892.         else if name of player's tool contains "9":
  1893.             set {AttackBonus.%player%} to 9
  1894.     else:
  1895.         set {AttackBonus.%player%} to 0
  1896.  
  1897. command /setplus <number>:
  1898.     permission: skript.admin
  1899.     trigger:
  1900.         set {tool.plusset.%player%} to name of player's tool
  1901.         replace "&r&c&l" with "&r&c&l+%arg 1%" in {tool.plusset.%player%}
  1902.         replace "&r&4&l" with "&r&4&l+%arg 1%" in {tool.plusset.%player%}
  1903.         replace "&r&5&l" with "&r&5&l+%arg 1%" in {tool.plusset.%player%}
  1904.         set the name of held item to {tool.plusset.%player%}
  1905.  
  1906. options:
  1907.     count : 20
  1908.  
  1909. on tool change:
  1910.     wait 1 tick
  1911.     set {defense.%player%} to 0
  1912.     set {_line} to 1
  1913.     while {_line} is less than or equal to {@count}:
  1914.         if line {_line} of lore of player's helmet contains "防御力:":
  1915.             set {_lore1} to line {_line} of lore of player's helmet
  1916.             stop loop
  1917.         add 1 to {_line}
  1918.     set {_line} to 1
  1919.     while {_line} is less than or equal to {@count}:
  1920.         if line {_line} of lore of player's chestplate contains "防御力:":
  1921.             set {_lore2} to line {_line} of lore of player's chestplate
  1922.             stop loop
  1923.         add 1 to {_line}
  1924.     set {_line} to 1
  1925.     while {_line} is less than or equal to {@count}:
  1926.         if line {_line} of lore of player's leggings contains "防御力:":
  1927.             set {_lore3} to line {_line} of lore of player's leggings
  1928.             stop loop
  1929.         add 1 to {_line}
  1930.     set {_line} to 1
  1931.     while {_line} is less than or equal to {@count}:
  1932.         if line {_line} of lore of player's boots contains "防御力:":
  1933.             set {_lore4} to line {_line} of lore of player's boots
  1934.             stop loop
  1935.         add 1 to {_line}
  1936.     set {_n} to 1
  1937.     loop 4 times:
  1938.         replace "§9§l防御力: " with "" in {_lore%{_n}%}
  1939.         set {_lore%{_n}%} to {_lore%{_n}%} parsed as number
  1940.         add {_lore%{_n}%} to {defense.%player%}
  1941.         add 1 to {_n}
  1942.     set {defense.%player%} to {defense.%player%} / 2
  1943.  
  1944. on damage:
  1945.     victim is a player
  1946.     set {playerdamage.%victim%} to damage - {defense.%victim%}
  1947.     if {playerdamage.%victim%} is greater than or equal to 1:
  1948.         set damage to {playerdamage.%victim%}
  1949.         {damagelog.%victim%} is 1
  1950.         set {playerdamage.%victim%} to {playerdamage.%victim%}*2
  1951.         send "§c§l%{playerdamage.%victim%}%ダメージ" to victim
  1952.     else:
  1953.         set damage to 0.5
  1954.         {damagelog.%victim%} is 1
  1955.         send "§c§l1ダメージ" to victim
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top