|
|
@@ -1252,7 +1252,7 @@ public class PlayerController : MoveCharacter
|
|
|
SearchTarget();
|
|
|
attackTarget = targetCharacter;
|
|
|
|
|
|
- if (floatState == 0)
|
|
|
+ if (isMpRepel && floatState == 0)
|
|
|
{
|
|
|
if (mp < totalMp)
|
|
|
{
|
|
|
@@ -1263,7 +1263,7 @@ public class PlayerController : MoveCharacter
|
|
|
mp = totalMp;
|
|
|
}
|
|
|
}
|
|
|
- else
|
|
|
+ if (floatState != 0)
|
|
|
{
|
|
|
if (mp > 0)
|
|
|
{
|
|
|
@@ -1283,6 +1283,8 @@ public class PlayerController : MoveCharacter
|
|
|
uiMp.Show(mp, totalMp);
|
|
|
}
|
|
|
|
|
|
+ public bool isMpRepel = true;
|
|
|
+
|
|
|
public override void ChangeState(CharacterState newState)
|
|
|
{
|
|
|
if (state == newState)
|