v3.0.0: fixed some charsprite vfx not having visibility updated
This commit is contained in:
@@ -539,9 +539,15 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
|
|||||||
if (iceBlock != null) {
|
if (iceBlock != null) {
|
||||||
iceBlock.visible = visible;
|
iceBlock.visible = visible;
|
||||||
}
|
}
|
||||||
|
if (light != null) {
|
||||||
|
light.visible = visible;
|
||||||
|
}
|
||||||
if (chilled != null) {
|
if (chilled != null) {
|
||||||
chilled.visible = visible;
|
chilled.visible = visible;
|
||||||
}
|
}
|
||||||
|
if (darkBlock != null) {
|
||||||
|
darkBlock.visible = visible;
|
||||||
|
}
|
||||||
if (marked != null) {
|
if (marked != null) {
|
||||||
marked.visible = visible;
|
marked.visible = visible;
|
||||||
}
|
}
|
||||||
@@ -551,6 +557,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
|
|||||||
if (hearts != null) {
|
if (hearts != null) {
|
||||||
hearts.visible = visible;
|
hearts.visible = visible;
|
||||||
}
|
}
|
||||||
|
//shield fx updates its own visibility
|
||||||
if (aura != null) {
|
if (aura != null) {
|
||||||
if (aura.parent == null) {
|
if (aura.parent == null) {
|
||||||
aura.show(this, 0);
|
aura.show(this, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user