1
This commit is contained in:
parent
049b75a767
commit
ede20b711c
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user