v3.0.0: fixed chaotic censer's corrosion gas dmg starting at 1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user