Atribute modifiers

  • 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 community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

WiebeHero

Active Member
Aug 23, 2017
135
5
0
Hello everyone! Im trying to make a skill system wich well involves some stuff but i got an issue, the thing that im trying to do is this: I have an item that has 0.4 attack speed (-3.6) and i want to increase this with percentages now of course i know that it can be done with operation. But itl remove all the other tags of nbt and that is not supposed to happen XD so does anyone know? I would really like to know. Here is my code:
Code:
command /AddModi:
    trigger:
        add "{AttributeModifiers:[{AttributeName:""generic.attackSpeed"",Name:""generic.attackSpeed"",Operation:0,UUIDLeast:8055,UUIDMost:772149,Slot:""mainhand""}]}" to nbt of held item
 
Status
Not open for further replies.