1
This commit is contained in:
parent
049b75a767
commit
ede20b711c
@ -98,6 +98,7 @@ class Fragment {
|
|||||||
const totalHeroNum = this.getYesterDayHeroNum();
|
const totalHeroNum = this.getYesterDayHeroNum();
|
||||||
const totalGunNum = this.getYesterDayGunNum();
|
const totalGunNum = this.getYesterDayGunNum();
|
||||||
const hour = Math.floor(hourSeconds / 3600);
|
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 normalHeroNum = Math.floor(totalHeroNum * 0.06 * 8);
|
||||||
const specHeroNum = Math.floor(totalHeroNum * 0.02);
|
const specHeroNum = Math.floor(totalHeroNum * 0.02);
|
||||||
@ -128,10 +129,21 @@ class Fragment {
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
}//end switch
|
||||||
|
constant.ALL_HERO_FRAGMENT.forEach(
|
||||||
|
(element) => {
|
||||||
|
if (element == constant.SPEC_HERO_FRAGMENT) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
}
|
||||||
);//end forEach
|
);//end forEach
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user