yukki10

Untitled

Aug 31st, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.66 KB | None | 0 0
  1. on death of player:
  2. set {deatht.%entity%} to 1
  3. on respawn:
  4. set {deatht.%entity%} to 0
  5. on load:
  6. wipe server crafting recipes
  7.  
  8.  
  9. on damage:
  10. if {deatht.%victim%} is 1:
  11. cancel event
  12. attacker is player
  13. victim is player
  14. set {tool.%attacker%} to attacker's tool
  15. set {tool.%victim%} to victim's tool
  16. if lore of {tool.%attacker%} contain "Phantom Attack Ⅲ":
  17. set {_af} to random integer between 1 and 100
  18. if {_af} is between 1 and 80:
  19. damage victim by 2 hearts
  20. if lore of {tool.%attacker%} contain "Dark Strike Ⅲ":
  21. set {_la} to random integer between 1 and 100
  22. if {_la} is between 1 and 70:
  23. damage victim by 3 hearts
  24. if lore of {tool.%attacker%} contain "Fire Shard Ⅲ":
  25. set {_la} to random integer between 1 and 100
  26. if {_la} is between 1 and 60:
  27. damage victim by 4 hearts
  28. if lore of {tool.%attacker%} contain "Quick Sword Ⅲ":
  29. set {_la} to random integer between 1 and 100
  30. if {_la} is between 1 and 95:
  31. damage victim by 1 hearts
  32. if lore of {tool.%attacker%} contain "Earth Titan Ⅲ":
  33. set {_la} to random integer between 1 and 100
  34. if {_la} is between 1 and 50:
  35. damage victim by 5 hearts
  36. if lore of {tool.%victim%} contain "Ender Guard Ⅲ":
  37. set {_pg} to random integer between 1 and 100
  38. if {_pg} is between 1 and 45:
  39. cancel event
  40. if lore of {tool.%victim%} contain "Light Shield Ⅲ":
  41. set damage to damage - 1.5
  42. if lore of {tool.%victim%} contain "Wind Wall Ⅲ":
  43. set {_la} to random integer between 1 and 100
  44. if {_la} is between 1 and 50:
  45. set damage to damage - 4
  46. if lore of {tool.%victim%} contain "Ice Barrier Ⅲ":
  47. set {_la} to random integer between 1 and 100
  48. if {_la} is between 1 and 15:
  49. set damage to damage - 10
  50. if lore of {tool.%victim%} contain "Book Shears Ⅲ":
  51. set {_la} to random integer between 1 and 100
  52. if {_la} is between 1 and 80:
  53. set damage to damage - 2
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62. if lore of {tool.%attacker%} contain "Phantom Attack Ⅱ":
  63. set {_af} to random integer between 1 and 100
  64. if {_af} is between 1 and 60:
  65. damage victim by 2 hearts
  66. if lore of {tool.%attacker%} contain "Dark Strike Ⅱ":
  67. set {_la} to random integer between 1 and 100
  68. if {_la} is between 1 and 50:
  69. damage victim by 3 hearts
  70. if lore of {tool.%attacker%} contain "Fire Shard Ⅱ":
  71. set {_la} to random integer between 1 and 100
  72. if {_la} is between 1 and 40:
  73. damage victim by 4 hearts
  74. if lore of {tool.%attacker%} contain "Quick Sword Ⅱ":
  75. set {_la} to random integer between 1 and 100
  76. if {_la} is between 1 and 80:
  77. damage victim by 1 hearts
  78. if lore of {tool.%attacker%} contain "Earth Titan Ⅱ":
  79. set {_la} to random integer between 1 and 100
  80. if {_la} is between 1 and 30:
  81. damage victim by 5 hearts
  82. if lore of {tool.%victim%} contain "Ender Guard Ⅱ":
  83. set {_pg} to random integer between 1 and 100
  84. if {_pg} is between 1 and 25:
  85. cancel event
  86. if lore of {tool.%victim%} contain "Light Shield Ⅱ":
  87. set damage to damage - 1.0
  88. if lore of {tool.%victim%} contain "Wind Wall Ⅱ":
  89. set {_la} to random integer between 1 and 100
  90. if {_la} is between 1 and 30:
  91. set damage to damage - 4
  92. if lore of {tool.%victim%} contain "Ice Barrier Ⅱ":
  93. set {_la} to random integer between 1 and 100
  94. if {_la} is between 1 and 10:
  95. set damage to damage - 10
  96. if lore of {tool.%victim%} contain "Book Shears Ⅱ":
  97. set {_la} to random integer between 1 and 100
  98. if {_la} is between 1 and 60:
  99. set damage to damage - 2
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107. if lore of {tool.%attacker%} contain "Phantom Attack Ⅰ":
  108. set {_af} to random integer between 1 and 100
  109. if {_af} is between 1 and 40:
  110. damage victim by 2 hearts
  111. if lore of {tool.%attacker%} contain "Dark Strike Ⅰ":
  112. set {_la} to random integer between 1 and 100
  113. if {_la} is between 1 and 30:
  114. damage victim by 3 hearts
  115. if lore of {tool.%attacker%} contain "Fire Shard Ⅰ":
  116. set {_la} to random integer between 1 and 100
  117. if {_la} is between 1 and 20:
  118. damage victim by 4 hearts
  119. if lore of {tool.%attacker%} contain "Quick Sword Ⅰ":
  120. set {_la} to random integer between 1 and 100
  121. if {_la} is between 1 and 60:
  122. damage victim by 1 hearts
  123. if lore of {tool.%attacker%} contain "Earth Titan Ⅰ":
  124. set {_la} to random integer between 1 and 100
  125. if {_la} is between 1 and 20:
  126. damage victim by 5 hearts
  127. if lore of {tool.%victim%} contain "Ender Guard Ⅰ":
  128. set {_pg} to random integer between 1 and 100
  129. if {_pg} is between 1 and 15:
  130. cancel event
  131. if lore of {tool.%victim%} contain "Light Shield Ⅰ":
  132. set damage to damage - 0.5
  133. if lore of {tool.%victim%} contain "Wind Wall Ⅰ":
  134. set {_la} to random integer between 1 and 100
  135. if {_la} is between 1 and 15:
  136. set damage to damage - 4
  137. if lore of {tool.%victim%} contain "Ice Barrier Ⅰ":
  138. set {_la} to random integer between 1 and 100
  139. if {_la} is between 1 and 5:
  140. set damage to damage - 10
  141. if lore of {tool.%victim%} contain "Book Shears Ⅰ":
  142. set {_la} to random integer between 1 and 100
  143. if {_la} is between 1 and 40:
  144. set damage to damage - 2
  145.  
  146.  
  147.  
  148. command /enchf <player>:
  149. permission:admin
  150. trigger:
  151. broadcast "&6&l&m--------*--------*--------"
  152. broadcast "&a%arg-1% がエンチャ花火を使いました!"
  153. broadcast "&a5分間の間 エンチャレベルⅢの"
  154. broadcast "&a付与確率が5倍になります!"
  155. broadcast "&6&l&m--------*--------*--------"
  156. set {EnchF} to 1
  157.  
  158. wait 300 seconds
  159. set {EnchF} to 0
  160. broadcast "&6&l&m-------*--------*-------"
  161. broadcast "&aエンチャ花火の効果が切れました"
  162. broadcast "&6&l&m-------*--------*-------"
  163.  
  164.  
  165. command /uf <player>:
  166. permission:admin
  167. trigger:
  168. broadcast "&6&l&m--------*--------*--------"
  169. broadcast "&a%arg-1% がアンブレ花火を使いました!"
  170. broadcast "&aAddonで武器が消滅する確率が "
  171. broadcast "&a5分間の間 1/2になります!"
  172. broadcast "&6&l&m--------*--------*--------"
  173.  
  174. set {UF} to 1
  175. wait 300 seconds
  176. set {UF} to 0
  177. broadcast "&6&l&m--------*--------*--------"
  178. broadcast "&aアンブレ花火の効果が切れました"
  179. broadcast "&6&l&m--------*--------*--------"
  180.  
  181.  
  182.  
  183.  
  184. on join:
  185. set {menu::%player%} to 0
  186. on inventory close:
  187. set {menu::%player%} to 0
  188. on right click on enchantment table:
  189. cancel event
  190. open chest with 0 row named "&5EnchMenu" to player
  191. set {menu::%player%} to 1
  192. on right click on anvil:
  193. cancel event
  194. open chest with 0 row named "&5CustomMenu" to player
  195. set {menu::%player%} to 2
  196. on inventory click:
  197.  
  198. {menu::%player%} is 1
  199. cancel event
  200. set {_item} to clicked item
  201. {_item} is diamond axe
  202. loop all items in player's inventory:
  203. if name of loop-item is "&fNormalEnchStone":
  204. remove 1 of loop-item from player
  205. if {EnchF} is 0:
  206. if {UF} is 0:
  207. set {_enchg} to random integer between 1 and 1000
  208. if {_enchg} is between 1 and 850:
  209. set {enchl} to 1
  210. if {_enchg} is between 851 and 950:
  211. remove 1 of {_item} from player
  212. stop
  213. if {_enchg} is between 951 and 980:
  214. set {enchl} to 2
  215. if {_enchg} is between 981 and 1000:
  216. set {enchl} to 3
  217.  
  218. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  219.  
  220. set {_ench} to random integer between 1 and 100
  221.  
  222. if {_ench} is between 1 and 10:
  223. if {enchl} is 1:
  224. set line 2 of lore of clicked item to "&1Phantom AttackⅠ"
  225. if {enchl} is 2:
  226. set line 2 of lore of clicked item to "&3Phantom AttackⅡ"
  227. if {enchl} is 3:
  228. set line 2 of lore of clicked item to "&5Phantom AttackⅢ"
  229. if {_ench} is between 11 and 20:
  230. if {enchl} is 1:
  231. set line 2 of lore of clicked item to "&1Ender GuardⅠ"
  232. if {enchl} is 2:
  233. set line 2 of lore of clicked item to "&3Ender GuardⅡ"
  234. if {enchl} is 3:
  235. set line 2 of lore of clicked item to "&5Ender GuardⅢ"
  236. if {_ench} is between 21 and 30:
  237. if {enchl} is 1:
  238. set line 2 of lore of clicked item to "&1Dark StrikeⅠ"
  239. if {enchl} is 2:
  240. set line 2 of lore of clicked item to "&3Dark StrikeⅡ"
  241. if {enchl} is 3:
  242. set line 2 of lore of clicked item to "&5Dark StrikeⅢ"
  243. if {_ench} is between 31 and 40:
  244. if {enchl} is 1:
  245. set line 2 of lore of clicked item to "&1Light ShieldⅠ"
  246. if {enchl} is 2:
  247. set line 2 of lore of clicked item to "&3Light ShieldⅡ"
  248. if {enchl} is 3:
  249. set line 2 of lore of clicked item to "&5Light ShieldⅢ"
  250. if {_ench} is between 41 and 50:
  251. if {enchl} is 1:
  252. set line 2 of lore of clicked item to "&1Wind WallⅠ"
  253. if {enchl} is 2:
  254. set line 2 of lore of clicked item to "&3Wind WallⅡ"
  255. if {enchl} is 3:
  256. set line 2 of lore of clicked item to "&5Wind WallⅢ"
  257. if {_ench} is between 51 and 60:
  258. if {enchl} is 1:
  259. set line 2 of lore of clicked item to "&1Fire ShardⅠ"
  260. if {enchl} is 2:
  261. set line 2 of lore of clicked item to "&3Fire ShardⅡ"
  262. if {enchl} is 3:
  263. set line 2 of lore of clicked item to "&5Fire ShardⅢ"
  264. if {_ench} is between 61 and 70:
  265. if {enchl} is 1:
  266. set line 2 of lore of clicked item to "&1Earth TitanⅠ"
  267. if {enchl} is 2:
  268. set line 2 of lore of clicked item to "&3Earth TitanⅡ"
  269. if {enchl} is 3:
  270. set line 2 of lore of clicked item to "&5Earth TitanⅢ"
  271. if {_ench} is between 71 and 80:
  272. if {enchl} is 1:
  273. set line 2 of lore of clicked item to "&1Ice BarrierⅠ"
  274. if {enchl} is 2:
  275. set line 2 of lore of clicked item to "&3Ice BarrierⅡ"
  276. if {enchl} is 3:
  277. set line 2 of lore of clicked item to "&5Ice BarrierⅢ"
  278. if {_ench} is between 81 and 90:
  279. if {enchl} is 1:
  280. set line 2 of lore of clicked item to "&1Quick SwordⅠ"
  281. if {enchl} is 2:
  282. set line 2 of lore of clicked item to "&3Quick SwordⅡ"
  283. if {enchl} is 3:
  284. set line 2 of lore of clicked item to "&5Quick SwordⅢ"
  285. if {_ench} is between 91 and 100:
  286. if {enchl} is 1:
  287. set line 2 of lore of clicked item to "&1Book ShearsⅠ"
  288. if {enchl} is 2:
  289. set line 2 of lore of clicked item to "&3Book ShearsⅡ"
  290. if {enchl} is 3:
  291. set line 2 of lore of clicked item to "&5Book ShearsⅢ"
  292. if {EnchF} is 0:
  293. if {UF} is 1:
  294. set {_enchg} to random integer between 1 and 1000
  295. if {_enchg} is between 1 and 900:
  296. set {enchl} to 1
  297. if {_enchg} is between 901 and 950:
  298. remove 1 of {_item} from player
  299. stop
  300. if {_enchg} is between 951 and 980:
  301. set {enchl} to 2
  302. if {_enchg} is between 981 and 1000:
  303. set {enchl} to 3
  304.  
  305. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  306.  
  307. set {_ench} to random integer between 1 and 100
  308.  
  309. if {_ench} is between 1 and 10:
  310. if {enchl} is 1:
  311. set line 2 of lore of clicked item to "&1Phantom AttackⅠ"
  312. if {enchl} is 2:
  313. set line 2 of lore of clicked item to "&3Phantom AttackⅡ"
  314. if {enchl} is 3:
  315. set line 2 of lore of clicked item to "&5Phantom AttackⅢ"
  316. if {_ench} is between 11 and 20:
  317. if {enchl} is 1:
  318. set line 2 of lore of clicked item to "&1Ender GuardⅠ"
  319. if {enchl} is 2:
  320. set line 2 of lore of clicked item to "&3Ender GuardⅡ"
  321. if {enchl} is 3:
  322. set line 2 of lore of clicked item to "&5Ender GuardⅢ"
  323. if {_ench} is between 21 and 30:
  324. if {enchl} is 1:
  325. set line 2 of lore of clicked item to "&1Dark StrikeⅠ"
  326. if {enchl} is 2:
  327. set line 2 of lore of clicked item to "&3Dark StrikeⅡ"
  328. if {enchl} is 3:
  329. set line 2 of lore of clicked item to "&5Dark StrikeⅢ"
  330. if {_ench} is between 31 and 40:
  331. if {enchl} is 1:
  332. set line 2 of lore of clicked item to "&1Light ShieldⅠ"
  333. if {enchl} is 2:
  334. set line 2 of lore of clicked item to "&3Light ShieldⅡ"
  335. if {enchl} is 3:
  336. set line 2 of lore of clicked item to "&5Light ShieldⅢ"
  337. if {_ench} is between 41 and 50:
  338. if {enchl} is 1:
  339. set line 2 of lore of clicked item to "&1Wind WallⅠ"
  340. if {enchl} is 2:
  341. set line 2 of lore of clicked item to "&3Wind WallⅡ"
  342. if {enchl} is 3:
  343. set line 2 of lore of clicked item to "&5Wind WallⅢ"
  344. if {_ench} is between 51 and 60:
  345. if {enchl} is 1:
  346. set line 2 of lore of clicked item to "&1Fire ShardⅠ"
  347. if {enchl} is 2:
  348. set line 2 of lore of clicked item to "&3Fire ShardⅡ"
  349. if {enchl} is 3:
  350. set line 2 of lore of clicked item to "&5Fire ShardⅢ"
  351. if {_ench} is between 61 and 70:
  352. if {enchl} is 1:
  353. set line 2 of lore of clicked item to "&1Earth TitanⅠ"
  354. if {enchl} is 2:
  355. set line 2 of lore of clicked item to "&3Earth TitanⅡ"
  356. if {enchl} is 3:
  357. set line 2 of lore of clicked item to "&5Earth TitanⅢ"
  358. if {_ench} is between 71 and 80:
  359. if {enchl} is 1:
  360. set line 2 of lore of clicked item to "&1Ice BarrierⅠ"
  361. if {enchl} is 2:
  362. set line 2 of lore of clicked item to "&3Ice BarrierⅡ"
  363. if {enchl} is 3:
  364. set line 2 of lore of clicked item to "&5Ice BarrierⅢ"
  365. if {_ench} is between 81 and 90:
  366. if {enchl} is 1:
  367. set line 2 of lore of clicked item to "&1Quick SwordⅠ"
  368. if {enchl} is 2:
  369. set line 2 of lore of clicked item to "&3Quick SwordⅡ"
  370. if {enchl} is 3:
  371. set line 2 of lore of clicked item to "&5Quick SwordⅢ"
  372. if {_ench} is between 91 and 100:
  373. if {enchl} is 1:
  374. set line 2 of lore of clicked item to "&1Book ShearsⅠ"
  375. if {enchl} is 2:
  376. set line 2 of lore of clicked item to "&3Book ShearsⅡ"
  377. if {enchl} is 3:
  378. set line 2 of lore of clicked item to "&5Book ShearsⅢ"
  379. if {EnchF} is 1:
  380. if {UF} is 0:
  381. set {_enchg} to random integer between 1 and 1000
  382. if {_enchg} is between 1 and 750:
  383. set {enchl} to 1
  384. if {_enchg} is between 751 and 850:
  385. remove 1 of {_item} from player
  386. stop
  387. if {_enchg} is between 850 and 900:
  388. set {enchl} to 2
  389. if {_enchg} is between 901 and 1000:
  390. set {enchl} to 3
  391.  
  392. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  393.  
  394. set {_ench} to random integer between 1 and 100
  395. if {_ench} is between 1 and 10:
  396. if {enchl} is 1:
  397. set line 2 of lore of clicked item to "&1Phantom AttackⅠ"
  398. if {enchl} is 2:
  399. set line 2 of lore of clicked item to "&3Phantom AttackⅡ"
  400. if {enchl} is 3:
  401. set line 2 of lore of clicked item to "&5Phantom AttackⅢ"
  402. if {_ench} is between 11 and 20:
  403. if {enchl} is 1:
  404. set line 2 of lore of clicked item to "&1Ender GuardⅠ"
  405. if {enchl} is 2:
  406. set line 2 of lore of clicked item to "&3Ender GuardⅡ"
  407. if {enchl} is 3:
  408. set line 2 of lore of clicked item to "&5Ender GuardⅢ"
  409. if {_ench} is between 21 and 30:
  410. if {enchl} is 1:
  411. set line 2 of lore of clicked item to "&1Dark StrikeⅠ"
  412. if {enchl} is 2:
  413. set line 2 of lore of clicked item to "&3Dark StrikeⅡ"
  414. if {enchl} is 3:
  415. set line 2 of lore of clicked item to "&5Dark StrikeⅢ"
  416. if {_ench} is between 31 and 40:
  417. if {enchl} is 1:
  418. set line 2 of lore of clicked item to "&1Light ShieldⅠ"
  419. if {enchl} is 2:
  420. set line 2 of lore of clicked item to "&3Light ShieldⅡ"
  421. if {enchl} is 3:
  422. set line 2 of lore of clicked item to "&5Light ShieldⅢ"
  423. if {_ench} is between 41 and 50:
  424. if {enchl} is 1:
  425. set line 2 of lore of clicked item to "&1Wind WallⅠ"
  426. if {enchl} is 2:
  427. set line 2 of lore of clicked item to "&3Wind WallⅡ"
  428. if {enchl} is 3:
  429. set line 2 of lore of clicked item to "&5Wind WallⅢ"
  430. if {_ench} is between 51 and 60:
  431. if {enchl} is 1:
  432. set line 2 of lore of clicked item to "&1Fire ShardⅠ"
  433. if {enchl} is 2:
  434. set line 2 of lore of clicked item to "&3Fire ShardⅡ"
  435. if {enchl} is 3:
  436. set line 2 of lore of clicked item to "&5Fire ShardⅢ"
  437. if {_ench} is between 61 and 70:
  438. if {enchl} is 1:
  439. set line 2 of lore of clicked item to "&1Earth TitanⅠ"
  440. if {enchl} is 2:
  441. set line 2 of lore of clicked item to "&3Earth TitanⅡ"
  442. if {enchl} is 3:
  443. set line 2 of lore of clicked item to "&5Earth TitanⅢ"
  444. if {_ench} is between 71 and 80:
  445. if {enchl} is 1:
  446. set line 2 of lore of clicked item to "&1Ice BarrierⅠ"
  447. if {enchl} is 2:
  448. set line 2 of lore of clicked item to "&3Ice BarrierⅡ"
  449. if {enchl} is 3:
  450. set line 2 of lore of clicked item to "&5Ice BarrierⅢ"
  451. if {_ench} is between 81 and 90:
  452. if {enchl} is 1:
  453. set line 2 of lore of clicked item to "&1Quick SwordⅠ"
  454. if {enchl} is 2:
  455. set line 2 of lore of clicked item to "&3Quick SwordⅡ"
  456. if {enchl} is 3:
  457. set line 2 of lore of clicked item to "&5Quick SwordⅢ"
  458. if {_ench} is between 91 and 100:
  459. if {enchl} is 1:
  460. set line 2 of lore of clicked item to "&1Book ShearsⅠ"
  461. if {enchl} is 2:
  462. set line 2 of lore of clicked item to "&3Book ShearsⅡ"
  463. if {enchl} is 3:
  464. set line 2 of lore of clicked item to "&5Book ShearsⅢ"
  465. if {EnchF} is 1:
  466. if {UF} is 1:
  467. set {_enchg} to random integer between 1 and 1000
  468. if {_enchg} is between 1 and 800:
  469. set {enchl} to 1
  470. if {_enchg} is between 801 and 850:
  471. remove 1 of {_item} from player
  472. stop
  473. if {_enchg} is between 851 and 900:
  474. set {enchl} to 2
  475. if {_enchg} is between 901 and 1000:
  476. set {enchl} to 3
  477.  
  478. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  479.  
  480. set {_ench} to random integer between 1 and 100
  481. if {_ench} is between 1 and 10:
  482. if {enchl} is 1:
  483. set line 2 of lore of clicked item to "&1Phantom AttackⅠ"
  484. if {enchl} is 2:
  485. set line 2 of lore of clicked item to "&3Phantom AttackⅡ"
  486. if {enchl} is 3:
  487. set line 2 of lore of clicked item to "&5Phantom AttackⅢ"
  488. if {_ench} is between 11 and 20:
  489. if {enchl} is 1:
  490. set line 2 of lore of clicked item to "&1Ender GuardⅠ"
  491. if {enchl} is 2:
  492. set line 2 of lore of clicked item to "&3Ender GuardⅡ"
  493. if {enchl} is 3:
  494. set line 2 of lore of clicked item to "&5Ender GuardⅢ"
  495. if {_ench} is between 21 and 30:
  496. if {enchl} is 1:
  497. set line 2 of lore of clicked item to "&1Dark StrikeⅠ"
  498. if {enchl} is 2:
  499. set line 2 of lore of clicked item to "&3Dark StrikeⅡ"
  500. if {enchl} is 3:
  501. set line 2 of lore of clicked item to "&5Dark StrikeⅢ"
  502. if {_ench} is between 31 and 40:
  503. if {enchl} is 1:
  504. set line 2 of lore of clicked item to "&1Light ShieldⅠ"
  505. if {enchl} is 2:
  506. set line 2 of lore of clicked item to "&3Light ShieldⅡ"
  507. if {enchl} is 3:
  508. set line 2 of lore of clicked item to "&5Light ShieldⅢ"
  509. if {_ench} is between 41 and 50:
  510. if {enchl} is 1:
  511. set line 2 of lore of clicked item to "&1Wind WallⅠ"
  512. if {enchl} is 2:
  513. set line 2 of lore of clicked item to "&3Wind WallⅡ"
  514. if {enchl} is 3:
  515. set line 2 of lore of clicked item to "&5Wind WallⅢ"
  516. if {_ench} is between 51 and 60:
  517. if {enchl} is 1:
  518. set line 2 of lore of clicked item to "&1Fire ShardⅠ"
  519. if {enchl} is 2:
  520. set line 2 of lore of clicked item to "&3Fire ShardⅡ"
  521. if {enchl} is 3:
  522. set line 2 of lore of clicked item to "&5Fire ShardⅢ"
  523. if {_ench} is between 61 and 70:
  524. if {enchl} is 1:
  525. set line 2 of lore of clicked item to "&1Earth TitanⅠ"
  526. if {enchl} is 2:
  527. set line 2 of lore of clicked item to "&3Earth TitanⅡ"
  528. if {enchl} is 3:
  529. set line 2 of lore of clicked item to "&5Earth TitanⅢ"
  530. if {_ench} is between 71 and 80:
  531. if {enchl} is 1:
  532. set line 2 of lore of clicked item to "&1Ice BarrierⅠ"
  533. if {enchl} is 2:
  534. set line 2 of lore of clicked item to "&3Ice BarrierⅡ"
  535. if {enchl} is 3:
  536. set line 2 of lore of clicked item to "&5Ice BarrierⅢ"
  537. if {_ench} is between 81 and 90:
  538. if {enchl} is 1:
  539. set line 2 of lore of clicked item to "&1Quick SwordⅠ"
  540. if {enchl} is 2:
  541. set line 2 of lore of clicked item to "&3Quick SwordⅡ"
  542. if {enchl} is 3:
  543. set line 2 of lore of clicked item to "&5Quick SwordⅢ"
  544. if {_ench} is between 91 and 100:
  545. if {enchl} is 1:
  546. set line 2 of lore of clicked item to "&1Book ShearsⅠ"
  547. if {enchl} is 2:
  548. set line 2 of lore of clicked item to "&3Book ShearsⅡ"
  549. if {enchl} is 3:
  550. set line 2 of lore of clicked item to "&5Book ShearsⅢ"
  551. stop
  552. on right click on anvil:
  553. cancel event
  554. open chest with 0 row named "&5CustomMenu" to player
  555. set {menu::%player%} to 2
  556. on inventory click:
  557. {menu::%player%} is 2
  558. set {_item} to clicked item
  559. loop all items in player's inventory:
  560. if name of loop-item is "&fNormalEnchStone":
  561. remove 1 of loop-item from player
  562. if {EnchF} is 0:
  563. if {UF} is 0:
  564. set {_enchg} to random integer between 1 and 1000
  565. if {_enchg} is between 1 and 850:
  566. set {enchl} to 1
  567. if {_enchg} is between 851 and 950:
  568. remove 1 of {_item} from player
  569. stop
  570. if {_enchg} is between 951 and 997:
  571. set {enchl} to 2
  572. if {_enchg} is between 970 and 1000:
  573. set {enchl} to 3
  574.  
  575. broadcast "&5&l%player%さんが改造レベルⅢを出しました!"
  576.  
  577. set {_ench} to random integer between 1 and 100
  578.  
  579. if {_ench} is between 1 and 25:
  580. if {enchl} is 1:
  581. set line 2 of lore of clicked item to "&2Hyper ModeⅠ"
  582. if {enchl} is 2:
  583. set line 2 of lore of clicked item to "&4Hyper ModeⅡ"
  584. if {enchl} is 3:
  585. set line 2 of lore of clicked item to "&6Hyper ModeⅢ"
  586.  
  587. if {_ench} is between 26 and 50:
  588. if {enchl} is 1:
  589. set line 2 of lore of clicked item to "&2"
  590. if {enchl} is 2:
  591. set line 2 of lore of clicked item to "&3改造2"
  592. if {enchl} is 3:
  593. set line 2 of lore of clicked item to "&3改造2"
  594. if {_ench} is between 51 and 75:
  595. if {enchl} is 1:
  596. set line 2 of lore of clicked item to "&3改造3"
  597. if {enchl} is 2:
  598. set line 2 of lore of clicked item to "&3改造3"
  599. if {enchl} is 3:
  600. set line 2 of lore of clicked item to "&3改造3"
  601. if {_ench} is between 76 and 100:
  602. if {enchl} is 1:
  603. set line 2 of lore of clicked item to "&3改造4"
  604. if {enchl} is 2:
  605. set line 2 of lore of clicked item to "&3改造4"
  606. if {enchl} is 3:
  607. set line 2 of lore of clicked item to "&3改造4"
  608. if {EnchF} is 0:
  609. if {UF} is 1:
  610. set {_enchg} to random integer between 1 and 1000
  611. if {_enchg} is between 1 and 900:
  612. set {enchl} to 1
  613. if {_enchg} is between 901 and 950:
  614. remove 1 of {enchi.%player%} from player
  615. stop
  616. if {_enchg} is between 951 and 997:
  617. set {enchl} to 2
  618. if {_enchg} is between 998 and 1000:
  619. set {enchl} to 3
  620.  
  621. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  622.  
  623. set {_ench} to random integer between 1 and 100
  624.  
  625. if {_ench} is between 1 and 25:
  626. if {enchl} is 1:
  627. set line 2 of lore of clicked item to "&3改造1"
  628. if {enchl} is 2:
  629. set line 2 of lore of clicked item to "&3改造1"
  630. if {enchl} is 3:
  631. set line 2 of lore of clicked item to "&3改造1"
  632.  
  633. if {_ench} is between 26 and 50:
  634. if {enchl} is 1:
  635. set line 2 of lore of clicked item to "&3改造2"
  636. if {enchl} is 2:
  637. set line 2 of lore of clicked item to "&3改造2"
  638. if {enchl} is 3:
  639. set line 2 of lore of clicked item to "&3改造2"
  640. if {_ench} is between 51 and 75:
  641. if {enchl} is 1:
  642. set line 2 of lore of clicked item to "&3改造3"
  643. if {enchl} is 2:
  644. set line 2 of lore of clicked item to "&3改造3"
  645. if {enchl} is 3:
  646. set line 2 of lore of clicked item to "&3改造3"
  647. if {_ench} is between 76 and 100:
  648. if {enchl} is 1:
  649. set line 2 of lore of clicked item to "&3改造4"
  650. if {enchl} is 2:
  651. set line 2 of lore of clicked item to "&3改造4"
  652. if {enchl} is 3:
  653. set line 2 of lore of clicked item to "&3改造4"
  654. if {EnchF} is 1:
  655. if {UF} is 0:
  656. set {_enchg} to random integer between 1 and 1000
  657. if {_enchg} is between 1 and 840:
  658. set {enchl} to 1
  659. if {_enchg} is between 841 and 940:
  660. remove 1 of {enchi.%player%} from player
  661. stop
  662. if {_enchg} is between 940 and 985:
  663. set {enchl} to 2
  664. if {_enchg} is between 986 and 1000:
  665. set {enchl} to 3
  666.  
  667. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  668.  
  669. set {_ench} to random integer between 1 and 100
  670.  
  671. if {_ench} is between 1 and 25:
  672. if {enchl} is 1:
  673. set line 2 of lore of clicked item to "&3改造1"
  674. if {enchl} is 2:
  675. set line 2 of lore of clicked item to "&3改造1"
  676. if {enchl} is 3:
  677. set line 2 of lore of clicked item to "&3改造1"
  678.  
  679. if {_ench} is between 26 and 50:
  680. if {enchl} is 1:
  681. set line 2 of lore of clicked item to "&3改造2"
  682. if {enchl} is 2:
  683. set line 2 of lore of clicked item to "&3改造2"
  684. if {enchl} is 3:
  685. set line 2 of lore of clicked item to "&3改造2"
  686. if {_ench} is between 51 and 75:
  687. if {enchl} is 1:
  688. set line 2 of lore of clicked item to "&3改造3"
  689. if {enchl} is 2:
  690. set line 2 of lore of clicked item to "&3改造3"
  691. if {enchl} is 3:
  692. set line 2 of lore of clicked item to "&3改造3"
  693. if {_ench} is between 76 and 100:
  694. if {enchl} is 1:
  695. set line 2 of lore of clicked item to "&3改造4"
  696. if {enchl} is 2:
  697. set line 2 of lore of clicked item to "&3改造4"
  698. if {enchl} is 3:
  699. set line 2 of lore of clicked item to "&3改造4"
  700. if {EnchF} is 1:
  701. if {UF} is 1:
  702. set {_enchg} to random integer between 1 and 1000
  703. if {_enchg} is between 1 and 900:
  704. set {enchl} to 1
  705. if {_enchg} is between 901 and 950:
  706. remove 1 of {enchi.%player%} from player
  707. stop
  708. if {_enchg} is between 940 and 985:
  709. set {enchl} to 2
  710. if {_enchg} is between 986 and 1000:
  711. set {enchl} to 3
  712.  
  713. broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
  714.  
  715. set {_ench} to random integer between 1 and 100
  716.  
  717. if {_ench} is between 1 and 25:
  718. if {enchl} is 1:
  719. set line 2 of lore of clicked item to "&3改造1"
  720. if {enchl} is 2:
  721. set line 2 of lore of clicked item to "&3改造1"
  722. if {enchl} is 3:
  723. set line 2 of lore of clicked item to "&3改造1"
  724.  
  725. if {_ench} is between 26 and 50:
  726. if {enchl} is 1:
  727. set line 2 of lore of clicked item to "&3改造2"
  728. if {enchl} is 2:
  729. set line 2 of lore of clicked item to "&3改造2"
  730. if {enchl} is 3:
  731. set line 2 of lore of clicked item to "&3改造2"
  732. if {_ench} is between 51 and 75:
  733. if {enchl} is 1:
  734. set line 2 of lore of clicked item to "&3改造3"
  735. if {enchl} is 2:
  736. set line 2 of lore of clicked item to "&3改造3"
  737. if {enchl} is 3:
  738. set line 2 of lore of clicked item to "&3改造3"
  739. if {_ench} is between 76 and 100:
  740. if {enchl} is 1:
  741. set line 2 of lore of clicked item to "&3改造4"
  742. if {enchl} is 2:
  743. set line 2 of lore of clicked item to "&3改造4"
  744. if {enchl} is 3:
  745. set line 2 of lore of clicked item to "&3改造4"
  746. stop
Advertisement
Add Comment
Please, Sign In to add comment