|
|
@@ -80,7 +80,10 @@ public class Block : Character
|
|
|
switch (newState)
|
|
|
{
|
|
|
case CharacterState.Die:
|
|
|
- ChangeAttackState(State.none);
|
|
|
+ if (!isTowerBomb)
|
|
|
+ {
|
|
|
+ ChangeAttackState(State.none);
|
|
|
+ }
|
|
|
dieKeepTime = totalDieKeepTime;
|
|
|
break;
|
|
|
default:
|
|
|
@@ -179,13 +182,14 @@ public class Block : Character
|
|
|
ani.Play("show", 0, 0);
|
|
|
break;
|
|
|
case State.charge:
|
|
|
- ani.Play("charge", 0, 0);
|
|
|
+ ani.Play("idle", 0, 0);
|
|
|
hasChargeTime = 0;
|
|
|
break;
|
|
|
case State.sprint:
|
|
|
ani.Play("move_start", 0, 0);
|
|
|
break;
|
|
|
case State.bomb:
|
|
|
+ ani.Play("charge", 0, 0);
|
|
|
if (isTowerBomb)
|
|
|
{
|
|
|
rb.velocity = Vector3.zero;
|