Hi! I'm trying to create a skript which, when wearing a player head, gives the same amount of protection as a diamond helmet. It seems simple and not very long, but I have been unable to figure out how to do so.
I've been looking for quite awhile now over the forums and other websites, only to come to a dead end. I think it might be possible through Tuske's Damage Modification (https://prnt.sc/tyof5b) but I am confused how to get it to work.
I have something as simple as this
on damage:
if player's helmet is a head:
clear damage armor
add 3 to damage armor
(Sorry, I do not know how to put it in the format of code, but yes my formatting is fine)
I have Tuske installed, and shows in the plugins list, but it seems like I am doing something wrong. Also, I am very unsure if my code is even close to being right. As of right now, all I want is if a player is wearing a player head, then that head will have the same damage protection as a normal diamond helmet.
Here is the error: https://prnt.sc/typ2gq
Thank you!
I've been looking for quite awhile now over the forums and other websites, only to come to a dead end. I think it might be possible through Tuske's Damage Modification (https://prnt.sc/tyof5b) but I am confused how to get it to work.
I have something as simple as this
on damage:
if player's helmet is a head:
clear damage armor
add 3 to damage armor
(Sorry, I do not know how to put it in the format of code, but yes my formatting is fine)
I have Tuske installed, and shows in the plugins list, but it seems like I am doing something wrong. Also, I am very unsure if my code is even close to being right. As of right now, all I want is if a player is wearing a player head, then that head will have the same damage protection as a normal diamond helmet.
Here is the error: https://prnt.sc/typ2gq
Thank you!