| | |
| | | List<int> m_CacheGotAchievements = new List<int>();
|
| | | Dictionary<int, int> treasureStageShowDict = new Dictionary<int, int>();
|
| | | List<int> treasureUnOpens = new List<int>();//版本未开放法宝
|
| | | Dictionary<int, int[]> potentialInitialPowers = new Dictionary<int, int[]>();
|
| | |
|
| | | public Dictionary<int, int> fairyTreasureGetDict { get; private set; }
|
| | |
|
| | |
| | | public bool openFromTreasureUnlockShow { get; set; }
|
| | | public bool openFromTreasureCollect { get; set; }
|
| | | public bool openFromTreasureList { get; set; }
|
| | | public bool inPotentialModifyPower { get; set; }
|
| | | public int openFromTaskId = 0;
|
| | |
|
| | | public List<int> castSoulGuideTaskIds { get; private set; }
|
| | |
| | | {
|
| | | var caseSoulRedpoint = new Redpoint(CATEGORY_REDPOINTIDS[config.Category - 1], TREASURE_REDPOINTBASE + redpointIndex++);
|
| | | treasure = new HumanTreasure(config.ID, config.Potentials, skillLevelUpRedpoint, achievementRedpoint, caseSoulRedpoint);
|
| | | potentialInitialPowers.Add(config.ID, config.SkillPower);
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | }
|
| | | return true;
|
| | | }
|
| | |
|
| | | public int GetPotentialInitialPower(int treasureId, int index)
|
| | | {
|
| | | if (potentialInitialPowers.ContainsKey(treasureId))
|
| | | {
|
| | | var powerArray = potentialInitialPowers[treasureId];
|
| | | if (powerArray != null && index < powerArray.Length && index >= 0)
|
| | | {
|
| | | return powerArray[index];
|
| | | }
|
| | | }
|
| | | return 0;
|
| | | }
|
| | | }
|
| | |
|
| | | }
|