|
@@ -1505,15 +1505,8 @@ public class PlayerController : MoveCharacter
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
GameObject prefab = changePrefabs[id];
|
|
GameObject prefab = changePrefabs[id];
|
|
|
- if (!CheckCanSummon(id))
|
|
|
|
|
- {
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
ChangeState(CharacterState.Transfiguration);
|
|
ChangeState(CharacterState.Transfiguration);
|
|
|
summonTime = prefab.GetComponent<Demonic>().totalSummonTime;
|
|
summonTime = prefab.GetComponent<Demonic>().totalSummonTime;
|
|
|
- float costMp = prefab.GetComponent<Demonic>().costMp;
|
|
|
|
|
- mp -= costMp;
|
|
|
|
|
- uiMp.Show(mp, totalMp);
|
|
|
|
|
bodyTrans.gameObject.SetActive(false);
|
|
bodyTrans.gameObject.SetActive(false);
|
|
|
foot.trigGroundList.Clear();
|
|
foot.trigGroundList.Clear();
|
|
|
spiritObj = PoolManager.Instantiate(prefab);
|
|
spiritObj = PoolManager.Instantiate(prefab);
|