| | |
| | | public event Action fairyFeastPlayerUpdate;
|
| | |
|
| | | public float transmitCostSeconds { get; private set; }
|
| | | public float transmitExpSeconds { get; private set; }
|
| | | string expFormula { get; set; }
|
| | | public int riseLevel { get; private set; }
|
| | | public int expFlyStage { get; private set; }
|
| | |
| | | void ParseConfig()
|
| | | {
|
| | | var config = Config.Instance.Get<FuncConfigConfig>("FairyFeastTransmit");
|
| | | transmitCostSeconds = 15;
|
| | | transmitCostSeconds = 8.5f;
|
| | | transmitExpSeconds = 7.7f;
|
| | | expFlyCount = 3;
|
| | | expFlyStage = 3;
|
| | | if (config != null)
|
| | |
| | | transmitCostSeconds = float.Parse(config.Numerical2) / 1000;
|
| | | expFlyStage = int.Parse(config.Numerical3);
|
| | | expFlyCount = int.Parse(config.Numerical4);
|
| | | transmitExpSeconds = float.Parse(config.Numerical5) / 1000;
|
| | | }
|
| | | config = Config.Instance.Get<FuncConfigConfig>("FamilyPartySitAward");
|
| | | expFormula = config.Numerical1;
|