From a3901bb104da0bb6a22ac88252bf818101f33e52 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 24 Aug 2025 15:59:05 -0400 Subject: [PATCH] v3.2.2: fixed liquid metal saying 33% when it was actually 35% --- core/src/main/assets/messages/items/items.properties | 2 +- .../shatteredpixel/shatteredpixeldungeon/items/LiquidMetal.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/assets/messages/items/items.properties b/core/src/main/assets/messages/items/items.properties index f94b96294..662e240d0 100644 --- a/core/src/main/assets/messages/items/items.properties +++ b/core/src/main/assets/messages/items/items.properties @@ -2371,7 +2371,7 @@ items.liquidmetal.ac_apply=APPLY items.liquidmetal.prompt=Select a thrown weapon items.liquidmetal.already_fixed=That thrown weapon is already in perfect condition! items.liquidmetal.apply=You use %d liquid metal to repair your thrown weapon. -items.liquidmetal.desc=This magical liquid can fill into the cracks and tears on a thrown weapon, restoring it to perfect condition! If a set of weapons is missing a weapon but otherwise fully repaired, then liquid metal can even be used to replace a missing weapon from the set!\n\nA tier 1 weapon requires 10 liquid metal to be fully repaired, a tier 5 weapon requires 30. Each upgrade also increases the amount of metal needed by 33%.\n\nLiquid metal cannot be used to repair the tips on tipped darts. +items.liquidmetal.desc=This magical liquid can fill into the cracks and tears on a thrown weapon, restoring it to perfect condition! If a set of weapons is missing a weapon but otherwise fully repaired, then liquid metal can even be used to replace a missing weapon from the set!\n\nA tier 1 weapon requires 10 liquid metal to be fully repaired, a tier 5 weapon requires 30. Each upgrade also increases the amount of metal needed by 35%.\n\nLiquid metal cannot be used to repair the tips on tipped darts. items.liquidmetal.discover_hint=You can craft this item via alchemy. items.lostbackpack.name=lost backpack diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/LiquidMetal.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/LiquidMetal.java index c7079d84f..973cc4b95 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/LiquidMetal.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/LiquidMetal.java @@ -233,7 +233,7 @@ public class LiquidMetal extends Item { if (m.defaultQuantity() != 3){ quantityPerWeapon = 3f / m.defaultQuantity(); } - quantityPerWeapon *= Math.pow(1.33f, Math.min(5, m.level())); + quantityPerWeapon *= Math.pow(1.35f, Math.min(5, m.level())); float quantity = m.quantity()-1; quantity += 0.25f + 0.0075f*m.durabilityLeft();