v2.5.0: visual adjustments to hourglass stasis effect

This commit is contained in:
Evan Debenham
2024-08-11 11:42:55 -04:00
parent 7918c02764
commit 70053d933e
2 changed files with 3 additions and 3 deletions
@@ -324,8 +324,8 @@ public class TimekeepersHourglass extends Artifact {
@Override @Override
public void fx(boolean on) { public void fx(boolean on) {
if (on) target.sprite.add( CharSprite.State.INVISIBLE ); if (on) target.sprite.add( CharSprite.State.PARALYSED );
else if (target.invisible == 0) target.sprite.remove( CharSprite.State.INVISIBLE ); else if (target.invisible == 0) target.sprite.remove( CharSprite.State.PARALYSED );
} }
} }
@@ -1241,7 +1241,7 @@ public abstract class Level implements Bundlable {
int cy = c.pos / width(); int cy = c.pos / width();
boolean sighted = c.buff( Blindness.class ) == null && c.buff( Shadows.class ) == null boolean sighted = c.buff( Blindness.class ) == null && c.buff( Shadows.class ) == null
&& c.buff( TimekeepersHourglass.timeStasis.class ) == null && c.isAlive(); && c.isAlive();
if (sighted) { if (sighted) {
boolean[] blocking = null; boolean[] blocking = null;