AbioticTitan947 Posted March 29, 2022 Share Posted March 29, 2022 How do I make custom enchantments? I've tried using TuSKe, but when I use TuSKe commands stop working Link to comment Share on other sites More sharing options...
OnlyPeak Posted March 30, 2022 Share Posted March 30, 2022 Hello, To my knowledge you would most likely have to base this off of the lore on an item. To my understanding this would be done by checking the lore on a players item every time it changes. something like: On tool change: if lore of event item contains "colored name of enchant" #do stuff Please let me know if this helped! Contact Me eMACulate#6759 My Ingame Ranks So Far Default VIP Need Help? Just add my discord and ask away! Link to comment Share on other sites More sharing options...
AbioticTitan947 Posted March 30, 2022 Author Share Posted March 30, 2022 I thought about doing something with the lore of the item, but I can't really add levels that greatly with it I was hoping there would be a simpler alternative Link to comment Share on other sites More sharing options...
OnlyPeak Posted March 30, 2022 Share Posted March 30, 2022 If you wish to add levels then you should be able to find a website or another forum post that allows you to parse numbers from a colored piece of text in order to change something within your custom enchant, all you have to do is a little bit of research Contact Me eMACulate#6759 My Ingame Ranks So Far Default VIP Need Help? Just add my discord and ask away! Link to comment Share on other sites More sharing options...
AbioticTitan947 Posted April 1, 2022 Author Share Posted April 1, 2022 on mine: #Haste if lore of player's item contains "&fHaste I": chance of 5%: apply haste 1 to player for 5 seconds if lore of player's item contains "&fHaste II": chance of 10%: apply haste 1 to player for 5 seconds if lore of player's item contains "&fHaste III": chance of 20%: apply haste 1 to player for 5 seconds I have tried this but it won't work why Link to comment Share on other sites More sharing options...
OnlyPeak Posted April 1, 2022 Share Posted April 1, 2022 on mine: #Haste if lore of player's item contains "&5&m&fHaste I": chance of 5%: apply haste 1 to player for 5 seconds if lore of player's item contains "&5&m&fHaste II": chance of 10%: apply haste 1 to player for 5 seconds if lore of player's item contains "&5&m&fHaste III": chance of 20%: apply haste 1 to player for 5 seconds This is ur fixed code, ur only problem is ur lore Contact Me eMACulate#6759 My Ingame Ranks So Far Default VIP Need Help? Just add my discord and ask away! Link to comment Share on other sites More sharing options...
AbioticTitan947 Posted April 2, 2022 Author Share Posted April 2, 2022 the purple one was an attempt to see if the problem was it wasn't counting the '&f' because it wasn't shown, and the one the skript checks for is right above it also isn't &o italics and &m strikethrough? I cant remember but I thought it was like that also, the problem was solved whdn I replaced "player's item" with "player's held item" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now