| | |
| | | using System;
|
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using System.Collections;
|
| | | using System.Collections.Generic;
|
| | | using System.Linq;
|
| | | using UnityEngine; |
| | | using UnityEngine;
|
| | | namespace Snxxz.UI
|
| | | {
|
| | | [XLua.LuaCallCSharp]
|
| | |
| | | {
|
| | | continue;
|
| | | }
|
| | |
|
| | | var itemCount = packModel.GetItemCountByID(PackType.Item, config.AlchemItemID);
|
| | | if (drugUseLimit.GetUseLimit() - drugUseLimit.eatTimes - itemCount <= 0)
|
| | | {
|
| | | //背包中有足够的灵根丹
|
| | | continue;
|
| | | }
|
| | | |
| | | }
|
| | | else
|
| | | {
|
| | |
| | | continue;
|
| | | }
|
| | | }
|
| | |
|
| | | s_Alchemyables.Add(id);
|
| | | }
|
| | | }
|
| | |
| | | alchemyRedpoint = new Redpoint(redpoint.id, AlchemyModel.redpointIndex++);
|
| | | }
|
| | | }
|
| | | } |
| | | |
| | | }
|
| | |
|