Override max defense

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

ItsAssasin

New Member
Jul 22, 2021
6
0
1
23
Im new to this plugin but,
is there a way to override the 30 armor minecraft default cap?
thx before response
 
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:
on damage of player:
  if player's helmet is diamond helmet named "20% less damage":
    set {_fd} to final damage
    set final damage to {_fd} * 0.8
 
Status
Not open for further replies.