From 70053d933ebb1968274bf2456957cc9f72dfc6b1 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 11 Aug 2024 11:42:55 -0400 Subject: [PATCH] v2.5.0: visual adjustments to hourglass stasis effect --- .../items/artifacts/TimekeepersHourglass.java | 4 ++-- .../shatteredpixel/shatteredpixeldungeon/levels/Level.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java index c681a6386..3a439e67c 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/TimekeepersHourglass.java @@ -324,8 +324,8 @@ public class TimekeepersHourglass extends Artifact { @Override public void fx(boolean on) { - if (on) target.sprite.add( CharSprite.State.INVISIBLE ); - else if (target.invisible == 0) target.sprite.remove( CharSprite.State.INVISIBLE ); + if (on) target.sprite.add( CharSprite.State.PARALYSED ); + else if (target.invisible == 0) target.sprite.remove( CharSprite.State.PARALYSED ); } } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java index 569d722a8..231a3f0f8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java @@ -1241,7 +1241,7 @@ public abstract class Level implements Bundlable { int cy = c.pos / width(); boolean sighted = c.buff( Blindness.class ) == null && c.buff( Shadows.class ) == null - && c.buff( TimekeepersHourglass.timeStasis.class ) == null && c.isAlive(); + && c.isAlive(); if (sighted) { boolean[] blocking = null;