v0.8.2c: Reduced damage and armor blocking for gripping/flashing traps

This commit is contained in:
Evan Debenham 2020-08-21 17:11:16 -04:00
parent 593d4c26ac
commit bdecd160db
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public class FlashingTrap extends Trap {
Char c = Actor.findChar( pos ); Char c = Actor.findChar( pos );
if (c != null) { if (c != null) {
int damage = Math.max( 0, (4 + Dungeon.depth) - c.drRoll() ); int damage = Math.max( 0, (4 + Dungeon.depth/2) - c.drRoll()/2 );
Buff.affect( c, Bleeding.class ).set( damage ); Buff.affect( c, Bleeding.class ).set( damage );
Buff.prolong( c, Blindness.class, Blindness.DURATION ); Buff.prolong( c, Blindness.class, Blindness.DURATION );
Buff.prolong( c, Cripple.class, Cripple.DURATION*2f ); Buff.prolong( c, Cripple.class, Cripple.DURATION*2f );

View File

@ -57,7 +57,7 @@ public class GrippingTrap extends Trap {
Char c = Actor.findChar( pos ); Char c = Actor.findChar( pos );
if (c != null && !c.flying) { if (c != null && !c.flying) {
int damage = Math.max( 0, (2 + Dungeon.depth) - c.drRoll() ); int damage = Math.max( 0, (2 + Dungeon.depth/2) - c.drRoll()/2 );
Buff.affect( c, Bleeding.class ).set( damage ); Buff.affect( c, Bleeding.class ).set( damage );
Buff.prolong( c, Cripple.class, Cripple.DURATION); Buff.prolong( c, Cripple.class, Cripple.DURATION);
Wound.hit( c ); Wound.hit( c );