Solved Enchant Removed

  • Welcome to skUnity!

    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!

bewf

Member
Apr 19, 2024
30
0
6
24
Is anyone able to code a skript that deletes all thorns, including thorns that is on armour



All the addons:
1714911916632.png


im free to add more if needed
 
Code:
on damage:
    if damage cause is thorns:
        cancel event

this should prevent damages by thorns enchant. You can remove enchant thorns but it will be a little difficult. You can get all events of picking items up and cancel them, you have chooses more than one.
 
Code:
on damage:
    if damage cause is thorns:
        cancel event

this should prevent damages by thorns enchant. You can remove enchant thorns but it will be a little difficult. You can get all events of picking items up and cancel them, you have chooses more than one.
would this also remove the knockback done by thorns?