|
|
@@ -78,10 +78,6 @@ public class Tower : Character
|
|
|
break;
|
|
|
case CharacterState.Die:
|
|
|
isDie = false;
|
|
|
- if (isLockSoul)
|
|
|
- {
|
|
|
- GetComponentInChildren<LockSoul>().ReleaseAllSouls();
|
|
|
- }
|
|
|
break;
|
|
|
default:
|
|
|
break;
|
|
|
@@ -110,6 +106,10 @@ public class Tower : Character
|
|
|
}
|
|
|
break;
|
|
|
case CharacterState.Die:
|
|
|
+ if (isLockSoul)
|
|
|
+ {
|
|
|
+ GetComponentInChildren<LockSoul>().ReleaseAllSouls();
|
|
|
+ }
|
|
|
ani.Play("die", 0, 0);
|
|
|
aniCollider.Play("Die", 0, 0);
|
|
|
isDie = true;
|