This commit is contained in:
aozhiwei 2022-09-21 17:32:22 +08:00
parent 049b75a767
commit ede20b711c

View File

@ -98,6 +98,7 @@ class Fragment {
const totalHeroNum = this.getYesterDayHeroNum();
const totalGunNum = this.getYesterDayGunNum();
const hour = Math.floor(hourSeconds / 3600);
const remainHour = Math.min(24, Math.max(0, 24 - hour));
const normalHeroNum = Math.floor(totalHeroNum * 0.06 * 8);
const specHeroNum = Math.floor(totalHeroNum * 0.02);
@ -128,9 +129,20 @@ class Fragment {
break;
default:
{
return;
}
break;
}
}//end switch
constant.ALL_HERO_FRAGMENT.forEach(
(element) => {
if (element == constant.SPEC_HERO_FRAGMENT) {
} else {
}
}
);
}
);//end forEach
}