From 0bd288a8c79c9966e4114b93dc8aad268d64a6f9 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 11 十二月 2024 15:33:35 +0800
Subject: [PATCH] 10343 英文版本1折后的充值界面表现

---
 Core/GameEngine/Model/Config/CTGConfig.cs |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/Core/GameEngine/Model/Config/CTGConfig.cs b/Core/GameEngine/Model/Config/CTGConfig.cs
index 897729b..23dcf02 100644
--- a/Core/GameEngine/Model/Config/CTGConfig.cs
+++ b/Core/GameEngine/Model/Config/CTGConfig.cs
@@ -28,9 +28,25 @@
 	public readonly int[][] SelectItemInfo;
 	public readonly string Icon;
 	public readonly int PayType;
-	public readonly int Percentage;
+	public readonly int m_Percentage;
 
-	public CTGConfig()
+    //鐗规畩澶勭悊 鍘熶环鍜�1鎶樼殑鍙樺寲
+    public int Percentage
+    {
+        get
+        {
+            if (PlayerDatas.Instance.baseData.IsActive90Off)
+            {
+                return m_Percentage*10;
+            }
+            else
+            {
+                return m_Percentage;
+            }
+        }
+    }
+
+    public CTGConfig()
     {
     }
 
@@ -70,7 +86,7 @@
 
 			int.TryParse(tables[14],out PayType); 
 
-			int.TryParse(tables[15],out Percentage); 
+			int.TryParse(tables[15],out m_Percentage); 
         }
         catch (Exception ex)
         {

--
Gitblit v1.8.0