v0.7.3b: fixed poison dart traps having different effects depending on visibility

This commit is contained in:
Evan Debenham 2019-05-30 18:05:30 -04:00
parent 9dd77eedd3
commit 49b85e5775

View File

@ -100,7 +100,7 @@ public class PoisonDartTrap extends Trap {
} else { } else {
finalTarget.damage(Random.NormalIntRange(1, 4) - finalTarget.drRoll(), trap); finalTarget.damage(Random.NormalIntRange(1, 4) - finalTarget.drRoll(), trap);
Buff.affect( finalTarget, Poison.class ) Buff.affect( finalTarget, Poison.class )
.set( 4 + Dungeon.depth ); .set( 8 + Math.round(2*Dungeon.depth / 3f) );
} }
} }
} }