From 4066a4b4f4d592aea087eb1e94d6229800d9428c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 5 Jul 2016 16:44:18 -0400 Subject: [PATCH] v0.4.1: reduced the healing effect on brimstone --- .../shatteredpixeldungeon/actors/buffs/Burning.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Burning.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Burning.java index 597d0607e..1f6e9e7ac 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Burning.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Burning.java @@ -87,10 +87,11 @@ public class Burning extends Buff implements Hero.Doom { if (hero.belongings.armor != null && hero.belongings.armor.hasGlyph(Brimstone.class)){ - int heal = hero.belongings.armor.level()/2; - if (heal > 0 && hero.HP < hero.HT) { - hero.sprite.emitter().burst(Speck.factory(Speck.HEALING), 1); - hero.HP = Math.min(hero.HT, hero.HP + heal); + float heal = hero.belongings.armor.level()/5f; + if (Random.Float() < heal % 1) heal++; + if (heal >= 1 && hero.HP < hero.HT) { + hero.sprite.emitter().burst(Speck.factory(Speck.HEALING), (int)heal); + hero.HP = Math.min(hero.HT, hero.HP + (int)heal); } } else {