主线奖励改直接掉落2

master_zzxx
grimm 2024-06-03 14:44:04 +08:00
parent cbdf6c9898
commit fd80ebe6d3
2 changed files with 4 additions and 4 deletions

View File

@ -229,10 +229,10 @@ public class ItemUtil {
/**
*
*/
public static CommonProto.Drop.Builder dropToPrivilege(User user, int[] dropIds, int reason) throws Exception {
public static CommonProto.Drop.Builder dropToPrivilege(User user, int[][] dropIds, int reason) throws Exception {
CommonProto.Drop.Builder dropBuilder = CommonProto.Drop.newBuilder();
ItemMap itemObj = new ItemMap();
selectItemArr(new int[][]{dropIds},itemObj);
selectItemArr(dropIds,itemObj);
// combineRewardDropGroup(user, dropIds, 1,itemObj);
privilegeAddToMainLevelChallenge(user, itemObj);
mapToAdd(user,itemObj,dropBuilder,reason);

View File

@ -21,7 +21,7 @@ public class SMainLevelConfig implements BaseConfig {
private int monsterGroup;
private int[] reward;
private int[][] reward;
private int[] randomRewardMin;
@ -113,7 +113,7 @@ public class SMainLevelConfig implements BaseConfig {
return monsterGroup;
}
public int[] getReward() {
public int[][] getReward() {
return reward;
}