| | |
| | | get; private set;
|
| | | }
|
| | |
|
| | | public int autoSelectPotential { get; set; }
|
| | |
|
| | | Dictionary<int, List<TreasurePotential>> jobToPotentials = new Dictionary<int, List<TreasurePotential>>();
|
| | |
|
| | | public List<TreasurePotential> potentials
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public TreasurePotential GetPotentialByIndex(int index)
|
| | | {
|
| | | if (potentials == null)
|
| | | {
|
| | | return null;
|
| | | }
|
| | | else
|
| | | {
|
| | | if (index >= 0 && index < potentials.Count)
|
| | | {
|
| | | return potentials[index];
|
| | | }
|
| | |
|
| | | return null;
|
| | | }
|
| | | }
|
| | |
|
| | | public void UpdatePotentialLevel(int _potentialId, int _level)
|
| | | {
|
| | | for (int i = 0; i < potentials.Count; i++)
|