活动修改&新手结束
parent
0d5dd5811f
commit
40d339793c
|
@ -120,8 +120,8 @@ public class ActivityLogic implements IEventHandler{
|
|||
if (time == ActivityType.OPEN_TYPE_ROLE) {
|
||||
continue;
|
||||
}
|
||||
long startTime = sGlobalActivity.getStartTimeLong();
|
||||
long endTime =sGlobalActivity.getEndTimeLong();
|
||||
long startTime = ToolsUtil.getTimeLong(sGlobalActivity.getStartTimeLong(),sGlobalActivity.getEndTimeLong(),sGlobalActivity.getTime(),0, 1);
|
||||
long endTime = ToolsUtil.getTimeLong(sGlobalActivity.getStartTimeLong(),sGlobalActivity.getEndTimeLong(),sGlobalActivity.getTime(),0, 2);
|
||||
if (now < startTime) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -36,6 +36,9 @@ public class FightMainEventHandler implements IEventHandler{
|
|||
|
||||
int uid = fightMainEvent.getUid();
|
||||
User user = UserManager.getUser(uid);
|
||||
if(fightId == 1151){
|
||||
user.getPlayerInfoManager().updateGuidePoint(1,-1);
|
||||
}
|
||||
//检测更新vip是否有新开
|
||||
user.getPlayerInfoManager().updateVipInfo(GlobalsDef.MAIN_LEVEL_UNLOCK_PRIVILEGE,10_000_000 * (fightId % 10) + fightId);
|
||||
for(SGlobalActivity sGlobalActivity : SGlobalActivity.getsGlobalActivityMap().values()){
|
||||
|
|
Loading…
Reference in New Issue