Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on break:
- if player has permission "explosive.break":
- if {Explosive::%player%} is equal to 1:
- if {explosivelevel::%player%} is 1:
- chance of 1%:
- create a fake explosion at the event-block
- loop blocks in radius 2 around the event-block:
- if loop-block is not bedrock or stone:
- if {Fortune::%player%} is equal to 0:
- "%region at event-block%" contains "mine"
- give player 1 of loop-block
- add 1 to {Blocks::%player%}
- set loop-block to air
- if {Fortune::%player%} is less than 6:
- "%region at event-block%" contains "mine"
- give player 2 of loop-block
- add 1 to {Blocks::%player%}
- set loop-block to air
- if {Fortune::%player%} is less than 11:
- "%region at event-block%" contains "mine"
- give player 3 of loop-block
- add 1 to {Blocks::%player%}
- set loop-block to air
- if {Fortune::%player%} is less than 16:
- "%region at event-block%" contains "mine"
- give player 4 of loop-block
- add 1 to {Blocks::%player%}
- set loop-block to air
- if {Fortune::%player%} is less than 20:
- "%region at event-block%" contains "mine"
- give player 5 of loop-block
- add 1 to {Blocks::%player%}
- set loop-block to air
- if {Fortune::%player%} is equal to 20:
- "%region at event-block%" contains "mine"
- give player 6 of loop-block
- add 1 to {Blocks::%player%}
- set loop-block to air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement