Advertisement
suigin_kunn

Untitled

May 2nd, 2019
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. command /chaos <player>:
  2. excutable by: console
  3. trigger:
  4. send "&7[Lv5200] &6Grim Binder&f: 私は汝が手に持つその武器の力を" to player-arg
  5. send "&7[Lv5200] &6Grim Binder&f: この本に閉じ込める事が出来る。" to player-arg
  6. #レベルが足りない時
  7. if player-arg's level < 500:
  8. send "&7[Lv5200] &6Grim Binder&f: だがそなたはこの本の魔力を扱うには未熟すぎる…。鍛錬せよ。" to player-arg
  9. send "&7このNPCを使うにはLv500以上が必要です。" to player-arg
  10. #金が足りない時
  11. else if player-arg's money < {grim.price%player-arg%}:
  12. send "&7[Lv5200] &6Grim Binder&f: 金が足りん。" to player-arg
  13. #武器持ってた時
  14. else if id of held item of player-arg is 279:
  15. if line 1 of lore of held item of player-arg exists:
  16. set {_1} to line 1 of lore of held item of player-arg
  17. if line 1 of lore of held item of player-arg is "" or " ":
  18. set {_1} to "&7No Mods"
  19. else:
  20. set {_1} to "&7No Mods"
  21. if line 2 of lore of held item of player-arg exists:
  22. set {_2} to line 2 of lore of held item of player-arg
  23. if line 2 of lore of held item of player-arg is "" or " ":
  24. set {_2} to "&7No Mods"
  25. else:
  26. set {_2} to "&7No Enchant"
  27. if line 3 of lore of held item of player-arg exists:
  28. set {_3} to line 3 of lore of held item of player-arg
  29. if line 3 of lore of held item of player-arg is "" or " ":
  30. set {_3} to "&7No Mods"
  31. else:
  32. set {_3} to "&7No Overenchant"
  33. if line 4 of lore of held item of player-arg exists:
  34. set {_4} to line 4 of lore of held item of player-arg
  35. if line 4 of lore of held item of player-arg is "" or " ":
  36. set {_4} to "&7No Mods"
  37. else:
  38. set {_4} to "&7No Ancient Enchant"
  39. if line 7 of lore of held item of player-arg contains "COPIED WEAPON":
  40. send "&7You can't use &fGrim Binder&7 to the copied weapon."
  41. stop
  42. remove 1 of held item of player-arg from player-arg
  43. set {grim.setstate%player-arg%} to 0
  44. set {_r} to random integer between 0 and 99
  45. if {_r} is 0 and 3:#2冊
  46. send "&7[Lv5200] &6Grim Binder&f: 封印の過程で本が…2冊出来上がったよ。君が両方持っていくといい。珍しいこともあるものだな…。" to player-arg
  47. else if {_r} is between 4 and 7:#レジェ変化
  48. if {_1} contains "Emperor" or "Monarch" or "Warlord":
  49. chance of 15%:
  50. set {_modr} to random integer 0 and 7
  51. if {_modr} is 1:
  52. replace all "Emperor" and "Monarch" and "Warlord" in {_1} with "&cSentinel"
  53. else:
  54. give 1 of blaze rod named "&fThe Grim Binder" with lore "%{_1}%||%{_2}%||%{_3}%||%{_4}%" to player-arg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement