Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chaos <player>:
- excutable by: console
- trigger:
- send "&7[Lv5200] &6Grim Binder&f: 私は汝が手に持つその武器の力を" to player-arg
- send "&7[Lv5200] &6Grim Binder&f: この本に閉じ込める事が出来る。" to player-arg
- #レベルが足りない時
- if player-arg's level < 500:
- send "&7[Lv5200] &6Grim Binder&f: だがそなたはこの本の魔力を扱うには未熟すぎる…。鍛錬せよ。" to player-arg
- send "&7このNPCを使うにはLv500以上が必要です。" to player-arg
- #金が足りない時
- else if player-arg's money < {grim.price%player-arg%}:
- send "&7[Lv5200] &6Grim Binder&f: 金が足りん。" to player-arg
- #武器持ってた時
- else if id of held item of player-arg is 279:
- if line 1 of lore of held item of player-arg exists:
- set {_1} to line 1 of lore of held item of player-arg
- if line 1 of lore of held item of player-arg is "" or " ":
- set {_1} to "&7No Mods"
- else:
- set {_1} to "&7No Mods"
- if line 2 of lore of held item of player-arg exists:
- set {_2} to line 2 of lore of held item of player-arg
- if line 2 of lore of held item of player-arg is "" or " ":
- set {_2} to "&7No Mods"
- else:
- set {_2} to "&7No Enchant"
- if line 3 of lore of held item of player-arg exists:
- set {_3} to line 3 of lore of held item of player-arg
- if line 3 of lore of held item of player-arg is "" or " ":
- set {_3} to "&7No Mods"
- else:
- set {_3} to "&7No Overenchant"
- if line 4 of lore of held item of player-arg exists:
- set {_4} to line 4 of lore of held item of player-arg
- if line 4 of lore of held item of player-arg is "" or " ":
- set {_4} to "&7No Mods"
- else:
- set {_4} to "&7No Ancient Enchant"
- if line 7 of lore of held item of player-arg contains "COPIED WEAPON":
- send "&7You can't use &fGrim Binder&7 to the copied weapon."
- stop
- remove 1 of held item of player-arg from player-arg
- set {grim.setstate%player-arg%} to 0
- set {_r} to random integer between 0 and 99
- if {_r} is 0 and 3:#2冊
- send "&7[Lv5200] &6Grim Binder&f: 封印の過程で本が…2冊出来上がったよ。君が両方持っていくといい。珍しいこともあるものだな…。" to player-arg
- else if {_r} is between 4 and 7:#レジェ変化
- if {_1} contains "Emperor" or "Monarch" or "Warlord":
- chance of 15%:
- set {_modr} to random integer 0 and 7
- if {_modr} is 1:
- replace all "Emperor" and "Monarch" and "Warlord" in {_1} with "&cSentinel"
- else:
- 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