v0.9.0b: further fixes to freeze/para visual logic

This commit is contained in:
Evan Debenham 2020-10-16 11:38:06 -04:00
parent 2ee24e7c91
commit b39287503e
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ public class Frost extends FlavourBuff {
target.sprite.add(CharSprite.State.PARALYSED); target.sprite.add(CharSprite.State.PARALYSED);
} else { } else {
target.sprite.remove(CharSprite.State.FROZEN); target.sprite.remove(CharSprite.State.FROZEN);
if (target.paralysed <= 1) target.sprite.remove(CharSprite.State.FROZEN); if (target.paralysed <= 1) target.sprite.remove(CharSprite.State.PARALYSED);
} }
} }

View File

@ -417,7 +417,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
alpha( 1f ); alpha( 1f );
break; break;
case PARALYSED: case PARALYSED:
if (iceBlock != null) paused = false; paused = false;
break; break;
case FROZEN: case FROZEN:
if (iceBlock != null) { if (iceBlock != null) {