v3.0.0: guiding bolt and holy lance now press cells if they miss

This commit is contained in:
Evan Debenham
2024-12-31 13:27:59 -05:00
parent 03b642c698
commit d9d5c83395
2 changed files with 3 additions and 0 deletions

View File

@@ -81,6 +81,8 @@ public class GuidingLight extends TargetedClericSpell {
Buff.affect(ch, Illuminated.class); Buff.affect(ch, Illuminated.class);
Buff.affect(ch, WasIlluminatedTracker.class); Buff.affect(ch, WasIlluminatedTracker.class);
} }
} else {
Dungeon.level.pressCell(aim.collisionPos);
} }
hero.spend( 1f ); hero.spend( 1f );

View File

@@ -124,6 +124,7 @@ public class HolyLance extends TargetedClericSpell {
@Override @Override
public void call() { public void call() {
Splash.at(target, 0xFFFFFFFF, 10); Splash.at(target, 0xFFFFFFFF, 10);
Dungeon.level.pressCell(aim.collisionPos);
hero.spendAndNext(1f); hero.spendAndNext(1f);
onSpellCast(tome, hero); onSpellCast(tome, hero);
FlavourBuff.affect(hero, LanceCooldown.class, 50f); FlavourBuff.affect(hero, LanceCooldown.class, 50f);