Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of player:
- set {deatht.%entity%} to 1
- on respawn:
- set {deatht.%entity%} to 0
- on load:
- wipe server crafting recipes
- on damage:
- if {deatht.%victim%} is 1:
- cancel event
- attacker is player
- victim is player
- set {tool.%attacker%} to attacker's tool
- set {tool.%victim%} to victim's tool
- if lore of {tool.%attacker%} contain "Phantom Attack Ⅲ":
- set {_af} to random integer between 1 and 100
- if {_af} is between 1 and 80:
- damage victim by 2 hearts
- if lore of {tool.%attacker%} contain "Dark Strike Ⅲ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 70:
- damage victim by 3 hearts
- if lore of {tool.%attacker%} contain "Fire Shard Ⅲ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 60:
- damage victim by 4 hearts
- if lore of {tool.%attacker%} contain "Quick Sword Ⅲ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 95:
- damage victim by 1 hearts
- if lore of {tool.%attacker%} contain "Earth Titan Ⅲ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 50:
- damage victim by 5 hearts
- if lore of {tool.%victim%} contain "Ender Guard Ⅲ":
- set {_pg} to random integer between 1 and 100
- if {_pg} is between 1 and 45:
- cancel event
- if lore of {tool.%victim%} contain "Light Shield Ⅲ":
- set damage to damage - 1.5
- if lore of {tool.%victim%} contain "Wind Wall Ⅲ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 50:
- set damage to damage - 4
- if lore of {tool.%victim%} contain "Ice Barrier Ⅲ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 15:
- set damage to damage - 10
- if lore of {tool.%victim%} contain "Book Shears Ⅲ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 80:
- set damage to damage - 2
- if lore of {tool.%attacker%} contain "Phantom Attack Ⅱ":
- set {_af} to random integer between 1 and 100
- if {_af} is between 1 and 60:
- damage victim by 2 hearts
- if lore of {tool.%attacker%} contain "Dark Strike Ⅱ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 50:
- damage victim by 3 hearts
- if lore of {tool.%attacker%} contain "Fire Shard Ⅱ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 40:
- damage victim by 4 hearts
- if lore of {tool.%attacker%} contain "Quick Sword Ⅱ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 80:
- damage victim by 1 hearts
- if lore of {tool.%attacker%} contain "Earth Titan Ⅱ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 30:
- damage victim by 5 hearts
- if lore of {tool.%victim%} contain "Ender Guard Ⅱ":
- set {_pg} to random integer between 1 and 100
- if {_pg} is between 1 and 25:
- cancel event
- if lore of {tool.%victim%} contain "Light Shield Ⅱ":
- set damage to damage - 1.0
- if lore of {tool.%victim%} contain "Wind Wall Ⅱ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 30:
- set damage to damage - 4
- if lore of {tool.%victim%} contain "Ice Barrier Ⅱ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 10:
- set damage to damage - 10
- if lore of {tool.%victim%} contain "Book Shears Ⅱ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 60:
- set damage to damage - 2
- if lore of {tool.%attacker%} contain "Phantom Attack Ⅰ":
- set {_af} to random integer between 1 and 100
- if {_af} is between 1 and 40:
- damage victim by 2 hearts
- if lore of {tool.%attacker%} contain "Dark Strike Ⅰ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 30:
- damage victim by 3 hearts
- if lore of {tool.%attacker%} contain "Fire Shard Ⅰ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 20:
- damage victim by 4 hearts
- if lore of {tool.%attacker%} contain "Quick Sword Ⅰ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 60:
- damage victim by 1 hearts
- if lore of {tool.%attacker%} contain "Earth Titan Ⅰ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 20:
- damage victim by 5 hearts
- if lore of {tool.%victim%} contain "Ender Guard Ⅰ":
- set {_pg} to random integer between 1 and 100
- if {_pg} is between 1 and 15:
- cancel event
- if lore of {tool.%victim%} contain "Light Shield Ⅰ":
- set damage to damage - 0.5
- if lore of {tool.%victim%} contain "Wind Wall Ⅰ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 15:
- set damage to damage - 4
- if lore of {tool.%victim%} contain "Ice Barrier Ⅰ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 5:
- set damage to damage - 10
- if lore of {tool.%victim%} contain "Book Shears Ⅰ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 40:
- set damage to damage - 2
- 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 right click on anvil:
- cancel event
- open chest with 0 row named "&5CustomMenu" to player
- set {menu::%player%} to 2
- on inventory click:
- {menu::%player%} is 2
- set {_item} to clicked item
- loop all items in player's inventory:
- if name of loop-item is "&fNormalCustomStone":
- remove 1 of loop-item from player
- {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 10:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Phantom Attack"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Phantom Attack"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Phantom Attack"
- if {_ench} is between 11 and 20:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Ender Guard"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Ender Guard"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Ender Guard"
- if {_ench} is between 21 and 30:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Dark Strike"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Dark Strike"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Dark Strike"
- if {_ench} is between 31 and 40:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Light Shield"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Light Shield"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Light Shield"
- if {_ench} is between 41 and 50:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Wind Wall"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Wind Wall"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Wind Wall"
- if {_ench} is between 51 and 60:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Fire Shard"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Fire Shard"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Fire Shard"
- if {_ench} is between 61 and 70:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Earth Titan"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Earth Titan"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Earth Titan"
- if {_ench} is between 71 and 80:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Ice Barrier"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Ice Barrier"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Ice Barrier"
- if {_ench} is between 81 and 90:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Quick Sword"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Quick Sword"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Quick Sword"
- if {_ench} is between 91 and 100:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&5Book Shears"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&5Book Shears"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&5Book Shears"
- 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 10:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Phantom Attack"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Phantom Attack"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Phantom Attack"
- if {_ench} is between 11 and 20:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Ender Guard"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Ender Guard"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Ender Guard"
- if {_ench} is between 21 and 30:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Dark Strike"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Dark Strike"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Dark Strike"
- if {_ench} is between 31 and 40:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Light Shield"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Light Shield"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Light Shield"
- if {_ench} is between 41 and 50:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Wind Wall"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Wind Wall"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Wind Wall"
- if {_ench} is between 51 and 60:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Fire Shard"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Fire Shard"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Fire Shard"
- if {_ench} is between 61 and 70:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Earth Titan"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Earth Titan"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Earth Titan"
- if {_ench} is between 71 and 80:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Ice Barrier"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Ice Barrier"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Ice Barrier"
- if {_ench} is between 81 and 90:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Quick Sword"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Quick Sword"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Quick Sword"
- if {_ench} is between 91 and 100:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Book Shears"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Book Shears"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Book Shears"
- 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 10:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Phantom Attack"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Phantom Attack"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Phantom Attack"
- if {_ench} is between 11 and 20:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Ender Guard"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Ender Guard"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Ender Guard"
- if {_ench} is between 21 and 30:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Dark Strike"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Dark Strike"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Dark Strike"
- if {_ench} is between 31 and 40:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Light Shield"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Light Shield"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Light Shield"
- if {_ench} is between 41 and 50:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Wind Wall"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Wind Wall"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Wind Wall"
- if {_ench} is between 51 and 60:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Fire Shard"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Fire Shard"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Fire Shard"
- if {_ench} is between 61 and 70:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Earth Titan"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Earth Titan"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Earth Titan"
- if {_ench} is between 71 and 80:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Ice Barrier"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Ice Barrier"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Ice Barrier"
- if {_ench} is between 81 and 90:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Quick Sword"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Quick Sword"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Quick Sword"
- if {_ench} is between 91 and 100:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Book Shears"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Book Shears"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Book Shears"
- 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 10:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Phantom Attack"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Phantom Attack"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Phantom Attack"
- if {_ench} is between 11 and 20:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Ender Guard"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Ender Guard"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Ender Guard"
- if {_ench} is between 21 and 30:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Dark Strike"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Dark Strike"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Dark Strike"
- if {_ench} is between 31 and 40:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Light Shield"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Light Shield"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Light Shield"
- if {_ench} is between 41 and 50:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Wind Wall"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Wind Wall"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Wind Wall"
- if {_ench} is between 51 and 60:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Fire Shard"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Fire Shard"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Fire Shard"
- if {_ench} is between 61 and 70:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Earth Titan"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Earth Titan"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Earth Titan"
- if {_ench} is between 71 and 80:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Ice Barrier"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Ice Barrier"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Ice Barrier"
- if {_ench} is between 81 and 90:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Quick Sword"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Quick Sword"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Quick Sword"
- if {_ench} is between 91 and 100:
- if {enchl} is 1:
- set line 2 of lore of clicked item to "&3Book Shears"
- if {enchl} is 2:
- set line 2 of lore of clicked item to "&3Book Shears"
- if {enchl} is 3:
- set line 2 of lore of clicked item to "&3Book Shears"
- stop
Advertisement
Add Comment
Please, Sign In to add comment