From 2c07c6c3f1bad59f91c66d8d85ee2722d74e653d Mon Sep 17 00:00:00 2001 From: Putoo <290555932@qq.com> Date: Sat, 18 Jul 2026 13:29:13 +0800 Subject: [PATCH] 212121 --- Service/Application.Web/Controllers/Pub/FightController.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Service/Application.Web/Controllers/Pub/FightController.cs b/Service/Application.Web/Controllers/Pub/FightController.cs index 3243087..ad665ef 100644 --- a/Service/Application.Web/Controllers/Pub/FightController.cs +++ b/Service/Application.Web/Controllers/Pub/FightController.cs @@ -233,7 +233,9 @@ public class FightController : ControllerBase otAttr = await _attrService.GetUserAttrModel(fight.mainId, fight.scene); } - int cool = FightTool.GetFightCool(myAttr.agility, otAttr.agility); //冷却时间 + //获取个人负面 + var myLoad = await _attrService.GetUserLoadState(userId); + int cool = FightTool.GetFightCool(myAttr.agility, otAttr.agility, myLoad); //冷却时间 FightResultModel fightResult = new FightResultModel() { @@ -315,8 +317,7 @@ public class FightController : ControllerBase //获取个人药品栏 var myDrug = await _attrService.GetUserDrug(userId); - //获取个人负面 - var myLoad = await _attrService.GetUserLoadState(userId); + int exitCopper = otAttr.lev * 5; //退出战斗需要的铜贝 string fightKey = await _fightService.SetFightLock(userId);