v0.3.4: tweaked burning, now does less damage at low HP, no longer auto-resists
This commit is contained in:
parent
d6b5fee9bc
commit
0315cfec77
src/com/shatteredpixel/shatteredpixeldungeon
|
@ -75,8 +75,10 @@ public class Burning extends Buff implements Hero.Doom {
|
|||
public boolean act() {
|
||||
|
||||
if (target.isAlive()) {
|
||||
|
||||
target.damage( Random.Int( 1, 5 ), this );
|
||||
|
||||
//maximum damage scales from 6 to 2 depending on remaining hp.
|
||||
int maxDmg = 3 + Math.round( 4 * target.HP / (float)target.HT );
|
||||
target.damage( Random.Int( 1, maxDmg ), this );
|
||||
Buff.detach( target, Chill.class);
|
||||
|
||||
if (target instanceof Hero) {
|
||||
|
@ -121,7 +123,6 @@ public class Burning extends Buff implements Hero.Doom {
|
|||
left -= TICK;
|
||||
|
||||
if (left <= 0 ||
|
||||
Random.Float() > (2 + (float)target.HP / target.HT) / 3 ||
|
||||
(Level.water[target.pos] && !target.flying)) {
|
||||
|
||||
detach();
|
||||
|
|
|
@ -52,7 +52,7 @@ actors.buffs.buff.#moreturns=%s more turns
|
|||
|
||||
actors.buffs.burning.name=Burning
|
||||
actors.buffs.burning.heromsg=You catch fire!
|
||||
actors.buffs.burning.desc=Few things are more distressing than being engulfed in flames.\n\nFire will deal damage every turn until it is put out by water, expires, or it is resisted.Fire can be extinquished by stepping into water, or from the splash of a shattering potion.\n\nAdditionally, the fire may ignite flammable terrain or items that it comes into contact with.\n\nThe burning will last for %s, or until it is resisted or extinquished.
|
||||
actors.buffs.burning.desc=Few things are more distressing than being engulfed in flames.\n\nFire will deal damage every turn until it is put out by water or it expires. Fire can be extinquished by stepping into water, or from the splash of a shattering potion.\n\nAdditionally, the fire may ignite flammable terrain or items that it comes into contact with.\n\nThe burning will last for %s, or until it is extinquished.
|
||||
|
||||
actors.buffs.charm.name=Charmed
|
||||
actors.buffs.charm.heromsg=You are charmed!
|
||||
|
|
Loading…
Reference in New Issue
Block a user