Jump to content

i need a fortune skript for my box server


Recommended Posts

on block break:
	clear drops
	if player's tool is enchanted with fortune 1:
		set {_drops::*} to drops of block
		loop 2 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 2:
		set {_drops::*} to drops of block
		loop 3 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 3:
		set {_drops::*} to drops of block
		loop 4 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 4:
		set {_drops::*} to drops of block
		loop 5 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 5:
		set {_drops::*} to drops of block
		loop 6 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 6:
		set {_drops::*} to drops of block
		loop 7 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 7:
		set {_drops::*} to drops of block
		loop 8 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 8:
		set {_drops::*} to drops of block
		loop 9 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 9:
		set {_drops::*} to drops of block
		loop 10 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 10:
		set {_drops::*} to drops of block
		loop 11 times:
			give player {_drops::*}

if player has a tool enchanted with fortune 10, he gets 11 times what that block would normally drop. Example: He mines 1 obby with fortune 6, he gets 1 obby because he mined it and then 6 more because he has fortune 6 on his pickaxe.

                                                                        Skærmbillede 2024-02-11 151140.png

Link to comment
Share on other sites

  • 4 months later...

Please make sure that you aren't responding to posts that haven't been responded to in over a month. Thanks!

12/10/22 - 4/29/24
[Mod] 4/29/24 - present

(If you need one of the things below, feel free to click on them.)
Appeal | Report | Support
image.gif.68338c74958f6ea949377c85338bda14.gif

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...