|
|
@@ -76,7 +76,6 @@ public class ConductController : MonoBehaviour
|
|
|
}
|
|
|
public void Conduct(int demonicId)
|
|
|
{
|
|
|
- cd[demonicId] = totalCD[demonicId];
|
|
|
int boostNum = playerController.demonicDic[demonicId].Count;
|
|
|
int dienum = (int)(boostNum * conversionRate[demonicId]/100f + 0.5f);
|
|
|
if (dienum == 0 && boostNum >= 1)
|
|
|
@@ -85,6 +84,7 @@ public class ConductController : MonoBehaviour
|
|
|
}
|
|
|
if (dienum > 0)
|
|
|
{
|
|
|
+ cd[demonicId] = totalCD[demonicId];
|
|
|
GameObject obj;
|
|
|
List<int> dieId = new List<int>();
|
|
|
List<Demonic> dieDemonic = new List<Demonic>();
|