| | |
| | | if (m_FindPreciousType == FindPreciousType.DemonJar)
|
| | | {
|
| | | var demonJarConfig = Config.Instance.Get<DemonJarConfig>(bossId);
|
| | | string[] descriptions = null;
|
| | | switch (PlayerDatas.Instance.baseData.Job)
|
| | | {
|
| | | case 1:
|
| | | descriptions = demonJarConfig.MustItemDescriptionsJob1;
|
| | | break;
|
| | | case 2:
|
| | | descriptions = demonJarConfig.MustItemDescriptionsJob2;
|
| | | break;
|
| | | }
|
| | |
|
| | | for (int i = 0; i < m_UndoubtedlyRewardDescription.Length; i++)
|
| | | {
|
| | | var behaviour = m_UndoubtedlyRewardDescription[i];
|
| | | if (i < demonJarConfig.MustItemDescriptions.Length)
|
| | | if (i < descriptions.Length)
|
| | | {
|
| | | behaviour.gameObject.SetActive(true);
|
| | | behaviour.text = demonJarConfig.MustItemDescriptions[i];
|
| | | behaviour.text = descriptions[i];
|
| | | }
|
| | | else
|
| | | {
|