Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /enchf <player>:
- permission:admin
- trigger:
- broadcast "&6&l&m--------*--------*--------"
- broadcast "&a%arg-1% がエンチャ花火を使いました!"
- broadcast "&a5分間の間 エンチャレベルⅢの"
- broadcast "&a付与確率が5倍になります!"
- broadcast "&6&l&m--------*--------*--------"
- set {EnchF} to 1
- wait 300 seconds
- set {EnchF} to 0
- broadcast "&6&l&m-------*--------*-------"
- broadcast "&aエンチャ花火の効果が切れました"
- broadcast "&6&l&m-------*--------*-------"
- command /uf <player>:
- permission:admin
- trigger:
- broadcast "&6&l&m--------*--------*--------"
- broadcast "&a%arg-1% がアンブレ花火を使いました!"
- broadcast "&aAddonで武器が消滅する確率が "
- broadcast "&a5分間の間 1/2になります!"
- broadcast "&6&l&m--------*--------*--------"
- set {UF} to 1
- wait 300 seconds
- set {UF} to 0
- broadcast "&6&l&m--------*--------*--------"
- broadcast "&aアンブレ花火の効果が切れました"
- broadcast "&6&l&m--------*--------*--------"
- on join:
- set {menu::%player%} to 0
- on inventory close:
- set {menu::%player%} to 0
- on right click on enchantment table:
- cancel event
- open chest with 0 row named "&5EnchMenu" to player
- set {menu::%player%} to 1
- on inventory click:
- {menu::%player%} is 1
- set {_item} to clicked item
- loop all items in player's inventory:
- if name of loop-item is "&fNormalEnchStone":
- remove 1 of loop-item from player
- if {EnchF} is 0:
- if {UF} is 0:
- set {_enchg} to random integer between 1 and 1000
- if {_enchg} is between 1 and 850:
- set {enchl} to 1
- if {_enchg} is between 851 and 950:
- remove 1 of {enchi.%player%} from player
- stop
- if {_enchg} is between 951 and 997:
- set {enchl} to 2
- if {_enchg} is between 998 and 1000:
- set {enchl} to 3
- broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
- set {_ench} to random integer between 1 and 100
- if {_ench} is between 1 and 25:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 26 and 50:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 51 and 75:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 76 and 100:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {EnchF} is 0:
- if {UF} is 1:
- set {_enchg} to random integer between 1 and 1000
- if {_enchg} is between 1 and 900:
- set {enchl} to 1
- if {_enchg} is between 901 and 950:
- remove 1 of {enchi.%player%} from player
- stop
- if {_enchg} is between 951 and 997:
- set {enchl} to 2
- if {_enchg} is between 998 and 1000:
- set {enchl} to 3
- broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
- set {_ench} to random integer between 1 and 100
- if {_ench} is between 1 and 25:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 26 and 50:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 51 and 75:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 76 and 100:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {EnchF} is 1:
- if {UF} is 0:
- set {_enchg} to random integer between 1 and 1000
- if {_enchg} is between 1 and 840:
- set {enchl} to 1
- if {_enchg} is between 841 and 940:
- remove 1 of {enchi.%player%} from player
- stop
- if {_enchg} is between 940 and 985:
- set {enchl} to 2
- if {_enchg} is between 986 and 1000:
- set {enchl} to 3
- broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
- set {_ench} to random integer between 1 and 100
- if {_ench} is between 1 and 25:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 26 and 50:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 51 and 75:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 76 and 100:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {EnchF} is 1:
- if {UF} is 1:
- set {_enchg} to random integer between 1 and 1000
- if {_enchg} is between 1 and 900:
- set {enchl} to 1
- if {_enchg} is between 901 and 950:
- remove 1 of {enchi.%player%} from player
- stop
- if {_enchg} is between 940 and 985:
- set {enchl} to 2
- if {_enchg} is between 986 and 1000:
- set {enchl} to 3
- broadcast "&5&l%player%さんがエンチャントレベルⅢを出しました!"
- set {_ench} to random integer between 1 and 100
- if {_ench} is between 1 and 25:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 26 and 50:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 51 and 75:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {_ench} is between 76 and 100:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3LMGこそ最強"
- stop
Advertisement
Add Comment
Please, Sign In to add comment