From 6310fe09c8709fc523fdceba1d61e5c96b55fbf3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 24 Jan 2021 23:32:53 -0500 Subject: [PATCH] v0.9.2: corrected stacking inconsistencies with on-eat talent buffs --- .../shatteredpixeldungeon/actors/hero/Talent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java index 81f8d162b..711aac5b8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java @@ -198,7 +198,7 @@ public enum Talent { } if (hero.hasTalent(ENERGIZING_MEAL)){ //5/8 turns of recharging - Buff.affect( hero, Recharging.class, 2 + 3*(hero.pointsInTalent(ENERGIZING_MEAL)) ); + Buff.prolong( hero, Recharging.class, 2 + 3*(hero.pointsInTalent(ENERGIZING_MEAL)) ); ScrollOfRecharging.charge( hero ); } if (hero.hasTalent(MYSTICAL_MEAL)){ @@ -208,7 +208,7 @@ public enum Talent { } if (hero.hasTalent(INVIGORATING_MEAL)){ //effectively 1/2 turns of haste - Buff.affect( hero, Haste.class, 0.67f+hero.pointsInTalent(INVIGORATING_MEAL)); + Buff.prolong( hero, Haste.class, 0.67f+hero.pointsInTalent(INVIGORATING_MEAL)); } }