公会boss伤害超上限

back_recharge
duhui 2021-12-10 16:44:38 +08:00
parent 1af8836d72
commit 8d7394d1ac
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ public class GuildMyInfo extends MongoBase {
private int joinTime;//加入公会时间 private int joinTime;//加入公会时间
//公会副本 //公会副本
private int guildChallengeDamage; private long guildChallengeDamage;
private int lastMonsterId; private int lastMonsterId;
//已经使用过刷新的boss //已经使用过刷新的boss
private Set<Integer> refreshedBoss = new HashSet<>(); private Set<Integer> refreshedBoss = new HashSet<>();
@ -300,11 +300,11 @@ public class GuildMyInfo extends MongoBase {
updateString("joinTime",joinTime); updateString("joinTime",joinTime);
} }
public int getGuildChallengeDamage() { public long getGuildChallengeDamage() {
return guildChallengeDamage; return guildChallengeDamage;
} }
public void setGuildChallengeDamage(int guildChallengeDamage) { public void setGuildChallengeDamage(long guildChallengeDamage) {
this.guildChallengeDamage = guildChallengeDamage; this.guildChallengeDamage = guildChallengeDamage;
updateString("guildChallengeDamage",guildChallengeDamage); updateString("guildChallengeDamage",guildChallengeDamage);

View File

@ -205,7 +205,7 @@ public class GuildChallengeLogic {
} }
FightResult fightResult = FightDispatcher.dispatcher(pveFightEvent); FightResult fightResult = FightDispatcher.dispatcher(pveFightEvent);
fightData = fightResult.getFightData(); fightData = fightResult.getFightData();
int damageInt = (int)fightResult.getDuration(); long damageInt = fightResult.getDuration();
if(fightResult.getResult()==1) { if(fightResult.getResult()==1) {
if(guildInfo.getBossHpRemain()!=-1){ if(guildInfo.getBossHpRemain()!=-1){