From a0f5f9f99b90938a9cc14376421b0ce6df6842ea Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 23 Jan 2025 13:52:16 -0500 Subject: [PATCH] v3.0.0: fixed chaotic censer's corrosion gas dmg starting at 1 --- .../shatteredpixeldungeon/items/trinkets/ChaoticCenser.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/trinkets/ChaoticCenser.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/trinkets/ChaoticCenser.java index 734c3e699..0fd43cb0d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/trinkets/ChaoticCenser.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/trinkets/ChaoticCenser.java @@ -252,6 +252,12 @@ public class ChaoticCenser extends Trinket { if (depth == Dungeon.depth && branch == Dungeon.branch){ GameScene.add(Blob.seed(targetCell, gasQuantity, gasType)); + + //corrosion starts at the same level as potion of corrosive gas + if (gasType == CorrosiveGas.class){ + ((CorrosiveGas)Dungeon.level.blobs.get(CorrosiveGas.class)).setStrength( 2 + Dungeon.scalingDepth()/5, ChaoticCenser.class); + } + MagicMissile.boltFromChar(Dungeon.hero.sprite.parent, MISSILE_VFX.get(gasType), Dungeon.hero.sprite, targetCell, null); Sample.INSTANCE.play(Assets.Sounds.GAS); }