From feeceecc1252fd472a7027fc2049cd95816ea162 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 19 四月 2019 17:32:31 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Pet/PetModel.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/Pet/PetModel.cs b/System/Pet/PetModel.cs
index 0fc2050..dd0c763 100644
--- a/System/Pet/PetModel.cs
+++ b/System/Pet/PetModel.cs
@@ -257,7 +257,7 @@
int type = 0;
foreach (var key in _TagPetItem.Keys)
{
- if (_TagPetItem[key] >= AttrFruitConfig.Get(key).MaxUseCnt)
+ if (_TagPetItem[key] >= AttrFruitConfig.Get(key).basicUseLimit)
{
continue;
}
@@ -778,7 +778,7 @@
}
return iSHint;
case PetEnum.PetStone:
- int _maxuse = AttrFruitConfig.Get(id).MaxUseCnt;
+ int _maxuse = AttrFruitConfig.Get(id).basicUseLimit;
if (_TagPetItem.ContainsKey(id))
{
if (_maxuse > _TagPetItem[id])
--
Gitblit v1.8.0