From 36b5c8347842e5eb5efeb5b151eebd00ccb2a48d Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 29 四月 2019 19:37:40 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/EquipStar/EquipStarModel.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/EquipStar/EquipStarModel.cs b/System/EquipStar/EquipStarModel.cs
index 610fca3..69f9caf 100644
--- a/System/EquipStar/EquipStarModel.cs
+++ b/System/EquipStar/EquipStarModel.cs
@@ -527,8 +527,8 @@
if (upgradable)
{
var currentStarLevel = GetEquipStarLevel(equipPosition);
- var config = EquipStarConfig.Get(equipPosition.x, equipPosition.y, currentStarLevel);
- if (config.CostEquipCnt == 0)
+ var config = EquipStarConfig.Get(equipPosition.x, equipPosition.y, currentStarLevel + 1);
+ if (config != null && config.CostEquipCnt == 0)
{
if (config.CostItemDict.x > 0)
{
--
Gitblit v1.8.0