From eec98b84cf1a36de73e4c5eeb71011e4634accdb Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 06 一月 2026 20:36:11 +0800
Subject: [PATCH] 0312 同步战力公式
---
Main/System/Main/FightPowerManager.cs | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/Main/System/Main/FightPowerManager.cs b/Main/System/Main/FightPowerManager.cs
index 81c154d..4fee9bf 100644
--- a/Main/System/Main/FightPowerManager.cs
+++ b/Main/System/Main/FightPowerManager.cs
@@ -90,6 +90,12 @@
private const string CURE_PER_DEF_RATIO = "CurePerDefRatio";
private const string PVP_DAM_PER_RATIO = "PVPDamPerRatio";
private const string PVP_DAM_PER_DEF_RATIO = "PVPDamPerDefRatio";
+ private const string GUANCHUAN_RATIO = "GuanchuanRatio";
+ private const string GUANCHUAN_DEF_RATIO = "GuanchuanDefRatio";
+ private const string ZHAOJIA_RATIO = "ZhaojiaRatio";
+ private const string ZHAOJIA_DEF_RATIO = "ZhaojiaDefRatio";
+
+
private const string PLAYER_LV = "PlayerLV";
private const string OFFICIAL_LV = "OfficialLV";
private const string SKILL_POWER = "SkillPower";
@@ -535,6 +541,11 @@
fightPowerVariables[CURE_PER_DEF_RATIO] = fightPowerRatioConfig.CurePerDefRatio;
fightPowerVariables[PVP_DAM_PER_RATIO] = fightPowerRatioConfig.PVPDamPerRatio;
fightPowerVariables[PVP_DAM_PER_DEF_RATIO] = fightPowerRatioConfig.PVPDamPerDefRatio;
+ fightPowerVariables[GUANCHUAN_RATIO] = fightPowerRatioConfig.GuanchuanRatio;
+ fightPowerVariables[GUANCHUAN_DEF_RATIO] = fightPowerRatioConfig.GuanchuanDefRatio;
+ fightPowerVariables[ZHAOJIA_RATIO] = fightPowerRatioConfig.ZhaojiaRatio;
+ fightPowerVariables[ZHAOJIA_DEF_RATIO] = fightPowerRatioConfig.ZhaojiaDefRatio;
+
long fightPower = (long)FightPowerFormula.GetFightPower(fightPowerVariables);
#if UNITY_EDITOR
--
Gitblit v1.8.0