v2.5.0: visual adjustments to hourglass stasis effect
This commit is contained in:
+2
-2
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user