挂机时常特权增加
parent
87a619edf2
commit
3d1aeb4e0f
|
@ -43,5 +43,6 @@ public interface VipPrivilegeType {
|
|||
int UNLOCK_GUILD_BOSS_SWEEP = 1002; //公会boss扫荡
|
||||
int EXPEDITION_RELIVE = 1003; //猎妖之路免费复活次数
|
||||
int SIGN_AGAIN = 1005; //每日签到充值后再领一次
|
||||
int ADVENTURE_ADD_TIME = 2002;//挂机时常增加
|
||||
|
||||
}
|
||||
|
|
|
@ -910,7 +910,8 @@ public class CombatLogic {
|
|||
Map<Integer, Integer> fightStateInfo = user.getMainLevelManager().getFightStateInfo();
|
||||
SGameSetting gameSetting = STableManager.getFigureConfig(CommonStaticConfig.class).getGameSetting();
|
||||
int adventureRefresh = gameSetting.getAdventureRefresh();
|
||||
int adventureOffline = gameSetting.getAdventureOffline()*60*60/adventureRefresh;
|
||||
int vipTimeAdd = PlayerLogic.getInstance().getMaxCountByPrivilegeType(user, VipPrivilegeType.ADVENTURE_ADD_TIME);
|
||||
int adventureOffline = (gameSetting.getAdventureOffline()+vipTimeAdd)*60*60/adventureRefresh;
|
||||
Map<Integer, Integer> baseItemMap = new HashMap<>();
|
||||
Map<Integer, Integer> baseCardMap = new HashMap<>();
|
||||
Map<Integer, Integer> baseEquipMap = new HashMap<>();
|
||||
|
|
Loading…
Reference in New Issue