伤害副本优化
parent
a6841f2f9d
commit
6048b49a87
|
@ -204,7 +204,7 @@ public class ChallengeLogic {
|
|||
|
||||
PVEFightEvent pveFightEvent = new PVEFightEvent(user.getId(), teamId, 20, "", fightType, stage.getMonsterGroup(), 3);
|
||||
FightResult fightResult = FightDispatcher.dispatcher(pveFightEvent);
|
||||
builder.setResult(fightResult.getResult());
|
||||
builder.setResult(0);
|
||||
|
||||
int round = fightResult.getCurRound();
|
||||
int victoryValue = stage.getReward1()[stage.getReward1().length - 1][0];
|
||||
|
@ -226,6 +226,7 @@ public class ChallengeLogic {
|
|||
// 满足首通条件
|
||||
if (fightResult.getResult() == 1 && round <= victoryValue){
|
||||
user.getPlayerInfoManager().setTreasureReplica(id);
|
||||
builder.setResult(1);
|
||||
win = 2;
|
||||
}
|
||||
comDropMap = dropMap(stage, type, win, round, builder);
|
||||
|
|
Loading…
Reference in New Issue