This commit is contained in:
Putoo
2026-07-18 13:29:13 +08:00
parent 37eb063f33
commit 2c07c6c3f1

View File

@@ -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);