From 4ae83be9fec43975328d1f78c6857905b1ddd8e5 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 22 五月 2019 17:21:23 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Store/StoreModel.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/System/Store/StoreModel.cs b/System/Store/StoreModel.cs
index 76f6c0d..f45d846 100644
--- a/System/Store/StoreModel.cs
+++ b/System/Store/StoreModel.cs
@@ -946,14 +946,15 @@
         }
 
         _price = (ulong)(model.MoneyNumber * count);
+        
         if (MoneyIsEnough(model.MoneyType, _price))
         {
+            
             C0803_tagCBuyItemList buyShop = new C0803_tagCBuyItemList();
             buyShop.NPCID = 0;
             buyShop.BuyItemIndex = (ushort)model.ID;
             buyShop.BuyCount = (ushort)count;
-            GameNetSystem.Instance.SendInfo(buyShop);
-
+            GameNetSystem.Instance.SendInfo(buyShop);        
         }
         else
         {
@@ -984,6 +985,7 @@
     {
         DebugEx.Log("GetBuyResult");
         StoreConfig tagStore = StoreConfig.Get((int)result.ItemIndex);
+       
         if (tagStore != null)
         {
             ItemConfig chinModel = ItemConfig.Get(GetReplaceId(tagStore.ID, tagStore.ItemID));
@@ -1697,7 +1699,7 @@
 
 public enum StoreFunc
 {
-    WeekStore = 1, //1锛氭瘡鍛ㄩ檺璐�
+    DayStore = 1, //1锛氭瘡澶╅檺璐�
     CommonStore = 2, //2锛氬父鐢ㄩ亾鍏�
     GrowStrongerStore = 3, //3锛氭垚闀垮彉寮�
     BindStore = 4,  //4锛氱粦鐜夊晢鍩�

--
Gitblit v1.8.0