From 39001a600fcae2bcf27c225df8752d75fb92fef4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 11:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/Config/Configs/PlayerLVConfig.cs | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/Main/Config/Configs/PlayerLVConfig.cs b/Main/Config/Configs/PlayerLVConfig.cs
index 788d647..da8a466 100644
--- a/Main/Config/Configs/PlayerLVConfig.cs
+++ b/Main/Config/Configs/PlayerLVConfig.cs
@@ -1,20 +1,26 @@
锘�//--------------------------------------------------------
// [Author]: YYL
-// [ Date ]: Friday, June 27, 2025
+// [ Date ]: 2025骞�8鏈�16鏃�
//--------------------------------------------------------
using System.Collections.Generic;
-using System.IO;
-using System.Threading;
using System;
using UnityEngine;
using LitJson;
public partial class PlayerLVConfig : ConfigBase<int, PlayerLVConfig>
{
+ static PlayerLVConfig()
+ {
+ // 璁块棶杩囬潤鎬佹瀯閫犲嚱鏁�
+ visit = true;
+ }
public int LV;
public long EXP;
+ public int MaxHP;
+ public int Atk;
+ public int Def;
public override int LoadKey(string _key)
{
@@ -29,6 +35,12 @@
int.TryParse(tables[0],out LV);
long.TryParse(tables[1],out EXP);
+
+ int.TryParse(tables[2],out MaxHP);
+
+ int.TryParse(tables[3],out Atk);
+
+ int.TryParse(tables[4],out Def);
}
catch (Exception exception)
{
--
Gitblit v1.8.0