送10万抽优化
parent
7ed038d124
commit
06fe3e42f5
|
@ -92,10 +92,10 @@ public class GiveOneHundredThousandActivity extends AbstractActivity {
|
||||||
int soFarWentDays = TimeUtils.getSoFarWentDays(mission.getCreatTime(), TimeUtils.now())+1;
|
int soFarWentDays = TimeUtils.getSoFarWentDays(mission.getCreatTime(), TimeUtils.now())+1;
|
||||||
int day = config.getDay();
|
int day = config.getDay();
|
||||||
if (soFarWentDays < day){
|
if (soFarWentDays < day){
|
||||||
return 3;
|
return 0;
|
||||||
}
|
}
|
||||||
if (soFarWentDays > day){
|
if (soFarWentDays > day){
|
||||||
return 0;
|
return 3;
|
||||||
}
|
}
|
||||||
int time = user.getPlayerInfoManager().getDayOfOnlineTime();
|
int time = user.getPlayerInfoManager().getDayOfOnlineTime();
|
||||||
if (time >= config.getTime()){
|
if (time >= config.getTime()){
|
||||||
|
|
Loading…
Reference in New Issue