v0.4.1: reduced the healing effect on brimstone
This commit is contained in:
parent
6bf05ea044
commit
4066a4b4f4
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user