From c5165dad5c211b43a55d527f203354216e736814 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 21 九月 2018 15:47:35 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Strengthening/GodBeastAttributes.cs | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/System/Strengthening/GodBeastAttributes.cs b/System/Strengthening/GodBeastAttributes.cs
index fb9f986..03cf1f7 100644
--- a/System/Strengthening/GodBeastAttributes.cs
+++ b/System/Strengthening/GodBeastAttributes.cs
@@ -76,6 +76,7 @@
{
GodBeast_Number = 0;
GodBeast_Part = 0;
+
GodBeastReinforcementWin.ChooseToModify -= ChooseToModify;
godBeastModel.AbsorbEvent -= AbsorbEvent;
}
@@ -91,7 +92,11 @@
private void OnClickToggle(bool Isbool)
{
- AttributeAssignment();
+ if (GodBeastNumber != 0 && GodBeastPart != 0)
+ {
+ AttributeAssignment();
+ }
+
}
private void OnClickStrengthBtn()
{
@@ -163,6 +168,8 @@
}
else
{
+ GodBeastNumber = 0;
+ GodBeastPart = 0;
m_ItemCell.gameObject.SetActive(false);
m_ExpSlider.stage = 0;
m_ExpSlider.delay = 0f;
--
Gitblit v1.8.0