v0.3.0: reduced venom max damage

This commit is contained in:
Evan Debenham 2015-05-25 22:23:04 -04:00
parent 99af72cfe3
commit be9ba31994

View File

@ -55,7 +55,7 @@ public class Venom extends Poison implements Hero.Doom {
public boolean act() {
if (target.isAlive()) {
target.damage(damage, this);
damage = Math.min(damage+1+Dungeon.depth/10, Dungeon.depth+1);
damage = Math.min(damage+1+Dungeon.depth/10, ((Dungeon.depth+1)/2)+1);
//want it to act after the cloud of venom it came from.
spend( TICK+0.1f );