|
|
@@ -53,7 +53,6 @@ public class Spirits_Assassin : Demonic
|
|
|
{
|
|
|
Turn();
|
|
|
}
|
|
|
- targetDir = -targetDir;
|
|
|
}
|
|
|
startRushPos = transform.position;
|
|
|
ani.Play("attack_summon", 0, 0);
|
|
|
@@ -68,7 +67,7 @@ public class Spirits_Assassin : Demonic
|
|
|
switch (state)
|
|
|
{
|
|
|
case CharacterState.Attack:
|
|
|
- rb.velocity = targetDir * rushSpeed;
|
|
|
+ rb.velocity = (bodyTrans.localScale.x > 0 ? 1 : -1) * rushSpeed * targetDir;
|
|
|
if (Vector3.Distance(startRushPos, transform.position) > rushDistance)
|
|
|
{
|
|
|
dashTrigger.gameObject.SetActive(false);
|