Set Attribute Data on mob drop and hide

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

  • 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.
Jan 27, 2021
2
0
1
23
Hello! Im not really new to skript, but still need help on this. How do you attribute data to an item, and then hide that attribute? This is so i can put the armor value in the lore. for example,
Code:
#im using the minehut tutorial on this. If you have a better solution, have at it
On death:
  if victim's display name is "&cSpider":
    chance of 10%:
      set {_drop} to iron helmet named "&9Spider Helmet" with lore "&7Armor: &c+5" and "&c" and "&9&lRARE"
      drop {_drop} at victim's location
      stop
If there is any way to change it after you pick it up, that might help with organization

Also FYI, i dont know if this changes anything, but im using MythicMobs to spawn them in,
 
Status
Not open for further replies.