v0.3.1d: balances changes/fixes to grim trap
This commit is contained in:
parent
bae3815475
commit
05dab4e582
|
@ -73,8 +73,8 @@ public class GrimTrap extends Trap {
|
||||||
|
|
||||||
if (finalTarget == Dungeon.hero) {
|
if (finalTarget == Dungeon.hero) {
|
||||||
//almost kill the player
|
//almost kill the player
|
||||||
if ((finalTarget.HP/finalTarget.HT) > 0.25f){
|
if (((float)finalTarget.HP/finalTarget.HT) >= 0.9f){
|
||||||
finalTarget.damage((int)(finalTarget.HP*0.8f), this);
|
finalTarget.damage((finalTarget.HP-1), this);
|
||||||
//kill 'em
|
//kill 'em
|
||||||
} else {
|
} else {
|
||||||
finalTarget.damage(finalTarget.HP, this);
|
finalTarget.damage(finalTarget.HP, this);
|
||||||
|
@ -99,7 +99,7 @@ public class GrimTrap extends Trap {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String desc() {
|
public String desc() {
|
||||||
return "Extremely powerful destructive magic is stored within this trap, enough to instantly kill all but the strongest heroes. " +
|
return "Extremely powerful destructive magic is stored within this trap, enough to instantly kill all but the healthiest of heroes. " +
|
||||||
"Triggering it will send a lethal blast of magic towards the nearest character.";
|
"Triggering it will send a ranged blast of lethal magic towards the nearest character.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user