Task【ID1005747】【猎妖之路优化】猎妖之路优化内容 奖励改成奖励组
parent
b0ad311440
commit
c53b6056ed
|
@ -199,9 +199,7 @@ public class EndExpeditionBattleRequest extends BaseHandler<Expedition.EndExpedi
|
|||
if (sExpeditionFloorConfig == null) {
|
||||
throw new ErrorCodeException(ErrorCode.CFG_NULL);
|
||||
}
|
||||
CommonProto.Drop.Builder drop = ItemUtil.drop(user, sExpeditionFloorConfig.getReward(), BIReason.EXPEDITION_DROP_REWARD);
|
||||
|
||||
|
||||
CommonProto.Drop.Builder drop = ItemUtil.drop(user, sExpeditionFloorConfig.getReward(),1,0,BIReason.EXPEDITION_DROP_REWARD);
|
||||
Expedition.EndExpeditionBattleResponse.Builder response = Expedition.EndExpeditionBattleResponse.newBuilder();
|
||||
response.setResult(resultCode);
|
||||
response.setDrop(drop);
|
||||
|
|
|
@ -3,7 +3,6 @@ package config;
|
|||
import manager.STableManager;
|
||||
import manager.Table;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Table(name ="ExpeditionFloorConfig")
|
||||
|
@ -15,19 +14,18 @@ public class SExpeditionFloorConfig implements BaseConfig {
|
|||
|
||||
private int[][] nodeType;
|
||||
|
||||
private int[][] randomNode;
|
||||
private int[][] randomNode;
|
||||
|
||||
private int[][] holyProbability;
|
||||
|
||||
private int[][] reward;
|
||||
private int[] reward;
|
||||
|
||||
private int[][] treasureBox;
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -43,11 +41,15 @@ public class SExpeditionFloorConfig implements BaseConfig {
|
|||
return nodeType;
|
||||
}
|
||||
|
||||
public int[][] getRandomNode() {
|
||||
return randomNode;
|
||||
}
|
||||
|
||||
public int[][] getHolyProbability() {
|
||||
return holyProbability;
|
||||
}
|
||||
|
||||
public int[][] getReward() {
|
||||
public int[] getReward() {
|
||||
return reward;
|
||||
}
|
||||
|
||||
|
@ -55,11 +57,5 @@ public class SExpeditionFloorConfig implements BaseConfig {
|
|||
return treasureBox;
|
||||
}
|
||||
|
||||
public int[][] getRandomNode() {
|
||||
return randomNode;
|
||||
}
|
||||
|
||||
public void setRandomNode(int[][] randomNode) {
|
||||
this.randomNode = randomNode;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue