Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
does this disable enchant? I don't want it to disable enchantI used
You will need sharpsk for thatcode_language.skript:On Anvil Prepare: cancel event
Can't find how... I want to disable people use anvil to fix their tool only. But they can still use to enchantHave you found a way to detect whether a player is trying to fix OR enchant an item? If yes, i have a solution
Also please stop bumping so often
This would not be the easyist thing only thing what i can think of is canceling and completly add all possibilitys.Can't find how... I want to disable people use anvil to fix their tool only. But they can still use to enchant
set player's repair cost to 999
on inventory click:
if type of clicked inventory is anvil inventory:
if index of clicked slot is 2: #If anvil repair event
if damage value of slot 2 of clicked inventory is less than damage value of slot 0 of clicked inventory or damage value of slot 1 of clicked inventory: #If the repaired item is less damaged by either the first or second item:
cancel event