公会副本排行奖励
parent
78953021c6
commit
e0e89d377e
|
@ -46,7 +46,7 @@ public class RewardStaticConfig extends AbstractClassStaticConfig {
|
|||
|
||||
int max = value.getMaxRank();
|
||||
|
||||
for(int i = min;i<=max;i++){
|
||||
for(int i = max;i<=min;i++){
|
||||
guildChallengeConfigMapTemp.get(value.getGuildCheckpoint()).put(i,value);
|
||||
}
|
||||
|
||||
|
|
|
@ -139,6 +139,9 @@ public class GuildChallengeLogic {
|
|||
long damage = 0;
|
||||
GuildInfo guildInfo;
|
||||
SGuildCheckpointConfig config = STableManager.getConfig(SGuildCheckpointConfig.class).get(bossId);
|
||||
if(config==null){
|
||||
throw new ErrorCodeException("配置不存在"+bossId);
|
||||
}
|
||||
int[] privilege = config.getPrivilege();
|
||||
boolean check = PlayerLogic.getInstance().check(user, privilege[0], 1);
|
||||
if(!check){
|
||||
|
@ -241,7 +244,7 @@ public class GuildChallengeLogic {
|
|||
if(guildMyInfo.getGuildChallengeDamage()==0){
|
||||
return;
|
||||
}
|
||||
if(guildMyInfo.getRefreshedBoss().contains(bossId)){
|
||||
if(guildMyInfo.getRefreshedBoss().contains(bossId)) {
|
||||
return;
|
||||
}
|
||||
int[] refreshPrivilege = config.getPrivilege();
|
||||
|
|
Loading…
Reference in New Issue