v0.8.2c: Reduced damage and armor blocking for gripping/flashing traps
This commit is contained in:
parent
593d4c26ac
commit
bdecd160db
|
@ -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 );
|
||||||
|
|
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user