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 5bce2eaa9..1167e4d1f 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 @@ -725,7 +725,7 @@ public enum Talent { && hero.hasTalent(RECALL_GLYPH) && Scroll.class.isAssignableFrom(cls) && cls != ScrollOfUpgrade.class){ - Buff.affect(hero, RecallGlyph.UsedGlyphTracker.class, hero.pointsInTalent(RECALL_GLYPH) == 2 ? 300 : 10).item = cls; + Buff.prolong(hero, RecallGlyph.UsedGlyphTracker.class, hero.pointsInTalent(RECALL_GLYPH) == 2 ? 300 : 10).item = cls; } } @@ -733,7 +733,7 @@ public enum Talent { if (hero.heroClass == HeroClass.CLERIC && hero.hasTalent(RECALL_GLYPH) && Runestone.class.isAssignableFrom(cls)){ - Buff.affect(hero, RecallGlyph.UsedGlyphTracker.class, hero.pointsInTalent(RECALL_GLYPH) == 2 ? 300 : 10).item = cls; + Buff.prolong(hero, RecallGlyph.UsedGlyphTracker.class, hero.pointsInTalent(RECALL_GLYPH) == 2 ? 300 : 10).item = cls; } } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/GuidingLight.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/GuidingLight.java index d3d783368..93b74be2a 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/GuidingLight.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/GuidingLight.java @@ -87,7 +87,7 @@ public class GuidingLight extends TargetedClericSpell { onSpellCast(tome, hero); if (hero.subClass == HeroSubClass.PRIEST) { - Buff.affect(hero, GuidingLightPriestCooldown.class, 100f); + Buff.prolong(hero, GuidingLightPriestCooldown.class, 100f); } } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/HolyLance.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/HolyLance.java index 2eb4fadbb..33c6b6aa9 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/HolyLance.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/HolyLance.java @@ -111,6 +111,7 @@ public class HolyLance extends TargetedClericSpell { enemy.sprite.burst(0xFFFFFFFF, 10); hero.spendAndNext(1f); + onSpellCast(tome, hero); FlavourBuff.affect(hero, LanceCooldown.class, 50f); } }); @@ -124,6 +125,7 @@ public class HolyLance extends TargetedClericSpell { public void call() { Splash.at(target, 0xFFFFFFFF, 10); hero.spendAndNext(1f); + onSpellCast(tome, hero); FlavourBuff.affect(hero, LanceCooldown.class, 50f); } });