#vanilla protection level cap
10 messages · Page 1 of 1 (latest)
im also aware of the disable unsafe enchantment factor in the esentials plugin but i cant find it
actually i just found it but there still doesnt seem to be a difference between protection 5 and protection 255
Only thing I can suggest is to code a skript that gives attributes based on the protection level
For ex., if you wear a chestplate with prot 6, the skript will unenchant it, add a lore that shows the protection level, and give it a protection attribute based on the level
I have no idea how to do that so yeah
Use skript. Upload the Skript File
Download SkBee
Honestly I suggest just using LORE BASED CODE
Like:
on damage:
loop lore of victim's helmet:
lore of victim's helmet contains "&7Protection"
set {_temp} to loop-value
replace all "&7", "Protection", and " " in {_temp} with ""
set {_temp} to {_temp} parsed as an integer
set {_temp} to {_temp} * 0.01
set damage to round (damage * {_temp})
something like this would work
command /gethelm:
trigger:
give player 1 of helmet with lore "&7Protection 10000"
Thx