yx积分重置 exp显示
parent
fb75fd38c6
commit
b99f3dffce
|
@ -126,8 +126,14 @@ public class CrossYuxulundaoGetInfoHandler extends BaseHandler<ArenaInfoProto.Cr
|
|||
CommonProto.Drop.Builder drop = ItemUtil.dropPer(user, serverRankConfig.getFirstReward(), BIReason.CROSS_YUXULUNDAO_DAILYREWARD);
|
||||
builder.addDrop(drop);
|
||||
}
|
||||
csPlayer.setCrossYuxulundaoNewScore(SMServerRankConfig.serverRankConfig.get(resetId).getScoreLow() == 0? 1000:SMServerRankConfig.serverRankConfig.get(resetId).getScoreLow());
|
||||
csPlayer.setCrossYuxulundaoOldScore(SMServerRankConfig.serverRankConfig.get(resetId).getScoreLow()== 0? 1000:SMServerRankConfig.serverRankConfig.get(resetId).getScoreLow());
|
||||
if( SMServerRankConfig.serverRankConfig.get(resetId).getScoreLow() == 0){
|
||||
newSeasonBefore = csPlayer.getCrossYuxulundaoNewScore();
|
||||
csPlayer.setCrossYuxulundaoNewScore(1000);
|
||||
csPlayer.setCrossYuxulundaoOldScore(1000);
|
||||
}else{
|
||||
csPlayer.setCrossYuxulundaoNewScore(SMServerRankConfig.serverRankConfig.get(resetId).getScoreLow());
|
||||
csPlayer.setCrossYuxulundaoOldScore(SMServerRankConfig.serverRankConfig.get(resetId).getScoreLow());
|
||||
}
|
||||
isNeedUpdate = true;
|
||||
}
|
||||
arenaManager.setCrossMatchTimes(0);
|
||||
|
|
|
@ -102,7 +102,7 @@ public class PlayerLogic {
|
|||
|
||||
|
||||
static class InnerClass{
|
||||
public final static PlayerLogic instance = new PlayerLogic();
|
||||
public final static PlayerLogic instance = new PlayerLogic();
|
||||
}
|
||||
|
||||
public void saveNewPlayerPoint(ISession session,int type,int id) throws Exception {
|
||||
|
@ -1177,10 +1177,6 @@ public class PlayerLogic {
|
|||
for(Map.Entry<Integer,Long> item : heroNotBufferAttribute.entrySet()){
|
||||
int id = item.getKey();
|
||||
int values = item.getValue().intValue();
|
||||
if (id == 53 || id == 57 || id == 58){
|
||||
//命中几率 治疗加成 受疗加成
|
||||
values = item.getValue().intValue()-10000;
|
||||
}
|
||||
builder.addSpecialEffects(CommonProto.SpecialEffects.newBuilder().setPropertyId(id).setPropertyValue(values).build());
|
||||
}
|
||||
Map<String, com.ljsd.jieling.thrift.idl.PropertyItem> jewels = crossArenaManager.getJewels();
|
||||
|
@ -1225,9 +1221,9 @@ public class PlayerLogic {
|
|||
for(Map.Entry<Integer,Long> item : heroNotBufferAttribute.entrySet()){
|
||||
int id = item.getKey();
|
||||
int values = item.getValue().intValue();
|
||||
if (id == 53 || id == 57 || id == 58){
|
||||
/* if (id == 53 || id == 57 || id == 58){
|
||||
values = item.getValue().intValue()-10000;
|
||||
}
|
||||
}*/
|
||||
builder.addSpecialEffects(CommonProto.SpecialEffects.newBuilder().setPropertyId(id).setPropertyValue(values).build());
|
||||
}
|
||||
|
||||
|
@ -1553,7 +1549,7 @@ public class PlayerLogic {
|
|||
}
|
||||
return levelUpdateCount;
|
||||
}
|
||||
// private boolean priviliageCheck(User user, int privilageTypeId, int checkNum,boolean isUpdate){
|
||||
// private boolean priviliageCheck(User user, int privilageTypeId, int checkNum,boolean isUpdate){
|
||||
// Map<Integer, VipInfo> vipInfo = user.getPlayerInfoManager().getVipInfo();
|
||||
// if(privilageTypeId == 0){
|
||||
// return true;
|
||||
|
|
Loading…
Reference in New Issue