Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 "Attack Fortune Ⅲ":
- set {_af} to random integer between 1 and 100
- if {_af} is between 1 and 90:
- damage victim by 0.5 hearts
- if lore of {tool.%attacker%} contain "Last Attack Ⅲ":
- 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.%victim%} contain "Power Guard Ⅲ":
- set {_pg} to random integer between 1 and 100
- if {_pg} is between 1 and 35:
- cancel event
- if lore of {tool.%victim%} contain "Holy Barrier Ⅲ":
- set damage to damage - 0.5
- if lore of {tool.%attacker%} contain "Attack Fortune Ⅱ":
- set {_af} to random integer between 1 and 100
- if {_af} is between 1 and 60:
- damage victim by 0.5 hearts
- if lore of {tool.%attacker%} contain "Last Attack Ⅱ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 30:
- damage victim by 1 hearts
- if lore of {tool.%victim%} contain "Power Guard Ⅱ":
- set {_pg} to random integer between 1 and 100
- if {_pg} is between 1 and 20:
- cancel event
- if lore of {tool.%victim%} contain "Holy Barrier Ⅱ":
- set damage to damage - 0.3
- if lore of {tool.%attacker%} contain "Attack Fortune Ⅰ":
- set {_af} to random integer between 1 and 100
- if {_af} is between 1 and 30:
- damage victim by 0.5 hearts
- if lore of {tool.%attacker%} contain "Last Attack Ⅰ":
- set {_la} to random integer between 1 and 100
- if {_la} is between 1 and 20:
- damage victim by 1 hearts
- if lore of {tool.%victim%} contain "Power Guard Ⅰ":
- set {_pg} to random integer between 1 and 100
- if {_pg} is between 1 and 10:
- cancel event
- if lore of {tool.%victim%} contain "Holy Barrier Ⅰ":
- set damage to damage - 0.2
- if lore of {tool.%attacker%} contain "&7Migration":
- set {_lg} to random integer between 1 and 100
- if {_lg} is between 1 and 20:
- execute console command "effect %victim% minecraft:slowness 4 0"
- if lore of {tool.%attacker%} contain "&7Lightguidance":
- set {_lg} to random integer between 1 and 100
- if {_lg} is between 1 and 30:
- execute console command "effect %victim% minecraft:glowing 3 1"
- damage victim by 0.5 hearts
- if lore of {tool.%attacker%} contain "&7Darkguidance":
- set {_dg} to random integer between 1 and 100
- if {_dg} is between 1 and 83:
- damage victim by 1 hearts
- set {_dg2} to random integer between 1 and 100
- if {_dg2} is between 1 and 20:
- execute console command "effect %victim% minecraft:blindness 3 1"
- command /af <number>:
- permission:admin
- trigger:
- loop all items in player's inventory:
- if name of loop-item contains "AdminBOX":
- if loop-item is equal to nether star:
- remove 1 of loop-item from player
- set {ei.%player%} to player's held item
- if arg-1 is 1:
- set line 6 of lore of {ei.%player%} to "&1Attack Fortune Ⅰ"
- if arg-1 is 2:
- set line 6 of lore of {ei.%player%} to "&2Attack Fortune Ⅱ"
- if arg-1 is 3:
- set line 6 of lore of {ei.%player%} to "&5Attack Fortune Ⅲ"
- command /la <number>:
- permission:admin
- trigger:
- loop all items in player's inventory:
- if name of loop-item contains "AdminBOX":
- if loop-item is equal to nether star:
- remove 1 of loop-item from player
- set {ei.%player%} to player's held item
- if arg-1 is 1:
- set line 6 of lore of {ei.%player%} to "&1Last Attack Ⅰ"
- if arg-1 is 2:
- set line 6 of lore of {ei.%player%} to "&2Last Attack Ⅱ"
- if arg-1 is 3:
- set line 6 of lore of {ei.%player%} to "&5Last Attack Ⅲ"
- command /pg <number>:
- permission:admin
- trigger:
- loop all items in player's inventory:
- if name of loop-item contains "AdminBOX":
- if loop-item is equal to nether star:
- remove 1 of loop-item from player
- set {ei.%player%} to player's held item
- if arg-1 is 1:
- set line 6 of lore of {ei.%player%} to "&1Power Guard Ⅰ"
- if arg-1 is 2:
- set line 6 of lore of {ei.%player%} to "&2Power Guard Ⅱ"
- if arg-1 is 3:
- set line 6 of lore of {ei.%player%} to "&5Power Guard Ⅲ"
- command /hb <number>:
- permission:admin
- trigger:
- loop all items in player's inventory:
- if name of loop-item contains "AdminBOX":
- if loop-item is equal to nether star:
- remove 1 of loop-item from player
- set {ei.%player%} to player's held item
- if arg-1 is 1:
- set line 6 of lore of {ei.%player%} to "&1Holy Barrier Ⅰ"
- if arg-1 is 2:
- set line 6 of lore of {ei.%player%} to "&2Holy Barrier Ⅱ"
- if arg-1 is 3:
- set line 6 of lore of {ei.%player%} to "&5Holy Barrier Ⅲ"
- on death of player:
- set {deatht.%entity%} to 1
- on respawn:
- set {deatht.%entity%} to 0
- command /custom:
- trigger:
- if lore of player's held item contains "Ⅲ":
- stop
- loop all items in player's inventory:
- if name of loop-item is "&fEnchantStone":
- remove 1 of loop-item from player
- set {enchi.%player%} to player's held item
- 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 999:
- set {enchl} to 2
- if {_enchg} is 1000:
- set {enchl} to 3
- broadcast "&8&l▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- broadcast "&5&lPlayer %player% issued EnchantRank &5ⅠⅠⅠ!"
- broadcast "&8&l▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
- set {_ench} to random integer between 1 and 100
- if {_ench} is between 1 and 25:
- if {enchl} is 1:
- set line 6 of lore of {enchi.%player%} to "&bAttack Fortune Ⅰ"
- if {enchl} is 2:
- set line 6 of lore of {enchi.%player%} to "&2Attack Fortune Ⅱ"
- if {enchl} is 3:
- set line 6 of lore of {enchi.%player%} to "&5Attack Fortune Ⅲ"
- if {_ench} is between 26 and 50:
- if {enchl} is 1:
- set line 6 of lore of {enchi.%player%} to "&bLast Attack Ⅰ"
- if {enchl} is 2:
- set line 6 of lore of {enchi.%player%} to "&2Last Attack Ⅱ"
- if {enchl} is 3:
- set line 6 of lore of {enchi.%player%} to "&5Last Attack Ⅲ"
- if {_ench} is between 51 and 75:
- if {enchl} is 1:
- set line 6 of lore of {enchi.%player%} to "&bPower Guard Ⅰ"
- if {enchl} is 2:
- set line 6 of lore of {enchi.%player%} to "&2Power Guard Ⅱ"
- if {enchl} is 3:
- set line 6 of lore of {enchi.%player%} to "&5Power Guard Ⅲ"
- if {_ench} is between 76 and 100:
- if {enchl} is 1:
- set line 6 of lore of {enchi.%player%} to "&bHoly Barrier Ⅰ"
- if {enchl} is 2:
- set line 6 of lore of {enchi.%player%} to "&2Holy Barrier Ⅱ"
- if {enchl} is 3:
- set line 6 of lore of {enchi.%player%} to "&5Holy Barrier Ⅲ"
- stop
- command /partscustom:
- trigger:
- loop all items in player's inventory:
- if name of loop-item is "&fPartsbox":
- remove 1 of loop-item from player
- set {pbi.%player%} to player's held item
- set {_pg} to random integer between 1 and 1000
- if {_pg} is between 1 and 190:
- set line 1 of lore of {pbi.%player%} to "&7Migration"
- if {_pg} is between 951 and 1000:
- remove 1 of {pbi.%player%} from player
- stop
- if {_pg} is between 191 and 380:
- set line 1 of lore of {pbi.%player%} to "&7Speedfast"
- if {_pg} is between 381 and 570:
- set line 1 of lore of {pbi.%player%} to "&7Heelsource"
- if {_pg} is between 571 and 760:
- set line 1 of lore of {pbi.%player%} to "&7Lightguidance"
- if {_pg} is between 761 and 950:
- set line 1 of lore of {pbi.%player%} to "&7Darkguidance"
- stop
- command /addon:
- trigger:
- loop all items in player's inventory:
- if name of loop-item is "&fGunParts":
- set {adi.%player%} to player's held item
- set {_dg} to random integer between 1 and 100
- if {_dg} is between 1 and 50:
- remove 1 of {adi.%player%} from player
- remove 1 of loop-item from player
- stop
- if lore of loop-item contain "&1Migration":
- set line 1 of lore of {adi.%player%} to "&7Migration"
- if lore of loop-item contain "&2Speedfast":
- set line 2 of lore of {adi.%player%} to "&7Speedfast"
- if lore of loop-item contain "&3Heelsource":
- set line 3 of lore of {adi.%player%} to "&7Heelsource"
- if lore of loop-item contain "&4Lightguidance":
- set line 4 of lore of {adi.%player%} to "&7Lightguidance"
- if lore of loop-item contain "&5Darkguidance":
- set line 5 of lore of {adi.%player%} to "&7Darkguidance"
- remove 1 of loop-item from player
- stop
- every 1 seconds:
- loop all players:
- if lore of loop-player's held item contain "&7Speedfast":
- execute console command "effect %loop-player% minecraft:speed 1 2"
- if lore of loop-player's held item contain "&7Heelsource":
- execute console command "effect %loop-player% minecraft:regeneration 1 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement