|
@@ -166,13 +166,8 @@ namespace GFGGame
|
|
|
if (InstanceZonesDataManager.FightScene == ConstInstanceZonesType.Field)
|
|
|
{
|
|
|
Timers.inst.Remove(OnClickBtnClose);
|
|
|
- // if (RoleDataManager.power < _curCfg.needPower)
|
|
|
- // {
|
|
|
- // PromptController.Instance.ShowFloatTextPrompt("体力不足");
|
|
|
- // return;
|
|
|
- // }
|
|
|
- FieldCfg fieldCfg = FieldCfgArray.Instance.GetCfg(FieldDataManager.Instance.chapterId);
|
|
|
|
|
|
+ FieldCfg fieldCfg = FieldCfgArray.Instance.GetCfg(FieldDataManager.Instance.chapterId);
|
|
|
int needPower = 0;
|
|
|
for (int i = 0; i < FieldDataManager.Instance.currFightLv + 1; i++)
|
|
|
{
|
|
@@ -181,7 +176,6 @@ namespace GFGGame
|
|
|
if (!this._resultData.Result || FieldDataManager.Instance.currFightLv == fieldCfg.num || RoleDataManager.power < needPower)
|
|
|
{
|
|
|
ViewManager.Show<FieldView>();
|
|
|
- // if (FieldDataManager.Instance.currFightLv <= 1) return;
|
|
|
bool result = await FieldSProxy.ReqFieldInstanceResult();
|
|
|
if (result)
|
|
|
{
|