Talk:Loyalty

The maths behind Loyalty's return time
So, seeing as this is one of the only Enchant pages with no explanation of how level mathematically affects the enchantment effect, I decided to do some testing. I tested Loyalty I, II, and III over distances of 5, 10, 15, 20, 25, 30, and 35 blocks. Here are my results for the time between strike and return (partly kept track of via command blocks to ensure accuracy):

Note that the only anomaly is 25 and 30 blocks, whose results, oddly enough, are swapped in-game (possibly an undetected/unreported bug?).

Observations: over 1 second (which seems to be the base time), return time takes an additional 0.1 seconds per block for Loyalty I, 0.05 seconds per block for Loyalty II, and 0.0333(...) seconds per block for Loyalty III. This works out to a nice, easy formula:


 * Return Time = 1 + (0.1 * Distance)/(Loyalty Level)

I'm not sure if this is 100% accurate (again, there's that weird glitch around 25~30 blocks I can't explain), but this seems to hold true for all other values tested. After testing Loyalty X at 35 Blocks, the formula seems to still be holding up (measured ~1.3 seconds, the formula gives 1.35).

Thoughts?

--23.124.116.45 16:44, 22 July 2020 (UTC) --23.124.116.45 16:45, 22 July 2020 (UTC) (slight edit because I'm dumb)