1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Override max defense

Discussion in 'Skript' started by ItsAssasin, Jul 22, 2021.

  1. ItsAssasin

    ItsAssasin Member

    Joined:
    Jul 22, 2021
    Messages:
    1
    Likes Received:
    0
    Im new to this plugin but,
    is there a way to override the 30 armor minecraft default cap?
    thx before response
     
  2. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    530
    Likes Received:
    33
    Not sure but as a workaround you could check a lore/name/nbt of the victim's armor and reduce the damage, e.g.:
    Code (Text):
    1. on damage of player:
    2.   if player's helmet is diamond helmet named "20% less damage":
    3.     set {_fd} to final damage
    4.     set final damage to {_fd} * 0.8
     

Share This Page

Loading...