| | |
| | | public class BlastFurnaceModel : Model, IBeforePlayerDataInitialize, IAfterPlayerDataInitialize, IPlayerLoginOk
|
| | | {
|
| | | public BlastFurnaceFuncTitle funcTitle = BlastFurnaceFuncTitle.MakeDan;
|
| | |
|
| | | private int makeDrugRedLv;
|
| | | public Action<AlchemySpecConfig> RefreshAddSpecMatEvent;
|
| | |
|
| | | private TreasureModel _model;
|
| | |
| | | }
|
| | |
|
| | | alchemyModellist = Config.Instance.GetAllValues<AlchemyConfig>();
|
| | | FuncConfigConfig alchemyRedPoint = Config.Instance.Get<FuncConfigConfig>("AlchemyRedPoint");
|
| | | int.TryParse(alchemyRedPoint.Numerical1,out makeDrugRedLv);
|
| | | SetDandrugRedPointlist();
|
| | | GlobalTimeEvent.Instance.secondEvent += SecondUpdate;
|
| | | }
|
| | |
| | | bool isCheckRed = false;
|
| | | if(!isClick)
|
| | | {
|
| | | if(PlayerDatas.Instance.baseData.LV <= 151)
|
| | | if(PlayerDatas.Instance.baseData.LV <= makeDrugRedLv)
|
| | | {
|
| | | isCheckRed = true;
|
| | | }
|
| | | else if(PlayerDatas.Instance.baseData.LV > 151 && !isLogin && !IsMakeDrugWin)
|
| | | else if(PlayerDatas.Instance.baseData.LV > makeDrugRedLv && !isLogin && !IsMakeDrugWin)
|
| | | {
|
| | | isCheckRed = true;
|
| | | }
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | if(PlayerDatas.Instance.baseData.LV > 151)
|
| | | if(PlayerDatas.Instance.baseData.LV > makeDrugRedLv)
|
| | | {
|
| | | MakeDrugRedpoint.state = RedPointState.None;
|
| | | }
|
| | |
| | | {
|
| | | MakeDan, //炼丹
|
| | | AttrDan, //丹药属性
|
| | | DrugStore, //回收商店
|
| | | }
|
| | |
|
| | |
|