So, I've been trying to make a skript where a player takes less damage depending on how much their
{presistance::%attacker's uuid%} is (1 is the least and 20 is the most)
Now I've tried many different codes but the best I've came up with is this:
This code is bad, because it doesn't actually work, even thought I tested it with players, mobs, void etc.
I would be very grateful if someone helped me fix this issue.
Thank you!
{presistance::%attacker's uuid%} is (1 is the least and 20 is the most)
Now I've tried many different codes but the best I've came up with is this:
code_language.skript:
on damage:
if victim is a player:
if {presistance::%attacker's uuid%} is {presistance::%attacker's uuid%}:
decrease damage by {presistance::%attacker's uuid%}*0.15
I would be very grateful if someone helped me fix this issue.
Thank you!