Windows Weird interaction of Lucky Purple Shorts and Preserving enchantment on Advanced Iridium Rod

DespairScent

Sodbuster
Using Advanced Iridium Rod with Lucky Purple Shorts in the first tackle slot has the effect of preventing durability loss in the second tackle slot. However, when using a rod enchanted with Preserving, the effect will have a 50% chance of not triggering.

If this effect is intentional, then its interaction with Preserving enchantment seems like a bug.

To be honest, the effect itself seems unintentional to me, that is, a bug.

For the context, the game code looks something like this:
C#:
float consumeChance = 1f;
if (hasEnchantmentOfType<PreservingEnchantment>())
    consumeChance = 0.5f;

foreach (Object tackle in GetTackle()) {
    if (tackle != null && Game1.random.NextDouble() < consumeChance) {
        if (tackle.QualifiedItemId == "(O)789") { // is Lucky Purple Shorts
            break;
        }
        tackle.uses.Value++;
        if (tackle.uses.Value >= maxTackleUses) {
            // remove tackle
        }
    }
}
Game version: 1.6.15 build 24356 (Steam)
 
Top