| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: Fish
|
| | | // [ Date ]: Wednesday, June 26, 2019
|
| | | // [ Date ]: Thursday, June 27, 2019
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public readonly int PerLVMaxHPC;
|
| | | public readonly int DropMoneyPerC;
|
| | | public readonly int SuperHitReduceC;
|
| | | public readonly int SuperHitRateReduceC;
|
| | | public readonly int HitC;
|
| | | public readonly int MissC;
|
| | | public readonly int PetDamPerC;
|
| | |
| | |
|
| | | int.TryParse(tables[15],out SuperHitReduceC);
|
| | |
|
| | | int.TryParse(tables[16],out HitC); |
| | | int.TryParse(tables[16],out SuperHitRateReduceC); |
| | |
|
| | | int.TryParse(tables[17],out MissC); |
| | | int.TryParse(tables[17],out HitC); |
| | |
|
| | | int.TryParse(tables[18],out PetDamPerC); |
| | | int.TryParse(tables[18],out MissC); |
| | |
|
| | | int.TryParse(tables[19],out PetDamPerC); |
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | |
| | | fileFormatVersion: 2 |
| | | guid: b14139202185e114e8c1b11ee6917430 |
| | | timeCreated: 1561544279 |
| | | timeCreated: 1561602229 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | |
|
| | | public void OnConfigParseCompleted()
|
| | | {
|
| | | string key = StringUtility.Contact(EquipClass, EquipColor, IsSuit ,Star);
|
| | | string key = StringUtility.Contact(EquipClass, EquipColor, IsSuit, Star);
|
| | | s_tagGSModelDict.Add(key, this);
|
| | | }
|
| | |
|
| | |
| | | public static Dictionary<PropertyType, int> GetTagGsProValueDict(int lv, int color, int isSuit, int star)
|
| | | {
|
| | | _tagGsProValueDict.Clear();
|
| | | EquipGSParamConfig gsModel = GetGSModel(lv, color, isSuit , star);
|
| | | EquipGSParamConfig gsModel = GetGSModel(lv, color, isSuit, star);
|
| | | if (gsModel == null)
|
| | | return null;
|
| | |
|
| | |
| | | _tagGsProValueDict.Add(PropertyType.HeartResis, gsModel.LuckyHitRateReduceC);
|
| | | _tagGsProValueDict.Add(PropertyType.CritHurt, gsModel.SuperHitC);
|
| | | _tagGsProValueDict.Add(PropertyType.PetAddHurt, gsModel.PetDamPerC);
|
| | | _tagGsProValueDict.Add(PropertyType.ReduceCrit, gsModel.SuperHitRateReduceC);
|
| | | return _tagGsProValueDict;
|
| | | }
|
| | | }
|