212121
This commit is contained in:
@@ -233,7 +233,9 @@ public class FightController : ControllerBase
|
|||||||
otAttr = await _attrService.GetUserAttrModel(fight.mainId, fight.scene);
|
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()
|
FightResultModel fightResult = new FightResultModel()
|
||||||
{
|
{
|
||||||
@@ -315,8 +317,7 @@ public class FightController : ControllerBase
|
|||||||
|
|
||||||
//获取个人药品栏
|
//获取个人药品栏
|
||||||
var myDrug = await _attrService.GetUserDrug(userId);
|
var myDrug = await _attrService.GetUserDrug(userId);
|
||||||
//获取个人负面
|
|
||||||
var myLoad = await _attrService.GetUserLoadState(userId);
|
|
||||||
|
|
||||||
int exitCopper = otAttr.lev * 5; //退出战斗需要的铜贝
|
int exitCopper = otAttr.lev * 5; //退出战斗需要的铜贝
|
||||||
string fightKey = await _fightService.SetFightLock(userId);
|
string fightKey = await _fightService.SetFightLock(userId);
|
||||||
|
|||||||
Reference in New Issue
Block a user