|
@@ -36,6 +36,13 @@ public class Spirits_Invisible : MonoBehaviour
|
|
|
playerController.uiHp.gameObject.SetActive(false);
|
|
playerController.uiHp.gameObject.SetActive(false);
|
|
|
playerController.isInvisible = true;
|
|
playerController.isInvisible = true;
|
|
|
playerController.mp += addMp;
|
|
playerController.mp += addMp;
|
|
|
|
|
+ if (playerController.floatState != 0)
|
|
|
|
|
+ {
|
|
|
|
|
+ playerController.floatState = 3;
|
|
|
|
|
+ player.transform.localEulerAngles = new Vector3(0, 0, 0);
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
normalSpeed = playerController.moveSpeed;
|
|
normalSpeed = playerController.moveSpeed;
|
|
|
for (int i = 0;i < playerController.beTargetCharacter.Count; i++)
|
|
for (int i = 0;i < playerController.beTargetCharacter.Count; i++)
|
|
|
{
|
|
{
|
|
@@ -85,7 +92,7 @@ public class Spirits_Invisible : MonoBehaviour
|
|
|
}
|
|
}
|
|
|
public void BackToPlayer()
|
|
public void BackToPlayer()
|
|
|
{
|
|
{
|
|
|
-
|
|
|
|
|
|
|
+ playerController.ani.Play("fall",0,0);
|
|
|
}
|
|
}
|
|
|
void AttackJ()
|
|
void AttackJ()
|
|
|
{
|
|
{
|